?
Solved

sendmessage api

Posted on 2011-05-13
4
Medium Priority
?
499 Views
Last Modified: 2012-05-11
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.
0
Comment
Question by:peispud
  • 2
4 Comments
 
LVL 5

Expert Comment

by:sanket_1985
ID: 35753042
http://www.pinvoke.net/default.aspx/user32.sendmessage

This page shows how to do the job.

0
 

Author Comment

by:peispud
ID: 35753132
I've seen that page but I guess I need more help
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 35754325
0
 

Author Closing Comment

by:peispud
ID: 35807189
Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Integration Management Part 2
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

809 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