Solved

vb.net - sendkey to window

Posted on 2013-06-03
4
366 Views
Last Modified: 2013-06-18
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"
0
Comment
Question by:XK8ER
  • 2
4 Comments
 
LVL 49

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 166 total points
ID: 39215742
0
 
LVL 1

Accepted Solution

by:
CM2013 earned 334 total points
ID: 39216639
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
 
LVL 1

Author Comment

by:XK8ER
ID: 39217233
process.start("notepad")

doesnt work because notepad is already open and there is text already in it
0
 
LVL 1

Assisted Solution

by:CM2013
CM2013 earned 334 total points
ID: 39217593
Process ID can be used to send the message. You can use hooks instead as well, but thats a bit more work.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question