Floppy Posted May 23, 2009 Posted May 23, 2009 I get this error in the IE.au3 function. Why? C:\Program Files\AutoIt3\Include\IE.au3 (316) : ==> The requested action with this object has failed.: $o_object.navigate($s_Url) $o_object.navigate($s_Url)^ ERROR >Exit code: 1 Time: 21.475
GEOSoft Posted May 23, 2009 Posted May 23, 2009 I have a funny squeak under the hood of my car. Why? Check the error codes after each function call. Probable that the object was not created or you called the navigation incorrectly. No more code = no more help. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
Floppy Posted May 24, 2009 Author Posted May 24, 2009 (edited) I think you should post your code Here it is: #include <GuiConstants.au3> #include <IE.au3> GUICreate('test',500,500) $g=GUICtrlCreateButton('go',10,10,400,20) $ie=_IECreateEmbedded() GUISetState() While 1 If GUIGetMsg()=$GUI_EVENT_CLOSE Then Exit If GUIGetMsg()=$g Then _IENavigate($ie,'www.google.com') WEnd I have a funny squeak under the hood of my car. Why?Why don't you go to a mechanic? This is the forum of AutoIt, not a forum of cars. See here: http://www.google.com/#hl=en&q=car+for...;fp=Li-R6mbKWrc Edited May 24, 2009 by FSoft
BigDod Posted May 24, 2009 Posted May 24, 2009 Try #include <GuiConstants.au3> #include <IE.au3> GUICreate('test', 500, 500) $g = GUICtrlCreateButton('go', 10, 10, 400, 20) $ie = _IECreateEmbedded() $GUIActiveX = GUICtrlCreateObj($ie, 10, 40, 480, 440) GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $g _IENavigate($ie, 'www.google.com') EndSelect WEnd GUIDelete() Exit Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
GEOSoft Posted May 24, 2009 Posted May 24, 2009 (edited) That comment about the squeak in the car was just a paraphrased version of your first post, they amounted to the same thing. #include <GuiConstants.au3> #include <IE.au3> $ie=_IECreateEmbedded() GUICreate('test',500,500) $g=GUICtrlCreateButton('go',10,10,400,20) $g_obj = GUICtrlCreateObj($ie, 10, 40, 480, 440) GUISetState() While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit Case $g _IENavigate($ie,'http://www.google.com') EndSwitch WEnd Edited May 24, 2009 by GEOSoft George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
GEOSoft Posted May 24, 2009 Posted May 24, 2009 That BigDod is just getting way too fast. George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!"
Floppy Posted May 24, 2009 Author Posted May 24, 2009 That comment about the squeak in the car was just a paraphrased version of your first post, they amounted to the same thing.I know...I'm joking!!!Thanks both
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now