-
Hi everybody!
I am in the process of coding a small vb app. that collects info from the user in a series of text boxes, more of which become visible as the user progresses.I
want a way of resetting the app. to its start up condition if the user enters the wrong data (start again kind of thing) could anyone tell me how to do this please?
Thanks in advance
-
You mean reset the textboxes to a blank string?
Code:
Dim ctl As Control
For Each ctl in Controls
If TypeOf ctl Is TextBox Then ctl = ""
Next ctl