Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ole error code 0x, Trappable?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Ole error code 0x, Trappable?
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01113807
Message ID:
01113807
Views:
62
I'm using an OLE control on a form that some users will have and some won't. Opening the form when you don't have the control gives the "OLE error code 0x---- not found".

So I figure if they don't have the object, I can do something like this for the OLE control:
PROCEDURE INIT
If IDontHaveTheControl
    return .f.
endif
ENDPROC
That still gets an error.

So I tried, ON ERROR Do l_NoErrorMsg before calling the form. Still get the error message though.

Is there anyway to trap that error so that the user won't see it?
Next
Reply
Map
View

Click here to load this message in the networking platform