Hello guys...
I just want to know how to close current child form and opens another? In vb.net
Thanks in advance....

Recommended Answers

To close a form use the Close() method of the form to close.
To open a form, you must first instantiate the form, then use the Show() or ShowDialog() method of the form to 'open' it.

If you need futher help, please post your code.
Hope this helps

Jump to Post

All 2 Replies

To close a form use the Close() method of the form to close.
To open a form, you must first instantiate the form, then use the Show() or ShowDialog() method of the form to 'open' it.

If you need futher help, please post your code.
Hope this helps

See if this helps.

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
        With New Form3 '// Child.Form
            .MdiParent = Me '// Parent.Form
            .Show() '// get.results.:)
        End With
    End Sub
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.