form image when closed

  • Thread starter Thread starter Brian
  • Start date Start date
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?
 
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.
 
Back
Top