>Hi All! > >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. > >/Peter Rosberg
I don't have the answer you are looking for. MS may not be going forward with vfpcom.dll, at least the RStoCursor functionality. They have a RS2DBF() function that you can download that is supposed to replace RStoCursor (and fixes bugs). Here's the link: