PDA

View Full Version : How to open an exe through Autocad



WCCSAM
11th May 2010, 07:19 pm
My company has just created a Visual basic program. And I would just like to open this program through a command or Button in Autocad 2010. How can this be accomplished?

rkent
11th May 2010, 07:22 pm
VBALOAD perhaps?

Otherwise use SHELL command.

WCCSAM
11th May 2010, 07:31 pm
How do I use the "SHELL" command? i have no idea about this.
Thanks

rkmcswain
11th May 2010, 07:32 pm
If it's an external EXE, just use



(startapp "myProgName")
;; You'll need to add the full path if it's not in the windows environment path
(startapp "C:/program files/my application/myProgName")

rkent
11th May 2010, 07:33 pm
Hit F1, search for shell. The help can describe it better than I can.

WCCSAM
11th May 2010, 07:37 pm
That did it ... Thanks man !!!