Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,684 of 10,840    |
|    Geoff to All    |
|    Newbie again- trouble with public variab    |
|    07 Oct 05 20:40:15    |
      From: gfriar@freenetname.co.uk              Any help would be really appreciated. What am I doing wrong? Simply trying       to pass a string from Txt1 (a text box) on Form1 so that it appears in Txt2       as Form2 loads                             '===========================================              'Code for form1              Option Explicit              Public ManName As String                            Private Sub But1_Click()               Form2.Show               Form1.Hide                             ManName = Me.Txt1              End Sub                            '=============================================              'Code for Form2              Option Explicit                            Private Sub Form_Load()               Me.Txt2 = Form1.ManName              End Sub                                                 Many thanks                            Geoff              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca