473,396 Members | 2,059 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,396 software developers and data experts.

quick question.

eva
How do i navigate between forms in vb.net??

in the old vb i used to do form2.show, but this doesnt
seem to work.
Nov 22 '05 #1
3 1099
dim frm2 as new frm2

frm2.show

Cheers

--
Jody
[MCSD.Net]
"eva" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
How do i navigate between forms in vb.net??

in the old vb i used to do form2.show, but this doesnt
seem to work.

Nov 22 '05 #2
Eva
Hi Jody,

thx for your help. It worked a treat.
Do i always need to declare a new instance of the form to
display it via the show method?

-----Original Message-----
dim frm2 as new frm2

frm2.show

Cheers

--
Jody
[MCSD.Net]
"eva" <an*******@discussions.microsoft.com> wrote in messagenews:02****************************@phx.gbl...
How do i navigate between forms in vb.net??

in the old vb i used to do form2.show, but this doesnt
seem to work.

.

Nov 22 '05 #3
Eva

most things in .net are objects now which need to be instanced to be able to
reference them in any way. the older versions of VB and VBA etc kind of
break those rules to make things easier to work with.

It does take a little getting used to but after a very short time you will
start to prefer the OO style programming as it makes more sense......

Hope you enjoy.... just remember, don't try and reference any forms
directly from modules or external functions pass the new values back or pass
them as parameters and you shouldn't have any problems

Cheers

--
Jody
[MCSD.Net]

"Eva" <an*******@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
Hi Jody,

thx for your help. It worked a treat.
Do i always need to declare a new instance of the form to
display it via the show method?

-----Original Message-----
dim frm2 as new frm2

frm2.show

Cheers

--
Jody
[MCSD.Net]
"eva" <an*******@discussions.microsoft.com> wrote in

message
news:02****************************@phx.gbl...
How do i navigate between forms in vb.net??

in the old vb i used to do form2.show, but this doesnt
seem to work.

.

Nov 22 '05 #4

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

Similar topics

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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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.