Solved

Hide and Reappear form

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now