Results 1 to 2 of 2

Thread: SendKeys *** RESOLVED ***

Threaded View

  1. #1

    Thread Starter
    Addicted Member d.patrick's Avatar
    Join Date
    Nov 2004
    Location
    Oshkosh, WI
    Posts
    172

    Resolved SendKeys *** RESOLVED ***

    Does anyone know about any oddities with SendKeys.Send?

    I have an application that I am working on that opens another application performs a process and then is supposed to close the application. All of this works great with the help of Megatron. The application that is to be closed pops up a window with an OK button that needs to be pressed before the application will close. According to what I have read SendKeys will send a key to the active application. The application is active but when the code to do the SendKey
    Code:
     SendKeys.Send("{ENTER}")
    is executed the machine just locks up (i.e. mouse will not move, no application appears to have the focus, the mouse cursor switches to the I-beam). If I give it the old 3 finger salute (CTL-ALT-DEL), The task manager comes up and the program stops on the line after the SendKey with no change to anything.

    Does any one have any advice or ideas?
    Last edited by d.patrick; Dec 8th, 2004 at 04:41 PM.

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