Solved

Hide and Reappear form

Posted on 2006-11-01
2
273 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Receiving a string from a WebService Push 21 47
VB.Net Report Printing Issue 3 34
ASP/VB email question 4 34
vb.net winforms sizing/resolution? 4 33
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

772 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