By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,877 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

Tranfer Object value a another object in a different form.

P: n/a
Hi there,

How can I transfer the value of an control to another control in another
form?

Let's say I have a textbox in form1 with a value of 30 in it, now from a
click of a button, the 30 would be copied to a textbox in another active
form.

Some advices, hints on how to accomplish this.

Thanks very much.

Manuel
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Manuel Canas" <mc*****@hotmail.com> wrote in news:9A6Yc.25523$A8.24512
@edtnps89:
How can I transfer the value of an control to another control in another
form?


Session variables.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 21 '05 #2

P: n/a
Manuel,

Do you mean this?

Cor

\\\
Private frm As New Form2
Private Sub Button1_Click(ByVal sender As _
System.Object, ByVal e As System.EventArgs) Handles Button1.Click
frm.TextBox1.Text = Me.TextBox1.Text
frm.Show()
frm.BringToFront()
End Sub
///

How can I transfer the value of an control to another control in another
form?

Let's say I have a textbox in form1 with a value of 30 in it, now from a
click of a button, the 30 would be copied to a textbox in another active
form.

Some advices, hints on how to accomplish this.

Thanks very much.

Manuel

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.