vb.net - sendkey to window

Hello there,
I would like to know how can I somehow make a button and make the vb.net app sendkey to notepad like "hello world"
LVL 1
XK8ERAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
CM2013Connect With a Mentor Commented:
the answer is in your question itself: sendkey. Bing it !?

If its just making a button, then that would do. If its complex capturing windows at run time and sending data to them its a different logic, let me know.
0
 
XK8ERAuthor Commented:
process.start("notepad")

doesnt work because notepad is already open and there is text already in it
0
 
CM2013Connect With a Mentor Commented:
Process ID can be used to send the message. You can use hooks instead as well, but thats a bit more work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.