Dim ListMng As New frmListMng(data Class)
' Display the child form.
ListMng.MdiPare nt = Me.MdiParent
ListMng.Show()
Me.Close()
This code will create a new form and then close the current one...the parent one.
A much simpler way to do this is to create a form in your project, say frm_test. Then in the button (or whatever the user clicks to open frm_test) just simply put: frm_test.show()
That will show the form and keep the other window open.
Comment