ok here is what i did....
In a Module I put this:
Public InventoryFormOpen As Boolean = False
On my Main form Toolbar I put:
Case 5
If InventoryFormOpen = False Then
Dim NewMDIChild As New frmInventory()
'Set the Parent Form of the Child window.
NewMDIChild.MDIParent = Me
'Display the new form.
NewMDIChild.Show()
Else
End If
Then for my Inventory Form I placed:
Private Sub frmInventory_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Activated
InventoryFormOpen = True
End Sub
Private Sub frmInventory_Closed(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Closed
InventoryFormOpen = False
End Sub
This has apparently kept my Form from showing twice... I am still new to VB and I am sure this is not the "proper way" but hey like I said it works...
The only thing I need to figure out is to make that form the focus form it other forms are open and the toolbar button is pushed....
thats why I have the "Else" area...
Take Care,
Anjari