Jump to content
Sign in to follow this  
tommytx

Any Common failures for activation of OIE?

Recommended Posts

ConsoleWrite("Hello Dolly on Line 1" & @CRLF)

#include <IE.au3>

ConsoleWrite("Hello Dolly on Line 5" & @CRLF)


Local $oIE = _IECreate("www.autoitscript.com")

ConsoleWrite("Hello Dolly on Line 10" & @CRLF)

Can anyone put me on the right track to troubleshoot this one.. the IE browser is not opening.. it is not my primary browser since FF is but that has not been a problem in the past.. it all seems to work including compile but the generation of the IE browser.. Never had any problem before.. below is the results of the run.. any ideas on where I might look.. that is the only error i get and its only after a 30 second delay.. I suppose a time out..

 

; >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "G:\show_pos.au3\test.au3"
; Hello Dolly on Line 1
; Hello Dolly on Line 5
; --> IE.au3 T3.0-2 Error from function _IECreate,  (Browser Object Creation Failed)
; Hello Dolly on Line 10
; >Exit code: 0    Time: 30.46

 

Share this post


Link to post
Share on other sites

Out there

There's a world outside of Yonkers

Way out there beyond this hick town, Barnaby

There's a slick town, Barnaby

Out there

Full of shine and full of sparkle

Close your eyes and see it glisten, Barnaby

Listen, Barnaby

sorry, I saw Hello Dolly and I felt like Wall-E

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites

This is what my errors look like now studying to see what all i can do to find out why the class is not registered.

Meanwhile if anyone has ideas.. pls comment..

 

G:\show_pos.au3\test.au3 (215) : ==> COM Error intercepted !
    err.number is:         0x80040154
    err.windescription:    Class not registered

    err.description is:     
    err.source is:         
    err.helpfile is:     
    err.helpcontext is:     
    err.lastdllerror is:     0
    err.scriptline is:     215
    err.retcode is:     0x00000000

--> IE.au3 T3.0-2 Error from function _IECreate,  (Browser Object Creation Failed)
>Exit code: 0    Time: 30.61

 

Share this post


Link to post
Share on other sites

Here is the error output after running the move complex looking code suggested by VIP

>"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "G:\show_pos.au3\test.au3"    
G:\show_pos.au3\test.au3 (215) : ==> COM Error intercepted !
    err.number is:         0x80040154
    err.windescription:    Class not registered

    err.description is:     
    err.source is:         
    err.helpfile is:     
    err.helpcontext is:     
    err.lastdllerror is:     0
    err.scriptline is:     215
    err.retcode is:     0x00000000

--> IE.au3 T3.0-2 Error from function _IECreate,  (Browser Object Creation Failed)
>Exit code: 0    Time: 37.52

 

Share this post


Link to post
Share on other sites

Thanks Dan.. tried much of that including the SFC or what ever the scan repair was but none worked for me.. now here is the kicker.. I removed my 2nd drive and rebooted and all is fine.. so with one drive i am fine.. once i make the new 2nd drive i will connect that same drive back up and see if it kills it again.. so thanks for those who offered help.  Works great for the moment.


Did you see the comment about Sandboxie in the thread I posted? Yes thank you.

Are you able to load IE manually? IE version 10 works great manually.

What version of Windows? Win 10

Have you tried rebooting? several times but see above a reboot w/o the second drive fixed it... so will put the second drive back on later tonight and see if it returns or not..

if it still works later tonight with 2nd drive i will mark this one solved..

 

Share this post


Link to post
Share on other sites

Ok my new drive is installed and its hit and miss.. working fine now but who knows.. it  comes and goes...not fixed but is working for now.. gonna be aggravating not knowing when I can depend on it and when i can't but thanks for the assist..

 

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Similar Content

    • By Lourens
      Hi,
      I am looking for a way to automate login to a Internet Banking website (https://bank.tymedigital.co.za/) and all of the examples that I could found still do not solve my issue with this website.
      In order to Login, the user need to enter their Identity Number and Password the click the Login button.
      Inspecting the Elements in Chrome are as follow;
      Identity Number
      <input autocomplete="username" placeholder="Please enter your South African ID number" maxlength="13" type="tel" class="form-control" value=""> Password
      <input autocomplete="current-password" placeholder="Enter password" type="password" class="form-control" value=""> Button
      <button type="button" class="btn btn-yellow btn-block">Login</button> Any assistance or directing me to a solution will be appreciated.
      Thank you,
      Lourens
    • By ohaya
      Hi,
      I am still really new with AutoIT.  We are using it to automate logging into web sites and I have encountered problems with focus.  The target web page is configured to put the cursor into the first text field (username) when the page is loaded, and when I run the AutoIT script, which does the log in seems like it is just not starting where I expect it to be.  
      I have been kind of using ToolTip() to kind of help with debugging, but now I am wondering if the calls to ToolTip() are causing the focus to be messed up.  
      For example, at least visually, when the ToolTip() is called, I can see the cursor disappear from the web page text field and they when I do anything that is supposed to send keystrokes, they are going off somwhere else ("never-neverland").
      But when I remove some of the ToolTip() calls, it works correctly.
      So the questions I have are:
      1) Do the ToolTip() calls interfere with/change where the focus on the target page are?
      2) In general, what are the "rules" for where ToolTip can be used "safely" (== doesn't interfere with focus)?
      Thanks,
      Jim
       
    • By BlazerV60
      Hello all,
      I've written the code below which launches chrome in incognito mode and then proceeds to go to the autoit website.
      From my understanding, the Run() command is also supposed to output the PID number related to the application that got launched from the Run command.
      However when I run the below lines, it outputs a PID number that is different from the newly launched chrome browser's PID number, does anyone know why and possibly explain how I could retrieve the accurate PID number associated with the newly launched browser?
      Global $iPid = Run(@ComSpec & ' /c start chrome.exe https://www.autoitscript.com/forum/ -incognito' ,"", "") msgbox(0,"",$iPid) Thank you,
      Brian
    • By BlazerV60
      Hello all,
      I've been trying to figure out how to launch Google Chrome in the background (hidden) but it doesn't seem possible. I've tried the following methods:
      ShellExecute("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "", "", "", @SW_HIDE) Also I've tried:
      ShellExecute(@ComSpec, "/c start chrome.exe","","",@SW_HIDE) Lastly I tried:
      RunWait('"'&@ProgramFilesDir&'\Google\Chrome\Application\chrome.exe" --silent-launch',@ScriptDir)  
      But all of them launch my chrome browser without hiding it. Does anyone know a workaround for this or if AutoIT just can't Chrome? 
      Bonus points if you know how to make it launch chrome hidden and make it go to https://www.autoitscript.com
       
      Thank you,
      Brian
    • By BOUNCER
      I'm trying to get the output data from https://www.guilded.gg but it uses a web app that generates that output on the fly and this doesn't show up in the page source.
      Only in web inspector of each browser does this data show up. How do I read this data in autoit (equivalent to the web inspector)
       
      thank you
×
×
  • Create New...