Solved

VB's SendKeys does not work in minimzed Remote Desktop

Posted on 2009-04-08
4
636 Views
Last Modified: 2012-05-06
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
Comment
Question by:UweSt
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
bmatumbura earned 500 total points
ID: 24096822
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
 
LVL 11

Expert Comment

by:bmatumbura
ID: 24096904
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
firstswap challenge 20 82
C# code editing and collaboration 3 137
"Black Box" Testing of Control System Software 2 72
VB.net and sql server 4 45
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.

821 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