G'day all
Just haveing a little problem that has stopped me in my tracks.
I'm trying to use _IECreate to open a browser abd keep getting an error code 1 "1 ($_IEStatus_GeneralError) = General Error"
I looked into the UDF and it isn't creating the Internet explorer Object.
I'm on a Windows XP Pro SP3 computer with IE 8.
I put together this little tester together to isolate the fault but it's hasn't given me a lot of help.
The output is
I do have IE installed and it's working perfectly for me as a browser. Just not from Autoit.
I'm hoping someone has run into this before adn knows a solution.
Thanks for any assistance!!
John Morrison
Just haveing a little problem that has stopped me in my tracks.
I'm trying to use _IECreate to open a browser abd keep getting an error code 1 "1 ($_IEStatus_GeneralError) = General Error"
I looked into the UDF and it isn't creating the Internet explorer Object.
I'm on a Windows XP Pro SP3 computer with IE 8.
I put together this little tester together to isolate the fault but it's hasn't given me a lot of help.
[ autoit ]
#include <IE.au3> ConsoleWrite("Start ObjCreate shell.application @error = " & @error [email="&@cr"]&@cr[/email]) Local $oShell = ObjCreate("shell.application") ; Get the Windows Shell Object If @error Then $error = @error MsgBox(0, "ERROR ObjCreate shell.application", $error) ConsoleWrite("ERROR ObjCreate shell.application @error = " & $error [email="&@cr"]&@cr[/email]) EndIf ConsoleWrite("Start ObjCreate InternetExplorer.Application @error = " & @error [email="&@cr"]&@cr[/email]) Local $o_object = ObjCreate("InternetExplorer.Application") If @error Then $error = @error MsgBox(0, "ERROR ObjCreate InternetExplorer.Application", $error) ConsoleWrite("ERROR ObjCreate InternetExplorer.Application @error = " & $error [email="&@cr"]&@cr[/email]) EndIf ConsoleWrite("Start _IECreate @error = " & @error [email="&@cr"]&@cr[/email]) Local $oIE = _IECreate("[url="http://www.autoitscript.com"]www.autoitscript.com[/url]") If @error Then $error = @error MsgBox(0, "ERROR _IECreate", $error) ConsoleWrite("ERROR _IECreate @error = " & $error [email="&@cr"]&@cr[/email]) EndIf
The output is
Start ObjCreate shell.application @error = 0 Start ObjCreate InternetExplorer.Application @error = 0 ERROR ObjCreate InternetExplorer.Application @error = -2147023706 Start _IECreate @error = 0 --> IE.au3 V2.4-0 Error from function _IECreate (Browser Object Creation Failed) ERROR _IECreate @error = 1
I do have IE installed and it's working perfectly for me as a browser. Just not from Autoit.
I'm hoping someone has run into this before adn knows a solution.
Thanks for any assistance!!
John Morrison