Unloading Application from Memory

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.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved