Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to capture OLE error on form load
Message
From
01/10/2002 08:48:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
How to capture OLE error on form load
Miscellaneous
Thread ID:
00706306
Message ID:
00706306
Views:
67
Hi all,

I need to capture for the possibility that an ActiveX control was not loaded on a workstation (i.e. they did not do a necessary update), but I can't seem to trap for the OLE error returned when the form is opening. I've tried capturing in the form.load, form.error, control.init, control.error, etc. but nothing seems to work. All I need to do is just give them a friendlier message than the "OLE error...Class not registered". What am I missing?


Thanks,

- Brian

VFP6 SP5


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Next
Reply
Map
View

Click here to load this message in the networking platform