FranklinYeung
Programmer
Hi all,
When using the VFPCom utility, it cannot be run on Windows
2000, both Pro or server. What i encounter is that the
createobjected object oVFP sudden quit & terminated,
without returning any error code when executing the
cursorTors function (line 5 of the following code),
however, the same program can be executed with any error
in Windows ME.
********************************************************
oVFP = createobject('vfpcom.comutil')
oVFPRS = createobject('adodb.recordset')
? 'VFP Com Type = ' + type('oVFP')
select * from MY_TABLE where !deleted() into cursor xUpload
nError = oVFP.cursorTOrs(oVFPRS, 'xUpload')
? 'Any error ? = ' + alltrim(str(nError))
********************************************************
Any suggestion to solve or get around? Or it is the
problem due to the usage of the VFPcom in my program?
Please Help! Many thanks!
:-(
Franklin
When using the VFPCom utility, it cannot be run on Windows
2000, both Pro or server. What i encounter is that the
createobjected object oVFP sudden quit & terminated,
without returning any error code when executing the
cursorTors function (line 5 of the following code),
however, the same program can be executed with any error
in Windows ME.
********************************************************
oVFP = createobject('vfpcom.comutil')
oVFPRS = createobject('adodb.recordset')
? 'VFP Com Type = ' + type('oVFP')
select * from MY_TABLE where !deleted() into cursor xUpload
nError = oVFP.cursorTOrs(oVFPRS, 'xUpload')
? 'Any error ? = ' + alltrim(str(nError))
********************************************************
Any suggestion to solve or get around? Or it is the
problem due to the usage of the VFPcom in my program?
Please Help! Many thanks!
:-(
Franklin