[program-l] WSH: Scripting IE

  • From: "Ian Sharpe" <isforums@xxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Thu, 29 Sep 2005 09:34:45 +0100

Hi All,

I've created a little VBScript file that creates an instance of IE6 using WScript.CreateObject("InternetExplorer.Application") and navigates to a URL. This works fine but when I run the script by double clicking the file in Windows Explorer IE appears behind the file Explorer window. Can anyone please tell me which method I can call to bring IE into focus? Or where I can find an IE COM object reference?

Cheers
Ian


** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx with the Subject:- faq

Other related posts: