Best way to go about opening a new form

Please support our VB.NET advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Oct 2007
Posts: 89
Reputation: leroi green is an unknown quantity at this point 
Solved Threads: 0
leroi green leroi green is offline Offline
Junior Poster in Training

Best way to go about opening a new form

 
0
  #1
Sep 6th, 2009
hey all,

I have a form where a user selects from a couple radio buttons. once THAT button is selected i want a new form to load where the user has to fill out personal info and submit.

what's the best and easiest way to set this up?

like:

1) button selected
2) that form disappears
3) new form that requires text info loads
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 143
Reputation: babbu has a little shameless behaviour in the past 
Solved Threads: 14
babbu babbu is offline Offline
Junior Poster

Re: Best way to go about opening a new form

 
-2
  #2
Sep 6th, 2009
on button click event
me.close()
frmnewform.show()
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 269
Reputation: GeekByChoiCe is on a distinguished road 
Solved Threads: 54
GeekByChoiCe GeekByChoiCe is offline Offline
Posting Whiz in Training

Re: Best way to go about opening a new form

 
0
  #3
Sep 6th, 2009
frmnewform.show()
me.close()
else the application will shut down if his properties are set to "shutdown when startupp form closeing"
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 89
Reputation: leroi green is an unknown quantity at this point 
Solved Threads: 0
leroi green leroi green is offline Offline
Junior Poster in Training

Re: Best way to go about opening a new form

 
0
  #4
Sep 6th, 2009
thanx babbu and geek.

i got that working great.

now, with the new form that loads... how do i edit it? you know, add text boxes, labels buttons, etc.?

any suggestions?
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 8
Reputation: adam1991 is an unknown quantity at this point 
Solved Threads: 0
adam1991 adam1991 is offline Offline
Newbie Poster

Re: Best way to go about opening a new form

 
0
  #5
Sep 7th, 2009
Drag the toolsfrom the tool box onto the form
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the VB.NET Forum
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC