Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hi my friends.
i have program in vb.net.
i want click button in program then program be restart. i mean program exit and start again itself.
how can i do this?
Posted
Comments
Sergey Alexandrovich Kryukov 9-Jul-14 2:13am    
Why?!
—SA

Refer: Application.Restart() Does Not Work Properly?[^] There is a vb.net translation under the Comments and Discussions section after the article.
 
Share this answer
 
create a class with
Application.Restart();
function and then call it from the main form.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900