restart form

frix199

Member
Joined
Jul 18, 2005
Messages
19
Programming Experience
1-3
hello every1!!!

does anybody knows how can some1 "reset" the form in vb.net....

like...start again from the begining??

i bet kulrom would knew that but he's not online now :D

from greece with love:cool:
 
there are several ways you could do this

1. make a sub that clears all the textbox's and listbox/comboboxs and that not then whenever you need the form to be "reset" just call this sub

2. if it's a form that's opened from another form in the parent form you can make a Friend Sub that will close the current form and make a new instance of it and open it, then when you need the form to be "reset" the form just call the parent form's sub
 
Back
Top