If you want I can email you an earlier version of VFPCOM and you can check if it works with your app.
>>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
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain