Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This OCX only runs in Visual FoxPro error in VFP8 on XP
Message
 
To
14/10/2003 13:07:29
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00837578
Message ID:
00838766
Views:
24
Hi Randy,

These error messages usually generated by third-party ActiveX controls or FLLs, built with use of FoxAPI. It looks that you have used such control or FLL, which is not compatible with VFP8. It may be VFPCOM, OleDbFox or some of bbControls, for example.

>Correction. After looking at the error message again, it says,
>
>"This OCX must be hosted in Visual FoxPro"
>
>I don't know if that makes it any clearer or not. ;-)
>
>Thanks,
>
>Randy
>
>>Greetings All,
>>
>>Have an application where I'm using Crystal Reports 8.5 RDC. Have run into the following error when running the EXE from outside the VFP8 environment (in both VFP8 pre and post SP1) under Windows XP Pro, SP1a:
>>
>>"This OCX only runs in Visual FoxPro"
>>
>>This error does not occur when the EXE is run within VFP8 (i.e. DO sample.exe). Also, this error does not occur when running the external EXE under Windows 2000.
>>
>>When compiling an EXE under VFP7, the error does not occur when running the external EXE in XP Pro. It only occurs in VFP8.
>>
>>Since the error only occurs when running outside of VFP8, it is hard to isolate exactly where the error is occuring. I have placed WAIT WINDOW calls at various points in the code in attempt to determine if it error was occuring during instantiation of RDC or during preview process. From what I can determine, the error does not seem to occur during the instanitation of the RDC or preview control objects, but occurs later.
>>
>>Any ideas would be greatly apprecicated.
>>
>>TIA,
>>
>>Randy McAtee
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform