?
Solved

VB's SendKeys does not work in minimzed Remote Desktop

Posted on 2009-04-08
4
Medium Priority
?
655 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
bmatumbura earned 2000 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Progress
Introduction to Processes
Suggested Courses

770 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