By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,579 Members | 1,770 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,579 IT Pros & Developers. It's quick & easy.

console app exit

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
never mind.

"steve" <a@b.com> wrote in message news:Tt****************@fe07.lga...
| 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
|
|
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.