3
Contributors
3
Replies
8
Views
9 Years
Discussion Span
Last Post by swapna7999
0

Hi,

Write this Code in Main Form:

Form2.Show
Form2.txtNew.Text = Me.Text1.Text
Form2.lblNew.Caption = Me.Label1.Caption

Regards
Veena

0

everything is possible. In vb 6 you can direct access value from another form of any control (example is done by veena) but in .net you will find encapsulated form.

0

i got another solution

just call

Form1.Text1.Text

from Form2 to access the value of Text1 in the form Form1

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.