Solved

vb code to bring app into focus

Posted on 2010-08-23
3
365 Views
Last Modified: 2012-05-10
In windows xp i would use the sendkeys function to change focus from one app to another but it doensn't work in win7......  any suggestions??
0
Comment
Question by:crcevans
  • 2
3 Comments
 

Accepted Solution

by:
crcevans earned 0 total points
ID: 33504301
I found it............  AppActivate
0
 
LVL 13

Expert Comment

by:MWGainesJR
ID: 33504313
try:
AppActivate "Appplication Title"
0
 
LVL 13

Expert Comment

by:MWGainesJR
ID: 33504319
dang it....you just beat me.....lol
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

828 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