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.
>
--sb--