Jump to content

How to handle the error?


oemript
 Share

Recommended Posts

Referring to following link, after running following coding, I get following error message, I would like to know on what wrong it is and how to fix it

Global $oIE = _IECreate($sURL)

Does anyone have any suggestions?
Thanks in advance for any suggestions

ERROR Message

--> IE.au3 T3.0-2 Warning from function internal function __IEIsObjType, Cannot register internal error handler, cannot trap COM errors (Use _IEErrorHandlerRegister() to register a user error handler)

Link to comment
Share on other sites

3 hours ago, oemript said:

... after running following coding, I get following error message, I would like to know on what wrong it is and how to fix it

Global $oIE = _IECreate($sURL)

This cannot be the entire code !

 

; Example from the AutoIt-Help :
#include <IE.au3>
#include <MsgBoxConstants.au3>

Local $sURL = "www.autoitscript.com"
Local $oIE = _IECreate($sURL, 1)
; Check @extended return value to see if attach was successful
If @extended Then
    MsgBox($MB_SYSTEMMODAL, "", "Attached to Existing Browser")
Else
    MsgBox($MB_SYSTEMMODAL, "", "Created New Browser")
EndIf

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
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
 Share

  • Recently Browsing   0 members

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