Sign in to follow this  
Followers 0
John117

Object or com error

3 posts in this topic

Hey the following code works fine when I use F5 from Scite.

When I double click the script to run it I get the following error. It is coded correctly. -anyone see a prob?

I know that the object works. -it pulls data for me . . . .

Global $Core = ObjCreate("Order2Go.CORE")
Global $Tdesk = $Core.CreateTradeDesk(trader)

CODE
Global $Core = ObjCreate("Order2Go.CORE")

Global $Tdesk = $Core.CreateTradeDesk(trader)

Global $Tdek = $Core^ERROR

Error: Variable must be type Object.

Share this post


Link to post
Share on other sites



$Tdesk and $Tdek in the error text?

It might be a spelling mistake. Other than that I can't see anything wrong.


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites

nope . . . that was just me typing the error incorrectly.

Oddly enough, it compiles and runs just fine . . . and F5's fine . . . Just can't double click the script . . .

Thanks for the effort . . . :-)

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  
Followers 0