Setting Focus

how do i set focus to an app that i just started with the shell sub
hessAsked:
Who is Participating?
 
TheAnswerManConnect With a Mentor Commented:
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
 
hessAuthor Commented:
why do i have to put
var=shell(string,vb...)
for it to work and not
shell(string,vb...)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.