Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPCOM.DLL: This OCX can only be hosted by Visual Foxpro
Message
From
23/06/2006 10:33:16
Rolf Otto
C.I.P.-Kommunal Gmbh
Siegen, Germany
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01130207
Message ID:
01131157
Views:
14
>It sounds like the latest version of VFPCOM.DLL is not compatible with VFP6. You may consider using an alternative metod like Modified RS2DBF.PRG File #9866, for example.
>
>>In my VFP6-Application I use VFPCOM.DLL for converting ADO-Recordsets to VFP-Cursor (Method RSToCursor), It works well in the development environment. But when I try it under the Runtime it produces the following error message:
>>
>>“This OCX can only be hosted by Visual Foxpro”.
>>
>>Under VFP9 it works well in both environments (development and Runtime).
>>I’ve tried to copy and register the DLL in all the possible Paths (windows/system32, Application-Path, Runtime-Path), but no success.
>>I use the latest download of VFPCOM.DLL from the Microsoft-Site.
>>

Hi Sergey,

OK. RS2DBF.PRG may be an option, but it's much more slower than RS2Cursor() and there are problems with some fieldtypes.

I just am wondering, that VFPCOM.DLL works fine in the development environment but not under the runtime of VFP6. In the HTML-Documentation of the latest version it is described, that the Library is for VFP-version 5.0 and above. Any other idea?

Rolf
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform