Solved

Read/Write Keyboard Buffer

Posted on 2006-11-01
1
652 Views
Last Modified: 2009-12-16
I need to find someway to access a windows keyboard buffer.  My situation is a little different.  We are so of in the process of migrating from one already existing system to another(a new one we have designed).  But for now we have to maintain both systems.  What I would like to do is be able to programmatically load the keyboard buffer for another window.  For example:

I have a window open for the old software waiting for input.
I am also running our new application.
When I click a certain button, I would like to be able to load the keyboard buffer of the old software's window with a predetermined keystroke sequence.  

How can this be done?????????
0
Comment
Question by:gvector1
1 Comment
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
Comment Utility
Give the old software window focus and then use SendKeys.Send():
http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys.send.aspx
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now