no idea why it would quit - what type of application is this? a winform or a command prompt? if its a command prompt, you would need to do read a user input before quiting as this is what it does - it goes straight ahead and quits unless there is a user input to be required, use something like :
string theInput = Console.ReadLine();
or something like this - it will wait and read the input from the user before continuing ahead
Need 2 be back @ MS - MS All the way! Follower since 1995 MS Super Evangelist| MSDN Forums Moderator |