?
Solved

Hide and Reappear form

Posted on 2006-11-01
2
Medium Priority
?
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Expert Comment

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

Accepted Solution

by:
ericwong27 earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

752 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