VBALoad command

VBALoad command

Anonymous
Not applicable
358 Views
2 Replies
Message 1 of 3

VBALoad command

Anonymous
Not applicable
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.
0 Likes
359 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Search this ng for vl-vbarun. It will load the dvb if not loaded. -- ---- Ed ---- "SteelDetailer" wrote in message news:7365205.1080147182098.JavaMail.javamailuser@localhost... > 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.
0 Likes
Message 3 of 3

Anonymous
Not applicable
BANG!!

I looked at vl-vbaload, but the help documantation didn't indicate that it would only load if it wasn't already loaded.

Thanks, Ed.
0 Likes