By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,064 Members | 1,524 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,064 IT Pros & Developers. It's quick & easy.

passing a value from one form to a label in another form

P: 1
I am new to VB and I have a question..
I have two forms. First form has two group boxes with radio buttons for each option, a few buttons to clear and exit, and a button to calculate. When the user clicks the calculate button I need the second form to display the total. How do I do this, I have no code written for it. THANKS FOR ANY HELP YOU CAN GIVE!
Mar 6 '13 #1
Share this Question
Share on Google+
1 Reply


IronRazer
P: 83
To set the text on Form2 from Form1 you could do this
Expand|Select|Wrap|Line Numbers
  1. Form2.Text = CStr(TotalVariable)
Mar 6 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.