.NET

Reply
*pkirill
Message 1 of 1 (89 Views)

Unloading/clearing and object instance?

89 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.
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.