Ok, so I'm new to VB.
I have VB 5.0 Professional Edition.

What I want is quite simple, just to chnage the caption of a form in run time.
So, on form 1, there is a text box and a command button, when the button is pressed, it assigns the text in the text box to a variable, then hides the current form and shows another form.
On the new form, when it loads, I have it so the caption is changed to the variable...
However, in run time, it stays blank.

I'm presuming it's cos the variable isn't global?
It's defined in a 'private' sub, so I when I call it in other places it isnt recognized?

Im not sure, new to VB as I say

To change screen do I have to go to a new form?
Or could I put two layouts on there, and when I push the button, it makes certain controls visable property to false and opther to true?
But that seems teidious if Im gunna need several screens?

Any ideas?