unable to unload/load dvb projects

unable to unload/load dvb projects

shulinl
Contributor Contributor
454 Views
2 Replies
Message 1 of 3

unable to unload/load dvb projects

shulinl
Contributor
Contributor

For all the previous Acad versions, I have been successfully using Startup Suite to automatically load my two dvb files at start of Acad.

acad.dvb and 

drawPath.dvb.

Now when I sart Acad 2023, it first says "Unable to unload the file Acad.dvb", and then "Unable to load Acad.dvb file ". It repeats the same message for drawPath.dvb.

Eventually, Acad.dvb is still in memory and accessible, BUT drawPath.dvb is not accessible unless I manually load it again.

When I check the Startup Suite, all macros are still in there.

It seems Startup Suite is not working the same way as before.

What can I do keep my macros loaded properly and automatically? Pls help.

Thanks 

0 Likes
Accepted solutions (1)
455 Views
2 Replies
Replies (2)
Message 2 of 3

Ed__Jobe
Mentor
Mentor
Accepted solution

If your file is named acad.dvb, it will load automatically if its in a folder that is in your support file search path. See the Files tab in Options. Furthermore, if you have a sub in that file called AcadStartup, that sub will run automatically. You can then use that sub to load your other dvb and perform other tasks to set up your environment, like loading a partial menu. You should make sure that the folder is listed at the top of your search paths to make sure that it gets run before any other files that AutoCAD may find. Also,  make sure the folder is listed in the Trusted Locations section of Options>Files. Then abandon the use of the startup suite. I never uses it.

 

All that assumes that you don't have any bugs in your dvb that prevent it from loading. Try manually loading it with the VBAMAN command.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

Message 3 of 3

shulinl
Contributor
Contributor

AcadStartup works great. Thanks

0 Likes