AutoCAD Land Desktop (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 3
Anonymous
171 Views, 2 Replies

VB in LDD 3

Hi all;
I have written a VB program that contains several modules and forms. I
have referenced the AutoCad and LDD utilities, and all seems to work ok
with a couple of exceptions.
First is there a way to launch the compiled Exe within each session of
LDD 3. When I launch the VB program separately and change LDD projects,
the old Ldd project is still the current VB project.
I also have a menu file that I would like to include with the VB
project, but only if I can load it with the project at startup.

I know this is a newbie question, but that is what I am.
As I understand, the only way to compile to an ARX is with C++. I
switched to VB instead of VBA to keep my sub routines and macros from
being exposed. Most will not run without data from the form.

Any help appreciated
Lee Howell
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Lee,

You'll get better response from the autocad.customization.vba newsgroup for
most of this since it's general VB questions and the other newsgroup has a
much wider following. For the LDD project, you need to find out when the
drawing changes. You can do this with one of the autocad document events,
such as EndOpen. The other way you could handle it is to check the
ActiveProject property to see if the project name has changed.

Glen
Message 3 of 3
Anonymous
in reply to: Anonymous

Hi Lee,

We do exactly what you are talking about in your post.

I would recommend a site called www.acadx.com

There you can find a wealth of information including some detailed articles
by Frank Oquenda on this topic.

Good Luck,
Natan

--
Natan Elsberg
Pritzat Derech - 5D Digital Engineering Solutions and Consulting
E-Mail: natan@pd5d.com
LDD Apps at : http://www.pd5d.com/download/lddapps.htm

"Lee Howell" wrote in message
news:3CCD6AFC.4050302@gnadesign.com...
> Hi all;
> I have written a VB program that contains several modules and forms. I
> have referenced the AutoCad and LDD utilities, and all seems to work ok
> with a couple of exceptions.
> First is there a way to launch the compiled Exe within each session of
> LDD 3. When I launch the VB program separately and change LDD projects,
> the old Ldd project is still the current VB project.
> I also have a menu file that I would like to include with the VB
> project, but only if I can load it with the project at startup.
>
> I know this is a newbie question, but that is what I am.
> As I understand, the only way to compile to an ARX is with C++. I
> switched to VB instead of VBA to keep my sub routines and macros from
> being exposed. Most will not run without data from the form.
>
> Any help appreciated
> Lee Howell
>

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

Post to forums  

Autodesk Design & Make Report