.NET

Reply
*Russ Green
Message 1 of 5 (100 Views)

Load and run my dll from ACAD menu

100 Views, 4 Replies
12-17-2005 04:22 PM
Sorry, I'm sure this is simple but how do I load and run my .NET dll from
an ACAD 2006 menu? Tried all manner of lines but can't get it working.

^C^C-netload "D:/Dev Projects/VB Projects/_AutoCAD
Apps/MyTestApp01/bin/MyTestApp01.dll"; MyTestApp

TIA

Russ
*Russ Green
Message 2 of 5 (100 Views)

Re: Load and run my dll from ACAD menu

12-18-2005 04:30 AM in reply to: *Russ Green
OK Found it:

^C^C^C_filedia 0 _netload MyTestApp01.dll _MyTestApp _filedia 1
*Ben Rand
Message 3 of 5 (100 Views)

Re: Load and run my dll from ACAD menu

12-20-2005 07:41 AM in reply to: *Russ Green
You could also use:

(command "netload" "MyTestApp")

You don't need to include .dll on the end of the file name.

Ben Rand
CAD Manager
CEntry Constructors & Engineers
brand@centry.net

"Russ Green" wrote in message
news:5040950@discussion.autodesk.com...
OK Found it:

^C^C^C_filedia 0 _netload MyTestApp01.dll _MyTestApp _filedia 1
Valued Contributor
alexandrescoelho
Posts: 61
Registered: ‎03-13-2008
Message 4 of 5 (100 Views)

Re: Load and run my dll from ACAD menu

03-18-2008 07:50 AM in reply to: *Russ Green
Hi,

I can send the command by Autodesk.AutoCAD.Interop.AcadDocument.SendCommand("command") but it isn't execute the command, just write in the command line. How can I execute this command?
Distinguished Contributor
NathTay
Posts: 1,691
Registered: ‎12-15-2003
Message 5 of 5 (100 Views)

Re: Load and run my dll from ACAD menu

03-18-2008 02:22 PM in reply to: *Russ Green
Add a space at the end of the command string.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.