VB 2005 Express Edition
-
Hello, I'm not sure what you want is something like this:
Dim Newform1 as new Form1
Newform1.show() ' To Load a formNewform1.Close() 'To Unload
'Or
Newform1.Hide() 'To Unload
I just hope it helps you. :)
modified on Monday, February 23, 2009 1:17 AM
-
Hello, I'm not sure what you want is something like this:
Dim Newform1 as new Form1
Newform1.show() ' To Load a formNewform1.Close() 'To Unload
'Or
Newform1.Hide() 'To Unload
I just hope it helps you. :)
modified on Monday, February 23, 2009 1:17 AM
-
yes..dats rite!!..but the form will restart,rite?..i dont want the form to restart.. plss...help me..txx
-
Form.Close() will close the form, it will not restart.
-
How many times are you going to ask the same question and ignore the answers you've been given?? There is no method to "reset" a form unless you write code to reset all of the values and controls you need, yourself. If this is a child form you're talking about, all you need to do is create a new instance of the form, show it, get the values you need from it, then call Dispose on that instance. Every new instance you create will be created with the same initial values you specify in it's design and startup code.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008