Using Multiple Forms in VB.NET

ychhuong

New member
Joined
Oct 23, 2005
Messages
2
Location
Cambodia
Programming Experience
1-3
In VB 6 we can use access data in the others forms easily, but in VB.Net It is a little bit difficult to use multiple forms and access data in the other forms. Are there any easy ways to do this?
 
when using multiple forms, you have to declare and instantiate them yourself
meaning you make a variable of the form and you can show/hide the form this way

plus you can access the objects on that form through the same variable

it's much more powerful than vb6, do a quick search on this forum for "Multiple Forms" i'm sure you'll find lots of different ways of achieving this
 
It depends on what version of Vb.net you are using...

In 2005 version (newest) you can just do FORMNAME.Show()

but in Vb.net (vb 7) you have to declare the form as a new form... then do form.show
 
Vb Noob said:
It depends on what version of Vb.net you are using...

In 2005 version (newest) you can just do FORMNAME.Show()

but in Vb.net (vb 7) you have to declare the form as a new form... then do form.show
Grrr.... Two steps forward.....

And one giant leap back....

-tg
 
My word, I didn't realise they were planning that. That's just plain ridiculous. It's almost as though Visual Basic isn't allowed to become a respectable language! How are people ever going to learn good practise when Microsoft add inconsistencies like that. *Walks off in a huff, mumbling rude words*
 
It's because of people who refuse to give up their nasty VB6 ways..... time to let go people. VB6 has been taken off of the machine. Allow it to die with dignity.

-tg\
 
Back
Top