U
Uplink2069
Guest
could someone help me with a visual basic task i have. i need to set a variable from a text box, which i can do (see below)
Private Sub Command1_Click()
Dim MyVar
MyVar = Text1.Text
Text2.Text = MyVar
End Sub
but how do i get it to add the data in Text1 to the computers clipboard for use in other programs (such as notepad) instead of just moving the text?im not sure if this is possible in VB but it would be very useful if someone out there knows if it can be done, and if so, how.
Private Sub Command1_Click()
Dim MyVar
MyVar = Text1.Text
Text2.Text = MyVar
End Sub
but how do i get it to add the data in Text1 to the computers clipboard for use in other programs (such as notepad) instead of just moving the text?im not sure if this is possible in VB but it would be very useful if someone out there knows if it can be done, and if so, how.