Sunday, November 21, 2010

How do you pass variables from one form to another in vb 6.0?

I've got two variables I want to pass from form 1 to form 2. I used Public to declare them as global variables. Then I set two textboxes on the second form to show the values of the two variables, so I could check that it was working but nothing comes up.

Anyone got any ideas?



Thanks in advance!!How do you pass variables from one form to another in vb 6.0?
Since they are global it is pretty easy.



dim otherFrm as form2

form2.variable = x
  • get him to notice me
  • No comments:

    Post a Comment