This code I place on my child form that I want to open only one copy.
Private Shared formInstance As frmNewKingdom 'this is the name of the child form
Public Shared ReadOnly Property Instance() As frmNewKingdom 'this is the name of the child form
'checks to see if the form is open already and opens
'the for if it hasn't already been open.
Get
If formInstance Is Nothing Then
formInstance = New frmNewKingdom 'this is the name of the child form
End If
Return formInstance
End Get
End Property
You will have to set formInstance to nothing when the form closes so that you can open the form again. I hope this helps you. If you have any questions let me know.
-Car