Jump to content

Recommended Posts

Posted

Hi i have one question about _IECreate.

In fact, when i use this function, it make an instance of ieexplrer.exe from \Program Files.

But this is the 64 bits version (i m on windows 7), and i need to use the 32bit version because of a flash loading and this one is on \Program Files (X86)\.

Could you give me an advice on this problem ?

thx

Samuel

Posted

Apparently you can, but there appears to be no way directly through COM.

Set WshShell = CreateObject("WScript.Shell") 
WshShell.Run("%windir%\SysWOW64\wscript.exe " & Chr(34) & "C:\Program Files (x86)\IE_InternetExplorer.Application.vbs" & Chr(34))

See http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/95f0a6a2-955a-4e0b-a537-9909f39ab26d/

You should be able to adapt. You should be able to Run or ShellExecute the script, then _IEAttach to it and use it

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Posted

Apparently you can, but there appears to be no way directly through COM.

Set WshShell = CreateObject("WScript.Shell") 
WshShell.Run("%windir%\SysWOW64\wscript.exe " & Chr(34) & "C:\Program Files (x86)\IE_InternetExplorer.Application.vbs" & Chr(34))

See http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/95f0a6a2-955a-4e0b-a537-9909f39ab26d/

You should be able to adapt. You should be able to Run or ShellExecute the script, then _IEAttach to it and use it

Dale

For Run or ShellExecute the script, then _IEAttach : I don't think becaus we have on process ieexplore and another ieexplore *32 : IE_Attach can only attach the same process.

i search with the shell, and tell you

Posted

For Run or ShellExecute the script, then _IEAttach : I don't think becaus we have on process ieexplore and another ieexplore *32 : IE_Attach can only attach the same process.

i search with the shell, and tell you

I don't know what you mean by "IE_Attach can only attach the same process"

_IEAttach has many ways of attaching to a browser instance, including the hwnd of the parent window. I do not have 64-bit and have stayed away from it for just these kinds of issues, so I do not have a configuration to test.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...