Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
beginner, help in vb.net[solved]
#4
(10-12-2009, 02:50 AM)k1ll3r Wrote: Yes I'm currently using the visible=false method but that gets very messy as i need to add more labels etc... how would i go about loading and unloading new forms?

thanks

You can create new forms and add them to your project, I assume you know how to do that

Now in the Button_Click sub, you insert
Code:
Dim newForm as frmPage2
newForm.show

where frmPage2 is the name of the form you want to show

with if checks you can load different forms then
Reply


Messages In This Thread
beginner, help in vb.net[solved] - by k1ll3r - 10-12-2009, 02:33 AM
RE: beginner, help in vb.net - by Gaijin - 10-12-2009, 02:45 AM
RE: beginner, help in vb.net - by k1ll3r - 10-12-2009, 02:50 AM
RE: beginner, help in vb.net - by Gaijin - 10-12-2009, 02:55 AM
RE: beginner, help in vb.net - by k1ll3r - 10-12-2009, 03:09 AM
RE: beginner, help in vb.net - by Gaijin - 10-12-2009, 03:20 AM
RE: beginner, help in vb.net - by k1ll3r - 10-12-2009, 03:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Solved by Me][lol] How to hide/show desktop icons, click to see example... Resistance 7 2,201 12-12-2010, 04:20 PM
Last Post: NathanE
  [Beginner] Simple Function for retrieving Local Computer IP AceInfinity 11 3,890 10-06-2010, 12:05 PM
Last Post: CATMAN
  [Tut] How to make an auto text spammer in vb 2008. [Beginner] DeMeR 4 4,237 10-04-2010, 07:57 AM
Last Post: Jordan L.
  [C#] DNS to IP [Beginner] Mike 5 1,208 09-09-2010, 06:08 PM
Last Post: pers2981
  [C#] Random Integers [Beginner] Mike 0 669 08-31-2010, 12:57 PM
Last Post: Mike

Forum Jump:


Users browsing this thread: 3 Guest(s)