|
-
Oct 29th, 2002, 02:54 PM
#1
Thread Starter
Junior Member
How to make a console application to not stop running ?
Do anyone know how to make a C# console application not to end when the code have beed run.
I start a listning socket in my application but when the application
reach the end of the code the application ends.
-
Oct 29th, 2002, 03:08 PM
#2
System.Windows.Forms.Application.Run(); will do it stick that before the end of the Main routine.
-
Oct 29th, 2002, 03:24 PM
#3
You have to request input to hold the console open. Its basically like the 'Press enter to exit' idea (but don't press enter).
-
Oct 30th, 2002, 12:01 PM
#4
Thread Starter
Junior Member
Thanxs
Originally posted by Edneeis
You have to request input to hold the console open. Its basically like the 'Press enter to exit' idea (but don't press enter).
Thanxs!!!!
-
Oct 30th, 2002, 03:25 PM
#5
yay gay
or run in not debug mode...that way it wont close
-
Nov 3rd, 2002, 01:56 AM
#6
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|