VB.Net- New Form (1 Viewer)

geniass

New Member
Joined
Oct 11, 2003
Messages
26
For my major project I need to have mutiple forms, but I can't get more than one form to work at once. Help????
I can get a second form to appear but it doesn't acutally have anything on it...someone has something with oForm or something like that?
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
What do you mean you can't get more than one form to work at once? you mean showing another form?... If you want to show another form, you just instantiate the form you want to show by calling the New keyword.

e.g.


Dim myForm as New FormName

myForm.Show()
 

Protector

a little unsane
Joined
Nov 20, 2003
Messages
174
Location
Sydney
Gender
Male
HSC
2006
I thought it was something like:

Assuming the Form name is form
PHP:
form.Show
Where does the () come from?! rofl.
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by Protector
I thought it was something like:

Assuming the Form name is form
PHP:
form.Show
Where does the () come from?! rofl.

Take note.. this is VB.NET!
Not VB6

the parenthisis indicates a null argument.
 

Protector

a little unsane
Joined
Nov 20, 2003
Messages
174
Location
Sydney
Gender
Male
HSC
2006
Yeah just noticed... *shudders* we just updated to .NET and it worked though... or it fixed itself... *shrugs*
 

geniass

New Member
Joined
Oct 11, 2003
Messages
26
yeh that is what i thought too but when i tried it it does come up with a new form, but there is nothing on the form, its just blank....
 

Winston

Active Member
Joined
Aug 30, 2002
Messages
6,128
Gender
Undisclosed
HSC
2003
Originally posted by geniass
yeh that is what i thought too but when i tried it it does come up with a new form, but there is nothing on the form, its just blank....
MSN me, you got me, and i'll help you out.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top