.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Running exe from Autocad Menu

3 REPLIES 3
Reply
Message 1 of 4
johnlap
435 Views, 3 Replies

Running exe from Autocad Menu

I'm wanting to run a C# exe from the AutoCad menu. Using 2008 and C# 2008 and .NET 3.5. Is this possible? If so, how? I know about the netload command, but it seems that only applies to dll's.
TIA Once Again,
John
3 REPLIES 3
Message 2 of 4
jbooth
in reply to: johnlap

Yes, it's possible. There are several ways to go about it.

Easiest method is to write a VBA macro that calls the Shell() method. Worst case scenario you create a .NET dll that invokes your exe.

No problem.
Message 3 of 4
Anonymous
in reply to: johnlap

> I'm wanting to run a C# exe from the AutoCad menu.

Can you use the START command? There's also the (startapp) AutoLISP
function. 🙂
--
Owen Wengerd
President, ManuSoft <>
VP Americas, CADLock, Inc. <>
Message 4 of 4
johnlap
in reply to: johnlap

Thanks to both of you for replying. I got it to work using the start autolisp command that was recommended.
John

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost