I have two forms as form1 and form2 in my project.in form1 it has textbox as txtid. I take n=txtid.text in from1.then how can I use the same value of n (got at form1) applicable at from2.
Jump to Post
Declare your "n" value in a module -
''In a module... Dim n As String ''In Form1... n = Text1.Text ''In Form2... Text1.Text = n
All 7 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.