Click here to Skip to main content
15,891,248 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
Hello code project member..
i was create an application that contains label1.text and textbox1.text
I am used mouse_enter event to generate some text to textbox1.text, example like this below :

VB
TextBox1.text += label1.text


so when iam move my mouse to label1 control, i see my textbox1 filled by label1.text, but now how to send label1.text to another active windows? example how to send label1.text to notepad or addressbar in mozzila firefox using event mouse_enter?

i need some suggestion or solution but without using syntax
VB
sendkeys
.
thanks in advance, i am still beginner in VB need some help.
Posted
Updated 11-Jun-13 19:51pm
v3

1 solution

Hi,
If you want to send to notepad you can do:
File.WriteAllText(@"c:\file.txt", label1.Text);
 
Share this answer
 
Comments
Gun Gun Febrianza 12-Jun-13 6:52am    
vote 5 for you, thanks to visit here and tried to help me.
that is not what i need sir.
praks_1 12-Jun-13 7:12am    
Then what do you want?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900