>I use ToCursor in VFPCOM.DLL to transform a recordset to a fox-cursor.
>This works fine in VFP6 Development, VFP6 Runtime and VFP7 Development but not in VFP7 Runtime.
>When I try to execute loVfpCom = CREATEOBJECT("vfpcom.comutil") I receive the error message "This OCX can only be hosted by Visual Foxpro".
>
>Has anyone else experienced this problem? Please say that you have and you know of a solution…
>
>I use VFPCOM.DLL version 6.0.8413.0 and I have also updated my VFP7 Runtime with the latest hotfix from Microsoft.
This is a known problem with the existing VFPCOM.DLL download, and in the near future there will be a new VFPCOM.DLL download available at
http://msdn.microsoft.com/vfoxpro that will fully function with VFP 7.0.