Solved

VB's SendKeys does not work in minimzed Remote Desktop

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
array11 challenge 16 59
groupSum6 challenge 6 76
Turning python script into an applet 12 99
Please help| Getting the syntax error in below query. 2 42
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…

943 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

5 Experts available now in Live!

Get 1:1 Help Now