Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
May 3, 1999

Unloading Application from Memory

Question:
I have written an application that uses both DAO and OLE calls. This is a form-based application that sits on top of a CAD package. Sometimes when a user exits the application, the application stays resident in memory (for example, it shows up in the task manager). I am fairly sure that I am releasing all of my DAO and OLE objects. What might be causing the problem?

Answer:
Make sure that all forms are being unloaded, and that in the Unload event of the last form to be unloaded, you have the End statement. If you don't End the application, you can get a phantom app with no windows that keeps running.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date