VB and AutoCAD

VB and AutoCAD

Anonymous
Not applicable
463 Views
3 Replies
Message 1 of 4

VB and AutoCAD

Anonymous
Not applicable
I have a project written in VBA that content number of macros, called from
menu's buttons. It is also modules, public functions etc...
I am planning to create stand along application using VB.
Is it correct that I should create for each macro separate exe file?
As I know, I cannot call specific function from exe file?
Thank you
0 Likes
464 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
You are better off to create a single activeX dll.
___________________________
Mike Tuersley
AutoCAD Clinic
Rand IMAGINiT Technologies
0 Likes
Message 3 of 4

Anonymous
Not applicable
Apologies to B. Gutkin for hijacking your thread, but in relation to Mike's suggestion does anyone know of any links that discuss potential issues with converting an AutoCAD VBA IDE project into an ActiveX DLL? I've seen a few articles that cover converting from IDE to a VB EXE and I've seen Frank's article about Creating ActiveX DLLs, but nothing that particularly highlights IDE ==> DLL. Potential candidates I'm thinking of are form handling, use of SendCommand (I've been forced to use a couple of these due to limitations in the Object Model) etc.



Thanks



Wayne Ivory

IT Analyst Programmer

Wespine Industries Pty Ltd
0 Likes
Message 4 of 4

Anonymous
Not applicable
Hi Wayne!

Basically it's handled just like an EXE. IMHO you are better of re-
creating the forms from scratch.
___________________________
Mike Tuersley
AutoCAD Clinic
Rand IMAGINiT Technologies
0 Likes