PC Review


Reply
Thread Tools Rate Thread

application not closed properly

 
 
wanwan
Guest
Posts: n/a
 
      12th Feb 2007
I have a few programs written that can't be closed completely.

I click on the 'x' and the form closes, but the program still shows
in task manager. I tried using Application.exit() in form_closing
event and it didn't work.

any suggestion please

 
Reply With Quote
 
 
 
 
Newbie Coder
Guest
Posts: n/a
 
      12th Feb 2007
Are they your apps in Process list or do you create MS Office objects too
that aren't closing?

Are you using threading?

--
Newbie Coder
(It's just a name)


 
Reply With Quote
 
Miro
Guest
Posts: n/a
 
      12th Feb 2007
If there are threads running you have to close them all properly.

Maybe you have a socket open?

Make sure you hae something like

Socket.close()
Thread.abort()

before you close your app.

M.



"wanwan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a few programs written that can't be closed completely.
>
> I click on the 'x' and the form closes, but the program still shows
> in task manager. I tried using Application.exit() in form_closing
> event and it didn't work.
>
> any suggestion please
>



 
Reply With Quote
 
wanwan
Guest
Posts: n/a
 
      13th Feb 2007
On Feb 12, 4:32 pm, "Miro" <miron...@golden.net> wrote:
> If there are threads running you have to close them all properly.
>
> Maybe you have a socket open?
>
> Make sure you hae something like
>
> Socket.close()
> Thread.abort()
>
> before you close your app.
>
> M.
>
> "wanwan" <ericwa...@yahoo.com> wrote in message
>
> news:(E-Mail Removed)...
>
> >I have a few programs written that can't be closed completely.

>
> > I click on the 'x' and the form closes, but the program still shows
> > in task manager. I tried using Application.exit() in form_closing
> > event and it didn't work.

>
> > any suggestion please


ya, I forgot to stop a thread. Thanks.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not Closed Properly wrytat Microsoft Outlook Discussion 1 30th Apr 2009 06:54 AM
Not Closed properly always? Mr. Hobbes Microsoft Outlook Discussion 1 19th Mar 2009 07:28 PM
.pst file not closed properly Alan Shepro Microsoft Outlook 4 19th Jan 2009 04:25 AM
Archive not properly closed =?Utf-8?B?amdyYW5kYQ==?= Microsoft Outlook Discussion 1 25th Jan 2006 04:25 PM
Mailbox not closed properly =?Utf-8?B?TWFydGluRw==?= Microsoft Outlook Discussion 0 4th Mar 2005 04:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:04 PM.