Can anyone see what is wrong.
I have done a short program that should paste texbox1.text into textbox2.text (if i am understanding things right).
When button1 is clicked textbox2 goes blank (no text). The text in textbox1 is "textbox1", shouldn't that be copied?
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
hw.new1 'hw is a Hardware object.
End Sub
Sub Button1_Click
hw.SetClipboardData(textbox1.Text)
textbox2.Text=hw.GetClipboardData
End Sub
I have done a short program that should paste texbox1.text into textbox2.text (if i am understanding things right).
When button1 is clicked textbox2 goes blank (no text). The text in textbox1 is "textbox1", shouldn't that be copied?
Sub Globals
'Declare the global variables here.
End Sub
Sub App_Start
Form1.Show
hw.new1 'hw is a Hardware object.
End Sub
Sub Button1_Click
hw.SetClipboardData(textbox1.Text)
textbox2.Text=hw.GetClipboardData
End Sub