Link to home
Start Free TrialLog in
Avatar of peispud
peispudFlag for Canada

asked on

sendmessage api

Hi.

I am using vb.net 2010

I want to use the sendmessage api to send an alt<k> keystroke and then a ctrl<e>  keystroke to another application.

I already have the handle of the window but I am having trouble with the sendmessage api command.  I keep getting errors.

I would appreciate  a working example.   Thank you.
Avatar of sanket_1985
sanket_1985
Flag of India image

http://www.pinvoke.net/default.aspx/user32.sendmessage

This page shows how to do the job.

Avatar of peispud

ASKER

I've seen that page but I guess I need more help
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peispud

ASKER

Thanks