Re: Application Still In Use after Closing Main Form
From: Neelima Godugu (gneelima_at_HOTMAIL.COM)
Date: 08/30/04
- Next message: Neelima Godugu: "Re: Application Still In Use after Closing Main Form"
- Previous message: Dan Diephouse: "Re: SoapException"
- In reply to: Trollpower: "Re: Application Still In Use after Closing Main Form"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 30 Aug 2004 12:24:02 -0500
I am doing the following
1.Closing DB Connection
2. Main_Form.Close();
"Trollpower" <trollpower@gmx.de> wrote in message
news:abcbca9.0408270157.66836778@posting.google.com...
> What do you do to close/exit your app. I use Application.exit which work
great.
>
> Do you hide the Forms or do you close them (Form.Close() oder
Form.hide())?
>
> Greetings
>
> Jens
>
> "Neelima Godugu" <gneelima@HOTMAIL.COM> wrote in message
news:<uXAPQq7iEHA.3456@TK2MSFTNGP12.phx.gbl>...
> > Hi
> > I checked and there are no threads.
> > I also tried making frmEntityList the Startup class and it did not help.
> > Is there any way to detect what objects are still in use after the
> > application shutsdown?
> > Thanks
> >
> > "Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> wrote in message
> > news:OQs$rF7iEHA.2688@TK2MSFTNGP15.phx.gbl...
> > > 1. The form is closed, not minimized? If it's a PPC and it has an
(X)
> > > instak of (ok) in the corner, then it's only minimized.
> > > 2. Are you running any worker threads that you don't stop befoer
leaving
> > the
> > > app?
> > >
> > > -Chris
> > >
> > >
> > > "Neelima Godugu" <gneelima@HOTMAIL.COM> wrote in message
> > > news:esYfhA7iEHA.3232@TK2MSFTNGP10.phx.gbl...
> > > > Hi
> > > > I am experiencing a weird issue.
> > > > I have an application that has multiple forms.The Startup class of
the
> > > > application is a Class(not a form) named Application.
> > > > I instantiate all forms in the static Main method of this class.
> > > > Finally I do
> > > > System.Windows.Forms.Application.Run(frmEntityList);
> > > > at the end of main method.
> > > >
> > > > To exit from the app I do the following
> > > >
> > > > 1. Close DB Connection
> > > > 2. frmEntityList.Close();
> > > >
> > > > The form disappears but the application is still in use. I verified
this
> > by
> > > > trying to overwrite the Application exe.
> > > >
> > > > I am baffled by this.
> > > >
> > > > Your help is appreciated.
> > > >
> > > > TIA
> > > > Neelima Godugu
> > > >
> > > >
> > >
> > >
- Next message: Neelima Godugu: "Re: Application Still In Use after Closing Main Form"
- Previous message: Dan Diephouse: "Re: SoapException"
- In reply to: Trollpower: "Re: Application Still In Use after Closing Main Form"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|