Dave Crash Dummy wrote:
> I discovered (to my annoyance) some time ago that when IE is run as an
> application object in a VB script on my 64 bit Windows machine, the
> 64 bit IE kernel is used, and if IE is called when the script IE is
> running, say by clicking a link, IE x64 is called instead of IE x86.
How were you creating the IE object before?
> So, to effectively make IE x64 the default browser, I just have to run
> a small script (one line) to activate the InternetExplorer
> application.
>
> '================== IE64run.vbs =================
> Set IE = CreateObject("InternetExplorer.Application")
> '=============================================
>
> This can be done manually, or from the Startup folder. To disable it,
> use the Task Manager.
Um, why isn't this included in the VBscript where you want to *use* this
object?
> I have only just come up with this scheme, so I don't know if it will
> work (or is desirable) in all situations. Also, I am running IE 8 not
> IE 9. Feedback welcome and desired.
That's pretty much what I see used at many sites showing their code,
some pretty dated, like:
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
http://technet.microsoft.com/en-us/l.../ee176580.aspx
http://quicktestprofessional.wordpre...ie-automation/
http://www.visualbasicscript.com/quo...-1-m61686.aspx
http://visualbasic.about.com/od/stan...ieinstance.htm
Seems a topic more appropriate (for continued discussion) to the
microsoft.public.scripting.vbscript newsgroup. I see you've been over
there before.