Need to have cad strt up dvb appllication upon loading

Need to have cad strt up dvb appllication upon loading

Anonymous
Not applicable
240 Views
4 Replies
Message 1 of 5

Need to have cad strt up dvb appllication upon loading

Anonymous
Not applicable
hi! I have created a pretty simple vb application which prompts my cad techs to enter project data information and writes this data to a txt file. I am having problems getting cad to load and run this application whenever cad is executed. I have attacehd the dvb format. it runs smoothly, just having issues integrating with AutoCAD. Thanks!!
0 Likes
241 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
To Autorun a dvb file, you must create a acad.rx
file.  Inside this file (Its an ASCII file) type in acaddvb.arx (This will
load your vbaide.)  Rename your dvb to acad.dvb and the name of your public
subroutine to acadstartup.  Make sure the acad.rx and acad.dvb files are in
your autoCad search path and it should now work automatically.

 

Bob


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
hi!
I have created a pretty simple vb application which prompts my cad techs to
enter project data information and writes this data to a txt file. I am having
problems getting cad to load and run this application whenever cad is
executed. I have attacehd the dvb format. it runs smoothly, just having issues
integrating with AutoCAD. Thanks!!
0 Likes
Message 3 of 5

Anonymous
Not applicable
What I do is create a module and under the sub start event show the form. Then use the following statement to execute the module : (vl-vbarun "Facilities.dvb!Details.Start"). So for my Facilities.dvb project, I have a Module "Details", and the public sub "Start" shows the form.
0 Likes
Message 4 of 5

Anonymous
Not applicable
i don't get what u did.

how does it make to start the sub at
startup?


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
What
I do is create a module and under the sub start event show the form. Then use
the following statement to execute the module : (vl-vbarun
"Facilities.dvb!Details.Start"). So for my Facilities.dvb project, I have a
Module "Details", and the public sub "Start" shows the
form.
0 Likes
Message 5 of 5

Anonymous
Not applicable
you can add the line to the acad.mnl file, and that will start it up, or you can drop it into a lisp file and add it to the Startup Suite.
0 Likes