unknownloser
Newcomer
Hi. I have a program that begins with opening a form (frm1). I also have a button on the form that directs you to another form (frm2). WHen this button is clicked, frm1 is supposed to close, but it doesn't. Here is my code for the button:
Sub cmdClick
Dim form1 As New frm1
Dim form2 As New frm2
form1.Hide
form2.Show
End Sub
I'm used to working with VB5 And VB6, so if anyone could lend me a hand, I'd really appreciate it. Thanks.
Sub cmdClick
Dim form1 As New frm1
Dim form2 As New frm2
form1.Hide
form2.Show
End Sub
I'm used to working with VB5 And VB6, so if anyone could lend me a hand, I'd really appreciate it. Thanks.