reset the application

Sean219

Member
Joined
Mar 8, 2007
Messages
8
Programming Experience
Beginner
Hi JohnH , its me again. If i wanna reset the application and not close and open a new one , how am i going to do it ? Using application.restart() ? but i am using vb.net 2003 and there is no restart function, so is there any way to restart or reset ? My example is like those games, the user press F2 for "New Game" .
 
You have to write code to clear/reset those control you want.
 
JohnH, i had found that application.restart() command will close my current form and reopen a new one and start again. If i wan the current form to be reset how am i going to do it ?
 
If you want to reset text in a TextBox to default value you can call its ResetText method. etc.
 
There is no shortcut, if that's what you're asking, you have code all the "resets".
 
Back
Top