CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2001
    Posts
    24

    Sending messages to other programs.

    How would I got about sending the message of a key being pressed to a different program.

    Example: a program that sends the message of the Enter key being pressed to internet explorer.

    Thanks in advance!


  2. #2
    Join Date
    Apr 2000
    Posts
    737

    Re: Sending messages to other programs.

    try vb function SendKeys


    HTH

    cksiow
    http://vblib.virtualave.net - share our codes

  3. #3
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Sending messages to other programs.

    You can find the hadle of the window of the another app and use SendMessage API

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured