Message 1 of 1 (90 Views)

Unloading/clearing and object instance?

90 Views, 0 Replies
05-19-2006 01:52 PM
So thanks some HUGE help in my previous post (Call vb.net dll from VBA) I've
got my vb.net app running under AutoCAD VBA. It works once. In short, here's
the process:

Start the app
select an ini file that contains a list of drawings
This list populates a list box in the app gui
select drawings from the list to process
process the drawings
exit the app.

My problem is when I want to run the app again, I'm not prompted to pick an
ini file and the list box is populated with the drawing data twice. Run it
again, now there are three times the drawings in the list...

What I'm hoping someone can help me with is how to "clear" the object data
once my vb.net app completes. I tried Set MyObj = Nothing and that didn't
get it...

Any help is always appreciated! Thanks.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.