<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic do .net &amp;quot;programs&amp;quot; act like they run inside acad? as opposed to VB6... in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436622#M83747</link>
    <description>lisp and arx's run "inside" acad.&lt;BR /&gt;
They both create command line commands and have global variables that can be set and used later by a given session.&lt;BR /&gt;
They both treat processes as "children" to the parent.  This is good.&lt;BR /&gt;
&lt;BR /&gt;
The one thing I do not like about a VB6 app is that it runs "outside" acad.  You have to communicate with it through&lt;BR /&gt;
lisp or VBA, and dealing with tracking what dll is hooked to what session is something I have not mastered.&lt;BR /&gt;
&lt;BR /&gt;
It would spur me on to learn vb.net even more if vb.net acts like it runs "inside" acad.&lt;BR /&gt;
I am getting clues that it does, but have not experimented with modeless forms and all the fancy things that need to be&lt;BR /&gt;
tracked per session.&lt;BR /&gt;
&lt;BR /&gt;
Any comments on if items written in .net can be classified as running "inside" acad?&lt;BR /&gt;
&lt;BR /&gt;
James Maeding&lt;BR /&gt;
Civil Engineer and Programmer&lt;BR /&gt;
jmaeding - athunsaker - com</description>
    <pubDate>Tue, 20 Sep 2005 00:50:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-09-20T00:50:59Z</dc:date>
    <item>
      <title>do .net "programs" act like they run inside acad? as opposed to VB6...</title>
      <link>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436622#M83747</link>
      <description>lisp and arx's run "inside" acad.&lt;BR /&gt;
They both create command line commands and have global variables that can be set and used later by a given session.&lt;BR /&gt;
They both treat processes as "children" to the parent.  This is good.&lt;BR /&gt;
&lt;BR /&gt;
The one thing I do not like about a VB6 app is that it runs "outside" acad.  You have to communicate with it through&lt;BR /&gt;
lisp or VBA, and dealing with tracking what dll is hooked to what session is something I have not mastered.&lt;BR /&gt;
&lt;BR /&gt;
It would spur me on to learn vb.net even more if vb.net acts like it runs "inside" acad.&lt;BR /&gt;
I am getting clues that it does, but have not experimented with modeless forms and all the fancy things that need to be&lt;BR /&gt;
tracked per session.&lt;BR /&gt;
&lt;BR /&gt;
Any comments on if items written in .net can be classified as running "inside" acad?&lt;BR /&gt;
&lt;BR /&gt;
James Maeding&lt;BR /&gt;
Civil Engineer and Programmer&lt;BR /&gt;
jmaeding - athunsaker - com</description>
      <pubDate>Tue, 20 Sep 2005 00:50:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436622#M83747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-20T00:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: do .net "programs" act like they run inside acad? as opposed to VB6...</title>
      <link>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436623#M83748</link>
      <description>Yes, you can load .NET assemblies in AutoCAD with the NETLOAD command.&lt;BR /&gt;
&lt;BR /&gt;
As you're finding, the .NET API is more complicated than COM/ActiveX, but &lt;BR /&gt;
easier than using native ObjectARX from C++.  For the most part, nearly &lt;BR /&gt;
anything (custom objects being the most notable exception) that can be done &lt;BR /&gt;
from ObjectARX/C++ can now be done from VB.NET/C# or any other .NET &lt;BR /&gt;
language.&lt;BR /&gt;
&lt;BR /&gt;
   Dan&lt;BR /&gt;
&lt;BR /&gt;
"James Maeding" &lt;JMAEDING...HUNSAKER...COM&gt; wrote in message &lt;BR /&gt;
news:4960990@discussion.autodesk.com...&lt;BR /&gt;
lisp and arx's run "inside" acad.&lt;BR /&gt;
They both create command line commands and have global variables that can be &lt;BR /&gt;
set and used later by a given session.&lt;BR /&gt;
They both treat processes as "children" to the parent.  This is good.&lt;BR /&gt;
&lt;BR /&gt;
The one thing I do not like about a VB6 app is that it runs "outside" acad. &lt;BR /&gt;
You have to communicate with it through&lt;BR /&gt;
lisp or VBA, and dealing with tracking what dll is hooked to what session is &lt;BR /&gt;
something I have not mastered.&lt;BR /&gt;
&lt;BR /&gt;
It would spur me on to learn vb.net even more if vb.net acts like it runs &lt;BR /&gt;
"inside" acad.&lt;BR /&gt;
I am getting clues that it does, but have not experimented with modeless &lt;BR /&gt;
forms and all the fancy things that need to be&lt;BR /&gt;
tracked per session.&lt;BR /&gt;
&lt;BR /&gt;
Any comments on if items written in .net can be classified as running &lt;BR /&gt;
"inside" acad?&lt;BR /&gt;
&lt;BR /&gt;
James Maeding&lt;BR /&gt;
Civil Engineer and Programmer&lt;BR /&gt;
jmaeding - athunsaker - com&lt;/JMAEDING...HUNSAKER...COM&gt;</description>
      <pubDate>Tue, 20 Sep 2005 01:07:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436623#M83748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-20T01:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: do .net "programs" act like they run inside acad? as opposed to VB6...</title>
      <link>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436624#M83749</link>
      <description>Yes, you can load .NET assemblies in AutoCAD with the NETLOAD command.&lt;BR /&gt;
&lt;BR /&gt;
As you're finding, the .NET API is more complicated than COM/ActiveX, but&lt;BR /&gt;
easier than using native ObjectARX from C++.  For the most part, nearly&lt;BR /&gt;
anything (custom objects being the most notable exception) that can be done&lt;BR /&gt;
from ObjectARX/C++ can now be done from VB.NET/C# or any other .NET&lt;BR /&gt;
language.&lt;BR /&gt;
&lt;BR /&gt;
   Dan&lt;BR /&gt;
&lt;BR /&gt;
"James Maeding" &lt;JMAEDING...HUNSAKER...COM&gt; wrote in message &lt;BR /&gt;
news:4960990@discussion.autodesk.com...&lt;BR /&gt;
lisp and arx's run "inside" acad.&lt;BR /&gt;
They both create command line commands and have global variables that can be &lt;BR /&gt;
set and used later by a given session.&lt;BR /&gt;
They both treat processes as "children" to the parent.  This is good.&lt;BR /&gt;
&lt;BR /&gt;
The one thing I do not like about a VB6 app is that it runs "outside" acad. &lt;BR /&gt;
You have to communicate with it through&lt;BR /&gt;
lisp or VBA, and dealing with tracking what dll is hooked to what session is &lt;BR /&gt;
something I have not mastered.&lt;BR /&gt;
&lt;BR /&gt;
It would spur me on to learn vb.net even more if vb.net acts like it runs &lt;BR /&gt;
"inside" acad.&lt;BR /&gt;
I am getting clues that it does, but have not experimented with modeless &lt;BR /&gt;
forms and all the fancy things that need to be&lt;BR /&gt;
tracked per session.&lt;BR /&gt;
&lt;BR /&gt;
Any comments on if items written in .net can be classified as running &lt;BR /&gt;
"inside" acad?&lt;BR /&gt;
&lt;BR /&gt;
James Maeding&lt;BR /&gt;
Civil Engineer and Programmer&lt;BR /&gt;
jmaeding - athunsaker - com&lt;/JMAEDING...HUNSAKER...COM&gt;</description>
      <pubDate>Tue, 20 Sep 2005 01:42:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436624#M83749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-20T01:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: do .net "programs" act like they run inside acad? as opposed to VB6...</title>
      <link>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436625#M83750</link>
      <description>When kalking about .NET "program". or rather .NET developing tool (#C, &lt;BR /&gt;
VB.NET) for AutoCAD, there are two rather different topics: Acad automation &lt;BR /&gt;
and ObjectARX .NET API (or managed API).&lt;BR /&gt;
&lt;BR /&gt;
In this NG, we see posts on both topics.&lt;BR /&gt;
&lt;BR /&gt;
When you automate Acad, .NET tool (#C, VB.NET) acts the same way as you use &lt;BR /&gt;
VB5/6, via COM API. With VB6 "program", it is not necessarily running &lt;BR /&gt;
outside Acad. ActiveXDLL made in VB5/6 can be used by VBA, LISP or eveb ARX.&lt;BR /&gt;
&lt;BR /&gt;
Actually, so far, there is no pure .NET thing that run inside Acad. It is &lt;BR /&gt;
ObjectARX .NET Interop, at the bottom, it is ObjectARX does the work. the &lt;BR /&gt;
.NET ObjectARX API started from Acad2005, and only some of ObjectARX &lt;BR /&gt;
functionalities are available in .NET API and thtere is still quite some &lt;BR /&gt;
gliches. If you want full ObjectARX strength, you still have to use Visual &lt;BR /&gt;
C++ (unmanaged).&lt;BR /&gt;
&lt;BR /&gt;
Since .NET ObjectARX API is not full ObjectARX, consider the complexity of &lt;BR /&gt;
using it, for most my Acad developing, I still use VBA as the first choice &lt;BR /&gt;
and only look at Object .NET API if something thta VBA does not provide.&lt;BR /&gt;
&lt;BR /&gt;
"James Maeding" &lt;JMAEDING...HUNSAKER...COM&gt; wrote in message &lt;BR /&gt;
news:4960990@discussion.autodesk.com...&lt;BR /&gt;
lisp and arx's run "inside" acad.&lt;BR /&gt;
They both create command line commands and have global variables that can be &lt;BR /&gt;
set and used later by a given session.&lt;BR /&gt;
They both treat processes as "children" to the parent.  This is good.&lt;BR /&gt;
&lt;BR /&gt;
The one thing I do not like about a VB6 app is that it runs "outside" acad. &lt;BR /&gt;
You have to communicate with it through&lt;BR /&gt;
lisp or VBA, and dealing with tracking what dll is hooked to what session is &lt;BR /&gt;
something I have not mastered.&lt;BR /&gt;
&lt;BR /&gt;
It would spur me on to learn vb.net even more if vb.net acts like it runs &lt;BR /&gt;
"inside" acad.&lt;BR /&gt;
I am getting clues that it does, but have not experimented with modeless &lt;BR /&gt;
forms and all the fancy things that need to be&lt;BR /&gt;
tracked per session.&lt;BR /&gt;
&lt;BR /&gt;
Any comments on if items written in .net can be classified as running &lt;BR /&gt;
"inside" acad?&lt;BR /&gt;
&lt;BR /&gt;
James Maeding&lt;BR /&gt;
Civil Engineer and Programmer&lt;BR /&gt;
jmaeding - athunsaker - com&lt;/JMAEDING...HUNSAKER...COM&gt;</description>
      <pubDate>Tue, 20 Sep 2005 14:37:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436625#M83750</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-20T14:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: do .net "programs" act like they run inside acad? as opposed to VB6...</title>
      <link>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436626#M83751</link>
      <description>My main goal is to write progs that act like they are part of acad.&lt;BR /&gt;
I need to do both modal and modeless dialogs, and be able to maintain global variables per drawing.&lt;BR /&gt;
I think I need to get into things more before I understand how .net will help that.&lt;BR /&gt;
Already, the fact that it can create a command is promising.&lt;BR /&gt;
thx&lt;BR /&gt;
&lt;BR /&gt;
Norman Yuan &lt;NOTREAL&gt;&lt;BR /&gt;
|&amp;gt;When kalking about .NET "program". or rather .NET developing tool (#C, &lt;BR /&gt;
|&amp;gt;VB.NET) for AutoCAD, there are two rather different topics: Acad automation &lt;BR /&gt;
|&amp;gt;and ObjectARX .NET API (or managed API).&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;In this NG, we see posts on both topics.&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;When you automate Acad, .NET tool (#C, VB.NET) acts the same way as you use &lt;BR /&gt;
|&amp;gt;VB5/6, via COM API. With VB6 "program", it is not necessarily running &lt;BR /&gt;
|&amp;gt;outside Acad. ActiveXDLL made in VB5/6 can be used by VBA, LISP or eveb ARX.&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;Actually, so far, there is no pure .NET thing that run inside Acad. It is &lt;BR /&gt;
|&amp;gt;ObjectARX .NET Interop, at the bottom, it is ObjectARX does the work. the &lt;BR /&gt;
|&amp;gt;.NET ObjectARX API started from Acad2005, and only some of ObjectARX &lt;BR /&gt;
|&amp;gt;functionalities are available in .NET API and thtere is still quite some &lt;BR /&gt;
|&amp;gt;gliches. If you want full ObjectARX strength, you still have to use Visual &lt;BR /&gt;
|&amp;gt;C++ (unmanaged).&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;Since .NET ObjectARX API is not full ObjectARX, consider the complexity of &lt;BR /&gt;
|&amp;gt;using it, for most my Acad developing, I still use VBA as the first choice &lt;BR /&gt;
|&amp;gt;and only look at Object .NET API if something thta VBA does not provide.&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;"James Maeding" &lt;JMAEDING...HUNSAKER...COM&gt; wrote in message &lt;BR /&gt;
|&amp;gt;news:4960990@discussion.autodesk.com...&lt;BR /&gt;
|&amp;gt;lisp and arx's run "inside" acad.&lt;BR /&gt;
|&amp;gt;They both create command line commands and have global variables that can be &lt;BR /&gt;
|&amp;gt;set and used later by a given session.&lt;BR /&gt;
|&amp;gt;They both treat processes as "children" to the parent.  This is good.&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;The one thing I do not like about a VB6 app is that it runs "outside" acad. &lt;BR /&gt;
|&amp;gt;You have to communicate with it through&lt;BR /&gt;
|&amp;gt;lisp or VBA, and dealing with tracking what dll is hooked to what session is &lt;BR /&gt;
|&amp;gt;something I have not mastered.&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;It would spur me on to learn vb.net even more if vb.net acts like it runs &lt;BR /&gt;
|&amp;gt;"inside" acad.&lt;BR /&gt;
|&amp;gt;I am getting clues that it does, but have not experimented with modeless &lt;BR /&gt;
|&amp;gt;forms and all the fancy things that need to be&lt;BR /&gt;
|&amp;gt;tracked per session.&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;Any comments on if items written in .net can be classified as running &lt;BR /&gt;
|&amp;gt;"inside" acad?&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;James Maeding&lt;BR /&gt;
|&amp;gt;Civil Engineer and Programmer&lt;BR /&gt;
|&amp;gt;jmaeding - athunsaker - com&lt;BR /&gt;
&lt;BR /&gt;
James Maeding&lt;BR /&gt;
Civil Engineer and Programmer&lt;BR /&gt;
jmaeding - athunsaker - com&lt;/JMAEDING...HUNSAKER...COM&gt;&lt;/NOTREAL&gt;</description>
      <pubDate>Tue, 20 Sep 2005 16:43:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436626#M83751</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-20T16:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: do .net "programs" act like they run inside acad? as opposed to VB6...</title>
      <link>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436627#M83752</link>
      <description>You can do document level variables very easily. In fact you can even have a class that has both global and document variables. &lt;BR /&gt;
&lt;BR /&gt;
Just mark them as shared for global and leave them alone for shared. &lt;BR /&gt;
&lt;BR /&gt;
Here is an example: &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Public Class VRezFillet&lt;BR /&gt;
&lt;BR /&gt;
    Private m_filletCount As Integer&lt;BR /&gt;
    Private Shared m_totalCount As Integer = 0&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
    Public Sub New()&lt;BR /&gt;
        m_filletCount = 0&lt;BR /&gt;
    End Sub&lt;BR /&gt;
&lt;BR /&gt;
    &lt;AUTODESK.AUTOCAD.RUNTIME.COMMANDMETHOD&gt; _&lt;BR /&gt;
    Public Sub Fillet()&lt;BR /&gt;
        Try&lt;BR /&gt;
            Dim editor As Editor = Application.DocumentManager.MdiActiveDocument.Editor&lt;BR /&gt;
            m_filletCount += 1&lt;BR /&gt;
            m_totalCount += 1&lt;BR /&gt;
            editor.WriteMessage(" FilletCOunt is " &amp;amp; m_filletCount.ToString())&lt;BR /&gt;
        Catch ex As Exception&lt;BR /&gt;
            MsgBox(ex.Message)&lt;BR /&gt;
        End Try&lt;BR /&gt;
&lt;BR /&gt;
    End Sub&lt;BR /&gt;
&lt;BR /&gt;
    &lt;AUTODESK.AUTOCAD.RUNTIME.COMMANDMETHOD&gt; _&lt;BR /&gt;
        Public Shared Sub FilletShared()&lt;BR /&gt;
        Try&lt;BR /&gt;
            Dim editor As Editor = Application.DocumentManager.MdiActiveDocument.Editor&lt;BR /&gt;
            m_totalCount += 1&lt;BR /&gt;
            editor.WriteMessage(" TotalCount is " &amp;amp; m_totalCount.ToString())&lt;BR /&gt;
        Catch ex As Exception&lt;BR /&gt;
            MsgBox(ex.Message)&lt;BR /&gt;
        End Try&lt;BR /&gt;
&lt;BR /&gt;
    End Sub&lt;BR /&gt;
End Class&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
P.S. I can not believe that anyone is using VBA when even VB6 offers a 10x increase in speed over VBA. Since donet is compiled; it should offer similiar speed increases.&lt;/AUTODESK.AUTOCAD.RUNTIME.COMMANDMETHOD&gt;&lt;/AUTODESK.AUTOCAD.RUNTIME.COMMANDMETHOD&gt;</description>
      <pubDate>Tue, 20 Sep 2005 17:43:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436627#M83752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-20T17:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: do .net "programs" act like they run inside acad? as opposed to VB6...</title>
      <link>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436628#M83753</link>
      <description>got it, thanks&lt;BR /&gt;
&lt;BR /&gt;
People use VBA because it runs inside acad, which is faster for various things.&lt;BR /&gt;
I dont like the IDE for it, and that you password protect things.  Sounds ripe for a crack to detroy things.&lt;BR /&gt;
Speed is rarely the issue though, its power and ease of programming that usually matters.&lt;BR /&gt;
&lt;BR /&gt;
CArps &amp;lt;&amp;gt;&lt;BR /&gt;
|&amp;gt;You can do document level variables very easily. In fact you can even have a class that has both global and document variables. &lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;Just mark them as shared for global and leave them alone for shared. &lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;Here is an example: &lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;Public Class VRezFillet&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;    Private m_filletCount As Integer&lt;BR /&gt;
|&amp;gt;    Private Shared m_totalCount As Integer = 0&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;    Public Sub New()&lt;BR /&gt;
|&amp;gt;        m_filletCount = 0&lt;BR /&gt;
|&amp;gt;    End Sub&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;    &lt;AUTODESK.AUTOCAD.RUNTIME.COMMANDMETHOD&gt; _&lt;BR /&gt;
|&amp;gt;    Public Sub Fillet()&lt;BR /&gt;
|&amp;gt;        Try&lt;BR /&gt;
|&amp;gt;            Dim editor As Editor = Application.DocumentManager.MdiActiveDocument.Editor&lt;BR /&gt;
|&amp;gt;            m_filletCount += 1&lt;BR /&gt;
|&amp;gt;            m_totalCount += 1&lt;BR /&gt;
|&amp;gt;            editor.WriteMessage(" FilletCOunt is " &amp;amp; m_filletCount.ToString())&lt;BR /&gt;
|&amp;gt;        Catch ex As Exception&lt;BR /&gt;
|&amp;gt;            MsgBox(ex.Message)&lt;BR /&gt;
|&amp;gt;        End Try&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;    End Sub&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;    &lt;AUTODESK.AUTOCAD.RUNTIME.COMMANDMETHOD&gt; _&lt;BR /&gt;
|&amp;gt;        Public Shared Sub FilletShared()&lt;BR /&gt;
|&amp;gt;        Try&lt;BR /&gt;
|&amp;gt;            Dim editor As Editor = Application.DocumentManager.MdiActiveDocument.Editor&lt;BR /&gt;
|&amp;gt;            m_totalCount += 1&lt;BR /&gt;
|&amp;gt;            editor.WriteMessage(" TotalCount is " &amp;amp; m_totalCount.ToString())&lt;BR /&gt;
|&amp;gt;        Catch ex As Exception&lt;BR /&gt;
|&amp;gt;            MsgBox(ex.Message)&lt;BR /&gt;
|&amp;gt;        End Try&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;    End Sub&lt;BR /&gt;
|&amp;gt;End Class&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;&lt;BR /&gt;
|&amp;gt;P.S. I can not believe that anyone is using VBA when even VB6 offers a 10x increase in speed over VBA. Since donet is compiled; it should offer similiar speed increases.&lt;BR /&gt;
&lt;BR /&gt;
James Maeding&lt;BR /&gt;
Civil Engineer and Programmer&lt;BR /&gt;
jmaeding - athunsaker - com&lt;/AUTODESK.AUTOCAD.RUNTIME.COMMANDMETHOD&gt;&lt;/AUTODESK.AUTOCAD.RUNTIME.COMMANDMETHOD&gt;</description>
      <pubDate>Tue, 20 Sep 2005 17:49:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/do-net-quot-programs-quot-act-like-they-run-inside-acad-as/m-p/1436628#M83753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-20T17:49:38Z</dc:date>
    </item>
  </channel>
</rss>

