Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another OLE Object Corrupt error
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Another OLE Object Corrupt error
Miscellaneous
Thread ID:
00699403
Message ID:
00699403
Views:
51
I am having a similar problem when activating a form containing an ActiveX control. If I execute the program from within VFP (compiled EXE), I do NOT get the error. When I run my program outside of VFP. I get the OLE Object May Be Corrupt error the first time I try to acces the form containing the object. If I select Ignore and then close the form and try again, it works fine.
This is using VFP7 SP1 under WinXP and Win2K. I've tried SYS(2333,1) and SYS(2333,0) before instantiating the form (actually a class - invoked with CREATEOBJECT) with no difference either way. The best part about it all (typically) is that it USED to work fine. I have not made ANY changes to the form containing the ActiveX, nor have I changes OS versions or patch levels, and the OCX is still the exact same one it was when it worked.
Any ideas?

Randy
Next
Reply
Map
View

Click here to load this message in the networking platform