Solved

Hide and Reappear form

Posted on 2006-11-01
2
274 Views
Last Modified: 2010-04-23
When I open another form up, from a form like below, how can I make the first form hide, but not disappear  And then when the form open is closed, make the first form reappear?

            Dim frmWebKit_Main As New frmWebKit_Main
            frmWebKit_Main.ShowDialog()
            frmWebKit_Main.Dispose()
0
Comment
Question by:chrisryhal
2 Comments
 
LVL 10

Expert Comment

by:gangwisch
ID: 17848946
frmWebKit.WindowState=FormWindowState.Minimized
0
 
LVL 10

Accepted Solution

by:
ericwong27 earned 500 total points
ID: 17849011
Public Class Form2

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        ' Make the first form hide
        Me.Visible = False

        ' Open another form up
        Dim frm As New Form3
        frm.ShowDialog()

        ' Make the first form reappear
        Me.Visible = True

    End Sub

End Class
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question