form image when closed

B

Brian

Hi,
I have this app, that is started from the Sub Main. It does a few simple DB
writes and then closes. Its running on three older XP machines, with dotnet
3.5 framework. The problem i am having is.... when the application
closes... either with the form me.close or application.exit, an image of the
application still remains on the sceen. Its about the size of a standard
log in box.
Any ideas, or help why this might be happening?
 
H

Harry Strybos

Brian said:
Hi,
I have this app, that is started from the Sub Main. It does a few simple
DB writes and then closes. Its running on three older XP machines, with
dotnet 3.5 framework. The problem i am having is.... when the application
closes... either with the form me.close or application.exit, an image of
the application still remains on the sceen. Its about the size of a
standard log in box.
Any ideas, or help why this might be happening?
Just a guess but it appears that the form is not being disposed. Either than
or an object referenced by the form is not. Two friends here are IDisposable
to ensure an object is disposed correctly or use "Using" to load the form
modally. Without more info, this is my best guess.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top