R
Randy
Declare frmForm2 at the class level of Form1. Then your
button code would be:
If Me.frmForm2 Is Nothing Then
Me.frmForm2 = New Form2
Me.frmForm2.Show()
Else
Me.frmForm2.Activate()
End If
Randy
button code would be:
If Me.frmForm2 Is Nothing Then
Me.frmForm2 = New Form2
Me.frmForm2.Show()
Else
Me.frmForm2.Activate()
End If
Randy