473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

open New form and hide old

i use the following code to move to another form with in my VB .net project,

Dim myForm As New Form2()
myForm.Show()

however form one remains open,

how can i hide form1,

Roger

Jul 21 '05 #1
1 1290
EMW
try this,

http://msdn.microsoft.com/library/en...asp?frame=true

On page 7 there is a chapter called "Form navigation and Interaction".
It teaches how to open a second form before closing the first the proper
way!

good luck.
Eric
"rodger" <pa*@myisland.spam> schreef in bericht
news:%2****************@TK2MSFTNGP10.phx.gbl...
i use the following code to move to another form with in my VB .net project,
Dim myForm As New Form2()
myForm.Show()

however form one remains open,

how can i hide form1,

Roger

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bill Kinnersley | last post by:
I have a Windows Form with a very large ListView, about 10,000 items. There is a very significant delay each time the form is opened (ShowDialog) or closed (Hide). The ListView has not been...
2
by: rodger | last post by:
i use the following code to move to another form with in my VB .net project, Dim myForm As New Form2() myForm.Show() however form one remains open, how can i hide form1, Roger
5
by: J. Garrido | last post by:
I've been attempting to find out how this is accomplished in .NET, because it appears to be far less simple then in 6. Essentially, I want to be able to hide and display an existing form, instead...
9
by: Pieter | last post by:
Hi, I have some very specific needs, and I am not able to find a nice solution. What I need is: - when the user makes a choice in the Menu, the Form of his choice must open, but: - this Form...
3
by: Karan | last post by:
I am calling finalize when form2 loads and deactivates form1 which closes form1. However, same thing is not happening in form2 because finalize is already called. Does anybody has solution to it....
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
10
by: Dave | last post by:
Access 2002...I need to open a popup at the location of a mouse dblclick. Can anyone help with this? I can get the mouse X & Y, but I'm not sure how to open a form in a specific location by code....
2
by: =?Utf-8?B?VG9kZCBKYXNwZXJz?= | last post by:
Hey guys, I've got a MAIN form, which I have a series of navigational buttons on. When I open a secondary form from that form, I'd like to be able to HIDE the original form. The reason is, if...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.