473,395 Members | 1,978 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,395 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 1291
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.