• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 683
  • Last Modified:

VB's SendKeys does not work in minimzed Remote Desktop

VB's SendKeys does not work in minimzed Remote Desktop

I find a solution here to overcome the sendkeys problem on remote desktop machines, unfortunately that does not work.

I copied the vb programm to an W2003 server that is controlled by remote desktop.

It works so far the remote desktop is connected and the window is not minimized.
If I minimize the remote desktop window it immediately stops sending keys.

The attached code is from your website.

Many Thanks in advanced
0
UweSt
Asked:
UweSt
  • 2
1 Solution
 
bmatumburaCommented:
Don't quite remember, but I think a minimized window can't accept key strokes. Restore the window first before sending using the SendKeys function
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now