Results 1 to 2 of 2

Thread: SendKeys and Application Activation (SOLVED)

  1. #1

    Thread Starter
    Hyperactive Member Sgt-Peppa's Avatar
    Join Date
    Mar 2003
    Location
    Munich - Germany
    Posts
    476

    Resolved SendKeys and Application Activation (SOLVED)

    Hey all,

    i have searched high and low for this on th net, but could not find a good solution.
    I am trying to send a F5 Key Press to another application from my C# proggy.

    I know to that with the

    Code:
    SendKeys.SendWait("{F5}");
    statement.

    But how can I activate my other Application? I have seen a AppActivate Statement on the net, but I cant find it anywhere in the Framework.

    Any help is appreciated,

    Thanks, Stephan
    Last edited by Sgt-Peppa; May 4th, 2005 at 06:42 AM. Reason: Solved
    Keep Smiling - even if its hard
    Frankie Says Relax, wossname Says Yeah!
    wossname:--Currently I'm wearing a gimp suit and a parachute.
    C# - Base64 Blog

  2. #2

    Thread Starter
    Hyperactive Member Sgt-Peppa's Avatar
    Join Date
    Mar 2003
    Location
    Munich - Germany
    Posts
    476

    Re: SendKeys and Application Activation

    OK I found an example here
    http://www.cshrp.net/content.aspx?showID=952

    That solves it,

    Thanks

    Stephan
    Keep Smiling - even if its hard
    Frankie Says Relax, wossname Says Yeah!
    wossname:--Currently I'm wearing a gimp suit and a parachute.
    C# - Base64 Blog

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