Solved

VB's SendKeys does not work in minimzed Remote Desktop

Posted on 2009-04-08
4
600 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Adobe Customization Wizard XI issues 26 169
strDist challenge 35 84
wordlen challenge 3 49
Please explain: Aspect Oriented Programming 2 57
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
This is about my first experience with programming Arduino.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now