Message 1 of 3
VBALoad command

Not applicable
03-24-2004
08:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a VBA project (called "profile.dvb") that I load using:
(command " _vbaload" "profile")
in my s::startup section of the mnl file for a particular profile I sometimes use for AutoCAD. All it does is sets the current profile to "plain" using the "beginquit" event.
Works graet when I start and quit AutoCAD. problem is that, when I open another drawing, a message is displayed stating that "profile.dvb" is already loaded....
is there a way to load "profile" only if it is not already loaded? I use the function "verify-arxapp-loaded" to load the geometry calculator (geomcal), and am looking for something similar for VBA.
TIA.
(command " _vbaload" "profile")
in my s::startup section of the mnl file for a particular profile I sometimes use for AutoCAD. All it does is sets the current profile to "plain" using the "beginquit" event.
Works graet when I start and quit AutoCAD. problem is that, when I open another drawing, a message is displayed stating that "profile.dvb" is already loaded....
is there a way to load "profile" only if it is not already loaded? I use the function "verify-arxapp-loaded" to load the geometry calculator (geomcal), and am looking for something similar for VBA.
TIA.