<?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 Re: Programatically loading .NET Assemblies (no Lisp, no Registry) in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435125#M83804</link>
    <description>Perhaps I'm not clear on your question.&lt;BR /&gt;
&lt;BR /&gt;
What do you mean by 'programatically load' ?&lt;BR /&gt;
&lt;BR /&gt;
Load it programmatically from what?  &lt;BR /&gt;
&lt;BR /&gt;
E.g., from LISP code, ARX code, VBA code, etc?&lt;BR /&gt;
&lt;BR /&gt;
You don't need to use P/Invoke to load an assembly&lt;BR /&gt;
from managed code, which is why I"m not all that&lt;BR /&gt;
clear on what you need to do?&lt;BR /&gt;
&lt;BR /&gt;
Are you just trying to avoid having to do the registry&lt;BR /&gt;
business during install?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Maksim Sestic" &lt;INFO&gt; wrote in message news:4959553@discussion.autodesk.com...&lt;BR /&gt;
Dear all,&lt;BR /&gt;
 &lt;BR /&gt;
Is there a way to programatically load .NET assembly, beside executing it (netload) from Lisp or demand-loading it via Registry setting? What ObjectARX mechanism is hidden behind NETLOAD command? Is there any example or tip of loading .NET assembly via P/Invoke?&lt;BR /&gt;
 &lt;BR /&gt;
I'm trying to create a clean (as possible) startup module that fires ACAD up and loads necessary assemblies. Doing it via .LSP module is really messy approach. Setting Registry values that load them on-demand is a heavy task having in mind that we have installer routine. Installer should: 1) determine ACAD version(s), 2) let the user select one of them, 3) perform Registry settings... An overkill.&lt;BR /&gt;
 &lt;BR /&gt;
Regards,&lt;BR /&gt;
Maksim Sestic&lt;/INFO&gt;</description>
    <pubDate>Sat, 17 Sep 2005 20:43:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-09-17T20:43:28Z</dc:date>
    <item>
      <title>Programatically loading .NET Assemblies (no Lisp, no Registry)</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435124#M83803</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Dear all,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Is there a way to programatically load .NET &lt;BR /&gt;
assembly, beside&amp;nbsp;executing it (netload) from Lisp &lt;BR /&gt;
or&amp;nbsp;demand-loading&amp;nbsp;it via Registry setting? What ObjectARX mechanism is &lt;BR /&gt;
hidden behind NETLOAD command? Is there any example or tip of loading .NET &lt;BR /&gt;
assembly via P/Invoke?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;I'm trying to create a clean (as possible) &lt;BR /&gt;
startup module that&amp;nbsp;fires ACAD up and loads necessary assemblies. Doing it &lt;BR /&gt;
via .LSP module is really messy approach. Setting&amp;nbsp;Registry&amp;nbsp;values that &lt;BR /&gt;
load&amp;nbsp;them on-demand is a&amp;nbsp;heavy task having in mind that we have &lt;BR /&gt;
installer routine. Installer should: 1) determine ACAD version(s), 2) let the &lt;BR /&gt;
user select one of them, 3) perform Registry settings... An &lt;BR /&gt;
overkill.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&lt;FONT face="Verdana"&gt;&lt;BR /&gt;
size=2&amp;gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Maksim Sestic&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 17 Sep 2005 13:28:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435124#M83803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-17T13:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically loading .NET Assemblies (no Lisp, no Registry)</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435125#M83804</link>
      <description>Perhaps I'm not clear on your question.&lt;BR /&gt;
&lt;BR /&gt;
What do you mean by 'programatically load' ?&lt;BR /&gt;
&lt;BR /&gt;
Load it programmatically from what?  &lt;BR /&gt;
&lt;BR /&gt;
E.g., from LISP code, ARX code, VBA code, etc?&lt;BR /&gt;
&lt;BR /&gt;
You don't need to use P/Invoke to load an assembly&lt;BR /&gt;
from managed code, which is why I"m not all that&lt;BR /&gt;
clear on what you need to do?&lt;BR /&gt;
&lt;BR /&gt;
Are you just trying to avoid having to do the registry&lt;BR /&gt;
business during install?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Maksim Sestic" &lt;INFO&gt; wrote in message news:4959553@discussion.autodesk.com...&lt;BR /&gt;
Dear all,&lt;BR /&gt;
 &lt;BR /&gt;
Is there a way to programatically load .NET assembly, beside executing it (netload) from Lisp or demand-loading it via Registry setting? What ObjectARX mechanism is hidden behind NETLOAD command? Is there any example or tip of loading .NET assembly via P/Invoke?&lt;BR /&gt;
 &lt;BR /&gt;
I'm trying to create a clean (as possible) startup module that fires ACAD up and loads necessary assemblies. Doing it via .LSP module is really messy approach. Setting Registry values that load them on-demand is a heavy task having in mind that we have installer routine. Installer should: 1) determine ACAD version(s), 2) let the user select one of them, 3) perform Registry settings... An overkill.&lt;BR /&gt;
 &lt;BR /&gt;
Regards,&lt;BR /&gt;
Maksim Sestic&lt;/INFO&gt;</description>
      <pubDate>Sat, 17 Sep 2005 20:43:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435125#M83804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-17T20:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically loading .NET Assemblies (no Lisp, no Registry)</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435126#M83805</link>
      <description>Tony,&lt;BR /&gt;
&lt;BR /&gt;
Oh, now I see &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; What an expression &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; What I really ment is loading a&lt;BR /&gt;
.NET assembly out of external startup module also written in .NET. What I&lt;BR /&gt;
need to achieve is:&lt;BR /&gt;
&lt;BR /&gt;
1) User starts an .EXE (startup) module that fires up ACAD. Startup module&lt;BR /&gt;
is written in VB.NET.&lt;BR /&gt;
2) Startup module waits for ACAD to finish initialization&lt;BR /&gt;
3) Startup module loads a .NET DLL assembly into ACAD&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to avoid using Lisp's (netload) in step 3). I am also trying to&lt;BR /&gt;
avoid assembly demand-loading via registry settings during application&lt;BR /&gt;
installation.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Maksim Sestic&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:4959607@discussion.autodesk.com...&lt;BR /&gt;
Perhaps I'm not clear on your question.&lt;BR /&gt;
&lt;BR /&gt;
What do you mean by 'programatically load' ?&lt;BR /&gt;
&lt;BR /&gt;
Load it programmatically from what?&lt;BR /&gt;
&lt;BR /&gt;
E.g., from LISP code, ARX code, VBA code, etc?&lt;BR /&gt;
&lt;BR /&gt;
You don't need to use P/Invoke to load an assembly&lt;BR /&gt;
from managed code, which is why I"m not all that&lt;BR /&gt;
clear on what you need to do?&lt;BR /&gt;
&lt;BR /&gt;
Are you just trying to avoid having to do the registry&lt;BR /&gt;
business during install?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Maksim Sestic" &lt;INFO&gt; wrote in message&lt;BR /&gt;
news:4959553@discussion.autodesk.com...&lt;BR /&gt;
Dear all,&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to programatically load .NET assembly, beside executing it&lt;BR /&gt;
(netload) from Lisp or demand-loading it via Registry setting? What&lt;BR /&gt;
ObjectARX mechanism is hidden behind NETLOAD command? Is there any example&lt;BR /&gt;
or tip of loading .NET assembly via P/Invoke?&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to create a clean (as possible) startup module that fires ACAD up&lt;BR /&gt;
and loads necessary assemblies. Doing it via .LSP module is really messy&lt;BR /&gt;
approach. Setting Registry values that load them on-demand is a heavy task&lt;BR /&gt;
having in mind that we have installer routine. Installer should: 1)&lt;BR /&gt;
determine ACAD version(s), 2) let the user select one of them, 3) perform&lt;BR /&gt;
Registry settings... An overkill.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Maksim Sestic&lt;/INFO&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Sun, 18 Sep 2005 11:08:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435126#M83805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-18T11:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically loading .NET Assemblies (no Lisp, no Registry)</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435127#M83806</link>
      <description>I guess it has something to do with Reflection... but I'm not completely&lt;BR /&gt;
clear about that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
"Tony Tanzillo" &lt;TONY.TANZILLO&gt; wrote in message&lt;BR /&gt;
news:4959607@discussion.autodesk.com...&lt;BR /&gt;
Perhaps I'm not clear on your question.&lt;BR /&gt;
&lt;BR /&gt;
What do you mean by 'programatically load' ?&lt;BR /&gt;
&lt;BR /&gt;
Load it programmatically from what?&lt;BR /&gt;
&lt;BR /&gt;
E.g., from LISP code, ARX code, VBA code, etc?&lt;BR /&gt;
&lt;BR /&gt;
You don't need to use P/Invoke to load an assembly&lt;BR /&gt;
from managed code, which is why I"m not all that&lt;BR /&gt;
clear on what you need to do?&lt;BR /&gt;
&lt;BR /&gt;
Are you just trying to avoid having to do the registry&lt;BR /&gt;
business during install?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
"Maksim Sestic" &lt;INFO&gt; wrote in message&lt;BR /&gt;
news:4959553@discussion.autodesk.com...&lt;BR /&gt;
Dear all,&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to programatically load .NET assembly, beside executing it&lt;BR /&gt;
(netload) from Lisp or demand-loading it via Registry setting? What&lt;BR /&gt;
ObjectARX mechanism is hidden behind NETLOAD command? Is there any example&lt;BR /&gt;
or tip of loading .NET assembly via P/Invoke?&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to create a clean (as possible) startup module that fires ACAD up&lt;BR /&gt;
and loads necessary assemblies. Doing it via .LSP module is really messy&lt;BR /&gt;
approach. Setting Registry values that load them on-demand is a heavy task&lt;BR /&gt;
having in mind that we have installer routine. Installer should: 1)&lt;BR /&gt;
determine ACAD version(s), 2) let the user select one of them, 3) perform&lt;BR /&gt;
Registry settings... An overkill.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Maksim Sestic&lt;/INFO&gt;&lt;/TONY.TANZILLO&gt;</description>
      <pubDate>Sun, 18 Sep 2005 11:19:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435127#M83806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-18T11:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically loading .NET Assemblies (no Lisp, no Registry)</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435128#M83807</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Let me explain&amp;nbsp;the problem a bit more &lt;BR /&gt;
precise: &lt;/FONT&gt;&lt;FONT face="Verdana" size="2"&gt;I need&amp;nbsp;to load .NET DLL into &lt;BR /&gt;
running ACAD application namespace, but externally - out of another process &lt;BR /&gt;
(Startup module, source excerpt below). How possibly can I get it &lt;BR /&gt;
working?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Startup module (that fires ACAD up) references &lt;BR /&gt;
following libs found in GAC:&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;- Autodesk.AutoCAD.Interop.dll&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;- &lt;BR /&gt;
Autodesk.AutoCAD.Interop.Common.dll&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
size=2&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
size=2&amp;gt;Imports&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;BR /&gt;
Autodesk.AutoCAD.Interop&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#008080"&gt;'''&amp;nbsp;Startup &lt;BR /&gt;
module that fires&amp;nbsp;up ACAD&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
size=2&amp;gt;Module&lt;/FONT&gt;&lt;FONT size="2"&gt; Startup&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff" size="2"&gt;&amp;nbsp; &lt;BR /&gt;
Sub&lt;/FONT&gt;&lt;FONT size="2"&gt; Main()&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT&gt;&lt;BR /&gt;
color=#008080&amp;gt;'''&amp;nbsp;Start ACAD the easy way... No error &lt;BR /&gt;
checking...&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
size=2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/FONT&gt;&lt;FONT size="2"&gt; oACAD &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff size=2&amp;gt;As&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;BR /&gt;
Autodesk.AutoCAD.Interop.AcadApplication&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; oACAD = &lt;BR /&gt;
&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;New&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;BR /&gt;
Autodesk.AutoCAD.Interop.AcadApplication&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT&gt;&lt;BR /&gt;
color=#008080&amp;gt;'''&amp;nbsp;&amp;gt;&amp;gt;&amp;gt; I simply don't want to load&amp;nbsp;assembly &lt;BR /&gt;
via Lisp here.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Courier New" color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &lt;BR /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;I've been thinking of using P/Invoke, still don't know what &lt;BR /&gt;
set of&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Courier New" color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;gt;&amp;gt;&amp;gt; &lt;BR /&gt;
acad.exe functions is responsible for netload-ing an assembly.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Courier New" color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;gt;&amp;gt;&amp;gt; &lt;BR /&gt;
Using&amp;nbsp;a bit more managed&amp;nbsp;approach is even more welcome &lt;BR /&gt;
:-)&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
oACAD.ActiveDocument.SendCommand( _&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "(command " &lt;BR /&gt;
+ Chr(34) + _&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "NETLOAD" + &lt;BR /&gt;
Chr(34) + " " + Chr(34) + _&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
"TCGDotNet16.dll" + Chr(34) + ")" + vbLf)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff" size="2"&gt;&amp;nbsp; &lt;BR /&gt;
End&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
size=2&amp;gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff size=2&amp;gt;End&lt;/FONT&gt;&lt;FONT color="#000000" size="2"&gt; &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff size=2&amp;gt;Module&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff size=2&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff size=2&amp;gt;&lt;FONT face="Verdana" color="#000000"&gt;Thanks for any &lt;BR /&gt;
suggestion&amp;nbsp;on that matter.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff size=2&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff size=2&amp;gt;&lt;FONT face="Verdana"&gt;&lt;BR /&gt;
color=#000000&amp;gt;Regards,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
color=#0000ff size=2&amp;gt;&lt;FONT face="Verdana" color="#000000"&gt;Maksim &lt;BR /&gt;
Sestic&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Sep 2005 08:34:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435128#M83807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-19T08:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically loading .NET Assemblies (no Lisp, no Registry)</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435129#M83808</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;It seems like me talking to myself... Anyway, &lt;BR /&gt;
after many hours of browsing the docs/internet it&amp;nbsp;turns &lt;BR /&gt;
out&amp;nbsp;that&amp;nbsp;I need to write a plug-in assembly that gets initialized &lt;BR /&gt;
within AutoCAD application namespace, out of external process. Am I wrong about &lt;BR /&gt;
that presumption?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE dir="ltr"&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"Maksim Sestic" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:info@geoinova.com"&amp;gt;info@geoinova.com&lt;/A&gt;&amp;gt; wrote in message &lt;A&gt;&lt;BR /&gt;
  href="news:4959933@discussion.autodesk.com"&amp;gt;news:4959933@discussion.autodesk.com&lt;/A&gt;...&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV id="jive-html-wrapper-div"&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Let me explain&amp;nbsp;the problem a bit more &lt;BR /&gt;
  precise: &lt;/FONT&gt;&lt;FONT face="Verdana" size="2"&gt;I need&amp;nbsp;to load .NET DLL into &lt;BR /&gt;
  running ACAD application namespace, but externally - out of another process &lt;BR /&gt;
  (Startup module, source excerpt below). How possibly can I get it &lt;BR /&gt;
  working?&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;Startup module (that fires ACAD up) references &lt;BR /&gt;
  following libs found in GAC:&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;- Autodesk.AutoCAD.Interop.dll&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;- &lt;BR /&gt;
  Autodesk.AutoCAD.Interop.Common.dll&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Verdana" size="2"&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
  size=2&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
  size=2&amp;gt;Imports&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;BR /&gt;
  Autodesk.AutoCAD.Interop&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#008080&amp;gt;'''&amp;nbsp;Startup module that fires&amp;nbsp;up &lt;BR /&gt;
  ACAD&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
  size=2&amp;gt;Module&lt;/FONT&gt;&lt;FONT size="2"&gt; Startup&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff" size="2"&gt;&amp;nbsp; &lt;BR /&gt;
  Sub&lt;/FONT&gt;&lt;FONT size="2"&gt; Main()&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT&gt;&lt;BR /&gt;
  color=#008080&amp;gt;'''&amp;nbsp;Start ACAD the easy way... No error &lt;BR /&gt;
  checking...&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
  size=2&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim&lt;/FONT&gt;&lt;FONT size="2"&gt; oACAD &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#0000ff size=2&amp;gt;As&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;BR /&gt;
  Autodesk.AutoCAD.Interop.AcadApplication&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; oACAD = &lt;BR /&gt;
  &lt;/FONT&gt;&lt;FONT color="#0000ff" size="2"&gt;New&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;BR /&gt;
  Autodesk.AutoCAD.Interop.AcadApplication&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT size="2"&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT&gt;&lt;BR /&gt;
  color=#008080&amp;gt;'''&amp;nbsp;&amp;gt;&amp;gt;&amp;gt; I simply don't want to load&amp;nbsp;assembly &lt;BR /&gt;
  via Lisp here.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Courier New" color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &lt;BR /&gt;
  &amp;gt;&amp;gt;&amp;gt;&amp;nbsp;I've been thinking of using P/Invoke, still don't know what &lt;BR /&gt;
  set of&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Courier New" color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &lt;BR /&gt;
  &amp;gt;&amp;gt;&amp;gt; acad.exe functions is responsible for netload-ing an &lt;BR /&gt;
  assembly.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT face="Courier New" color="#008080"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &lt;BR /&gt;
  &amp;gt;&amp;gt;&amp;gt; Using&amp;nbsp;a bit more managed&amp;nbsp;approach is even more welcome &lt;BR /&gt;
  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;FONT face="Courier New"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
  oACAD.ActiveDocument.SendCommand( _&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "(command &lt;BR /&gt;
  " + Chr(34) + _&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "NETLOAD" &lt;BR /&gt;
  + Chr(34) + " " + Chr(34) + _&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;
  "TCGDotNet16.dll" + Chr(34) + ")" + vbLf)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT color="#0000ff" size="2"&gt;&amp;nbsp; &lt;BR /&gt;
  End&lt;/FONT&gt;&lt;FONT size="2"&gt; &lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;&lt;BR /&gt;
  size=2&amp;gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#0000ff size=2&amp;gt;End&lt;/FONT&gt;&lt;FONT color="#000000" size="2"&gt; &lt;/FONT&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#0000ff size=2&amp;gt;Module&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#0000ff size=2&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#0000ff size=2&amp;gt;&lt;FONT face="Verdana" color="#000000"&gt;Thanks for any &lt;BR /&gt;
  suggestion&amp;nbsp;on that matter.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#0000ff size=2&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#0000ff size=2&amp;gt;&lt;FONT face="Verdana"&gt;&lt;BR /&gt;
  color=#000000&amp;gt;Regards,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
  &lt;DIV&gt;&lt;FONT size="2"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Courier New"&gt;&lt;FONT&gt;&lt;BR /&gt;
  color=#0000ff size=2&amp;gt;&lt;FONT face="Verdana" color="#000000"&gt;Maksim &lt;BR /&gt;
  Sestic&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Sep 2005 15:21:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435129#M83808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-09-20T15:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically loading .NET Assemblies (no Lisp, no Registry)</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435130#M83809</link>
      <description>Hello.&lt;BR /&gt;
&lt;BR /&gt;
Did you manage to solve that problem? I am having almost the same one. I am trying to write a plugin for AutoCAD 2006 that is supposed to add a new toolbar (in .NET C#).&lt;BR /&gt;
I am having difficulties at loading my assembly to AutoCAD. Last year I wrote some plugin for AutoCAD2005, but the connection part was written in C++. I was creating an arx file and then load set the AutoCAD start in to the arx path.&lt;BR /&gt;
I didn't like the solution then, but I was short on time so I had no choice.&lt;BR /&gt;
So ... did you find anything on loading a .NET dll to AutoCAD?&lt;BR /&gt;
You said something about registry ...  can you be more specific?&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your time,&lt;BR /&gt;
&lt;BR /&gt;
Roxana.</description>
      <pubDate>Tue, 21 Mar 2006 15:23:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435130#M83809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-21T15:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically loading .NET Assemblies (no Lisp, no Registry)</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435131#M83810</link>
      <description>Hi Roxana,&lt;BR /&gt;
&lt;BR /&gt;
Yes, autoloading managed modules on startup (via Registry setting) was the&lt;BR /&gt;
only viable solution. Just check the following link:&lt;BR /&gt;
http://discussion.autodesk.com/thread.jspa?messageID=4531456&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Maksim Sestic&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;KARENINA&gt; wrote in message news:5116709@discussion.autodesk.com...&lt;BR /&gt;
Hello.&lt;BR /&gt;
&lt;BR /&gt;
Did you manage to solve that problem? I am having almost the same one. I am&lt;BR /&gt;
trying to write a plugin for AutoCAD 2006 that is supposed to add a new&lt;BR /&gt;
toolbar (in .NET C#).&lt;BR /&gt;
I am having difficulties at loading my assembly to AutoCAD. Last year I&lt;BR /&gt;
wrote some plugin for AutoCAD2005, but the connection part was written in&lt;BR /&gt;
C++. I was creating an arx file and then load set the AutoCAD start in to&lt;BR /&gt;
the arx path.&lt;BR /&gt;
I didn't like the solution then, but I was short on time so I had no choice.&lt;BR /&gt;
So ... did you find anything on loading a .NET dll to AutoCAD?&lt;BR /&gt;
You said something about registry ...  can you be more specific?&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your time,&lt;BR /&gt;
&lt;BR /&gt;
Roxana.&lt;/KARENINA&gt;</description>
      <pubDate>Sat, 25 Mar 2006 12:44:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435131#M83810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-25T12:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically loading .NET Assemblies (no Lisp, no Registry)</title>
      <link>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435132#M83811</link>
      <description>Thanks a lot. That really helped.&lt;BR /&gt;
I did not know that it was possible to set a dll as loader.&lt;BR /&gt;
&lt;BR /&gt;
Now it works fine. &lt;BR /&gt;
&lt;BR /&gt;
All my best,&lt;BR /&gt;
&lt;BR /&gt;
Roxana</description>
      <pubDate>Sat, 25 Mar 2006 13:27:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/programatically-loading-net-assemblies-no-lisp-no-registry/m-p/1435132#M83811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-25T13:27:08Z</dc:date>
    </item>
  </channel>
</rss>

