I am afraid that it won't work for this application. First of all the objects are not contained in one collection, but rather as tags to several listviews and treeviews. Earlier I had the objects contained in collections (the program had the same problem even worse back then... ). If I was to...
Hmm... I'll try the OpenProcess() -> TerminateProcess() -> CloseHandle() option. The program will mostly only be stopped when the computer is to be shut down meaning that memory leaks are not that bad... (Argh... I really don't like this)
Anyways, what other option are you thinking of instead...
I REALLY need all those objects. I have already considered switching to custom types and placing these in arrays, but this causes quite a lot of other problems because of the complexity of the program. What I would like to do is first closing all database connections and other connections, and...
I have made an application in VB that reads approx 30000 records and stores them in classes. All classes are set to Nothing when they are no longer needed.
When I try to close the program this takes several minutes while my harddrive is going bonanza... The problem is not related to the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.