Jump to content
Sign in to follow this  

Is there a correct way to make sure an _IE command will work before using it?

Recommended Posts

I am getting a lot of errors like 1102 Error: Variable must be object type... it is usually the explorer complaining. Can I do something like the below for each command before use to make sure it won't fail or does even the IF activate the command and will cause an error if it fails...

If _IEGetObjById ($oIE1, "theTime") then

$dog = _IEGetObjById ($oIE1, "theTime")


Will this prevent an error or no....

It calls out the variable must be an object a lot... and is aggravating me to death..

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...