modify the keyboard queue

G

Guest

Hi

I need to be able to modify the keyboard queue and I have no idea how to do
it. I have a windows app (C#) that should login to another application when
pressing a login button. I have no access to the other application so I would
like to add the username and password to the keyboard queu and login to the
third part application that way.

Is this possible to do? Does anyone knows where to find some information
about this area?

Thanks a lot
Julia
 
O

oscar.acostamontesde

Hello Julia:
Don't understand exactly what you wanna do, but i supose you want to
manipulate the keyboard at a low level. I sugest you to search the web
for a keyboard hook. There are a couple of good examples in
www.codeproject.com
Maybe it's in C, you'll have to wrap the dll to be called from c#
Good luck.

Oscar Acosta
 
G

Guest

Julia said:
I need to be able to modify the keyboard queue and I have no idea how to do
it. I have a windows app (C#) that should login to another application when
pressing a login button. I have no access to the other application so I would
like to add the username and password to the keyboard queu and login to the
third part application that way.

It's not possible to modify the keyboard queue per se. But it is possible
to suppress key events that you don't want to occur, and send your own key
events instead, which should have the same effect.

But from your description it sounds like you don't actually want to modify
the keyboard queue, but rather you want to remote-control another application
by sending it key events. You can use the SendKeys method to do this. We
also offer a .NET component that handles everything keyboard-related for you:

http://www.mini-tools.com/goto/input
 
O

oscar.acostamontesde

You are fast for sales man!!!

Mini-Tools Timm said:
It's not possible to modify the keyboard queue per se. But it is possible
to suppress key events that you don't want to occur, and send your own key
events instead, which should have the same effect.

But from your description it sounds like you don't actually want to modify
the keyboard queue, but rather you want to remote-control another application
by sending it key events. You can use the SendKeys method to do this. We
also offer a .NET component that handles everything keyboard-related for you:

http://www.mini-tools.com/goto/input

--
Timm Martin
Mini-Tools
.NET Components and Windows Software
http://www.mini-tools.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top