Solved

Setting Focus

Posted on 1998-10-03
2
176 Views
Last Modified: 2010-04-30
how do i set focus to an app that i just started with the shell sub
0
Comment
Question by:hess
2 Comments
 
LVL 3

Accepted Solution

by:
TheAnswerMan earned 20 total points
ID: 1437989
Use the MAximized Propety of the Shell command..
bam.. it pop up..

You could also Set the SetWindowPos API call to set it to be the Top Window.
0
 

Author Comment

by:hess
ID: 1437990
why do i have to put
var=shell(string,vb...)
for it to work and not
shell(string,vb...)
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 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