Loading another form(please help)

Talk about your favorite PC games, Steam and building awesome custom rigs!

Moderator: Moderators

Post Reply
ghosstt
Senior Member
Posts: 1551
Joined: Mon Feb 26, 2007 4:14 pm

Loading another form(please help)

Post by ghosstt »

ok, i want to have when you click a button another form pops up. NOT A MESSAGE BOX, a form. what is the code for this? i have dim'd the form already.

vb.net 08 beta
bicostp
Moderator
Posts: 10491
Joined: Mon Mar 07, 2005 5:47 pm
Steam ID: bicostp
Location: Spamalot
Contact:

Post by bicostp »

It's been a while, but I think it's something like this:

MyForm.Show

where MyForm is the name of your form.
Skyone
Moderator
Posts: 6390
Joined: Tue Nov 29, 2005 8:35 pm
Location: it is a mystery
Contact:

Post by Skyone »

If you've already dimmed the form (Dim useform as Form2) then just call useform.Show.
lifeisbetterwithketchup
Senior Member
Posts: 2180
Joined: Fri Jul 21, 2006 12:08 pm
Steam ID: lifeisbetterwithketchup
Location: Illinois. Whee.

Post by lifeisbetterwithketchup »

Skyone wrote:If you've already dimmed the form (Dim useform as Form2) then just call useform.Show.
I believe you have to declare it as "dim thisform as new Form2".
Rekarp wrote:
mako321 wrote:What makes you head ninja, anyways? :wink:
Cause I am Abe F#!@ing Lincoln. :mrgreen:
Post Reply