PC Review


Reply
Thread Tools Rate Thread

console app exit

 
 
steve
Guest
Posts: n/a
 
      4th Apr 2005
it seems that i'm required to hit ENTER in order to exit my console app.
this is not very desirable since the app is intended to run as a scheduled
task. sub main creates an object that synchronizes some information via the
internet. the object creates a thread responsible for the communication and
the display of messages to the console. when the object gets a message that
the thread has completed its work (via a raised event) then the object
aborts the thread. at that point, the object is done and returns to sub main
where "end sub" is reached and the app SHOULD go away...i have to hit ENTER
though.

ideas on what i could try?

tia,

steve


 
Reply With Quote
 
 
 
 
steve
Guest
Posts: n/a
 
      4th Apr 2005
never mind.

"steve" <(E-Mail Removed)> wrote in message news:Ttc4e.4201$(E-Mail Removed)...
| it seems that i'm required to hit ENTER in order to exit my console app.
| this is not very desirable since the app is intended to run as a scheduled
| task. sub main creates an object that synchronizes some information via
the
| internet. the object creates a thread responsible for the communication
and
| the display of messages to the console. when the object gets a message
that
| the thread has completed its work (via a raised event) then the object
| aborts the thread. at that point, the object is done and returns to sub
main
| where "end sub" is reached and the app SHOULD go away...i have to hit
ENTER
| though.
|
| ideas on what i could try?
|
| tia,
|
| steve
|
|


 
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
Please help! Cannot exit Recovery Console mama.smith Windows XP 1 22nd Apr 2011 09:50 AM
HELP! I can't exit out of Recovery console DaLyn Windows XP Performance 1 3rd Sep 2008 05:41 AM
Console app to exit itself? =?Utf-8?B?Um9ubmllIFNtaXRo?= Microsoft C# .NET 7 6th Oct 2005 03:54 AM
How can I exit from a console application Vedant Lath Microsoft Dot NET Framework Forms 3 7th Jun 2004 03:20 PM
How to exit console application ron Microsoft C# .NET 1 5th Aug 2003 04:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:54 AM.