console app exit

S

steve

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
 
S

steve

never mind.

| 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
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top