Hello, this is my first time posting here. I am teaching an introductory programming course, but I have one student who is very advanced and needs to be challenged. I am using VB 6.0, and what I want to do is:
-Have user input a number in a textbox in Form1
-Have the program assign that number to a variable named Special (eg.Special = val(txtText1.Text)
-Have the value of Special useable in Form2 (eg. in Text2, Extra = Special + 10), where the value of Special was input in Form1.
How/where do I define/declare Special so that I can use its value in both forms?
I hope I am explaining myself clearly! Thanks in advance.
S