This code lets you load and open another form.
This code lets you load and open another form.
Rate This code lets you load and open another form.
(1(1 Vote))
'Create a comand butten, "CommandButton1" in "form1"
'then double-click the command butten. This will open the codewindow.
Private Sub CommandButton1_Click()
Load form2
form2.Show
End Sub
' If you test the command button now, it will open the new form.
To remove the new form, create a comand butten, "CommandButton2" in "form2"
double-click the command butten to go to the code-window.
Private Sub CommandButton2_Click()
form2.hide
End Sub
'If you have any questions just send me a mail, and I will help you ASAP.
'Nothing sucks more then getting stuck in VB.
This code lets you load and open another form. Comments
No comments yet — be the first to post one!
Post a Comment