943,511 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Marked Solved
  • Views: 604
  • VB.NET RSS
Sep 6th, 2009
0

Best way to go about opening a new form

Expand Post »
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
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
leroi green is offline Offline
93 posts
since Oct 2007
Sep 6th, 2009
-2

Re: Best way to go about opening a new form

on button click event
me.close()
frmnewform.show()
Reputation Points: -1
Solved Threads: 23
Posting Whiz in Training
babbu is offline Offline
207 posts
since Jun 2009
Sep 6th, 2009
0

Re: Best way to go about opening a new form

frmnewform.show()
me.close()
else the application will shut down if his properties are set to "shutdown when startupp form closeing"
Featured Poster
Reputation Points: 208
Solved Threads: 168
Practically a Master Poster
GeekByChoiCe is offline Offline
692 posts
since Jun 2009
Sep 6th, 2009
0

Re: Best way to go about opening a new form

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?
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
leroi green is offline Offline
93 posts
since Oct 2007
Sep 7th, 2009
0

Re: Best way to go about opening a new form

Drag the toolsfrom the tool box onto the form
Reputation Points: 10
Solved Threads: 0
Newbie Poster
adam1991 is offline Offline
8 posts
since Sep 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Problem with Socket Program
Next Thread in VB.NET Forum Timeline: How to search fo a string in access database?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC