I want my dvb to unload itself

I want my dvb to unload itself

Anonymous
Not applicable
346 Views
4 Replies
Message 1 of 5

I want my dvb to unload itself

Anonymous
Not applicable
Is there any way to have a dvb unload itself? I've looked at vba
extensibility but haven't found what I want.

Any suggestions would be appreciated.

Thanks in advance,
Mike Weaver
0 Likes
347 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Hi Mike,

It may not be entirely what you want, but it is very easy to use one DVB to
load another, run it and then unload it.

I've been doing this with some of our utility programs as for my purposes
it's easier to do that than detect changes in the AutoCAD environment and
end up with the user getting information from the wrong drawing.

Alternatively:
If you run your DVB macros with Lisp, then the lisp could unload the program
as well as load it.

--

Laurie Comerford
CADApps
www.cadapps.com.au

"Mike Weaver" wrote in message
news:5053087@discussion.autodesk.com...
Is there any way to have a dvb unload itself? I've looked at vba
extensibility but haven't found what I want.

Any suggestions would be appreciated.

Thanks in advance,
Mike Weaver
0 Likes
Message 3 of 5

fxcastil
Advocate
Advocate
http://discussion.autodesk.com/thread.jspa?messageID=433008
0 Likes
Message 4 of 5

Anonymous
Not applicable
I ended up leaning toward the lisp approach. I wish it could be done
entirely from the DVB, but this will work well enough.

Thanks for the resonse,
Mike Weaver

"Laurie Comerford" wrote in message
news:5053126@discussion.autodesk.com...
Hi Mike,

It may not be entirely what you want, but it is very easy to use one DVB to
load another, run it and then unload it.

I've been doing this with some of our utility programs as for my purposes
it's easier to do that than detect changes in the AutoCAD environment and
end up with the user getting information from the wrong drawing.

Alternatively:
If you run your DVB macros with Lisp, then the lisp could unload the program
as well as load it.

--

Laurie Comerford
CADApps
www.cadapps.com.au

"Mike Weaver" wrote in message
news:5053087@discussion.autodesk.com...
Is there any way to have a dvb unload itself? I've looked at vba
extensibility but haven't found what I want.

Any suggestions would be appreciated.

Thanks in advance,
Mike Weaver
0 Likes
Message 5 of 5

Anonymous
Not applicable
I've always used SendCommand - probably not ideal, but it works.

ThisDrawing.SendCommand "_vbaunload" & vbCr & """Your File.dvb""" & vbCr


Matt W
"I did absolutely nothing, and it was everything I thought it could be."


"Mike Weaver" wrote in message
news:5054821@discussion.autodesk.com...
I ended up leaning toward the lisp approach. I wish it could be done
entirely from the DVB, but this will work well enough.

Thanks for the resonse,
Mike Weaver

"Laurie Comerford" wrote in message
news:5053126@discussion.autodesk.com...
Hi Mike,

It may not be entirely what you want, but it is very easy to use one DVB to
load another, run it and then unload it.

I've been doing this with some of our utility programs as for my purposes
it's easier to do that than detect changes in the AutoCAD environment and
end up with the user getting information from the wrong drawing.

Alternatively:
If you run your DVB macros with Lisp, then the lisp could unload the program
as well as load it.

--

Laurie Comerford
CADApps
www.cadapps.com.au

"Mike Weaver" wrote in message
news:5053087@discussion.autodesk.com...
Is there any way to have a dvb unload itself? I've looked at vba
extensibility but haven't found what I want.

Any suggestions would be appreciated.

Thanks in advance,
Mike Weaver
0 Likes