Brian Madden Logo
Your independent source for application and desktop virtualization.
advertisement

Howto start Internet Explorer x86 version on x64 platform using automation?, in the Scripting / Automation forum on BrianMadden.com

rated by 0 users
This post has 2 Replies | 1 Follower

Not Ranked
Points 25
Patrik Nyberg Posted: Fri, May 23 2008 6:20 AM
Hi, my first post here.

What I like to do is to start an Internet Explorer with fixed width and height etc according to this script:

et objExplorer = WScript.CreateObject _
("InternetExplorer.Application", "IE_")
objExplorer.Navigate2 "http://www.test.com"
objExplorer.Visible = 1
objExplorer.ToolBar = 0
objexplorer.addressbar = 0
objExplorer.StatusBar = 0
objExplorer.Width=1035
objExplorer.Height = 792

This works ok - but it will only start the x64 version of IE not the x86 version which I want.
Obviously I'm on W2K3 x64 edition, running PS4.
The reason for me to use the x86 version of IE is that we are having various problems with the x64 version, such as window popups and so forth.

So I am wondering if anybody has any solution to this?

Thanks
  • | Post Points: 20
Not Ranked
Points 169
If you're able to, launch your vbscript by explicitly loading the 32bit version of wscript/cscript:

C:\WINDOWS\SysWOW64\wscript.exe

  • | Post Points: 20
Not Ranked
Points 25

Thanks for the answer, that works too.

I did manage to solve it to run syswow64\cmd.exe to start the wscript. Since I already used a command script for starting the app (setting some regsitry settings using regedit before launching the wscript).

Thanks again. Case closed.

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS