INFO: Error Codes for VFPCOM Utility (235985)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q235985

SUMMARY

This article contains a listing of all the error codes returned by the VFPCOM.DLL utility.

MORE INFORMATION

These are the error codes and descriptions that might appear with the CursorToRS method:
   Error Code   Description
   ----------   -------------------

     -4         Invalid workspace specified
     -5         Invalid Fox cursor or cursor operation error
     -7         Cannot get field information from the current Fox cursor
     -8         Recordset already defined
     -9         Failed to open a memo field
   -182         Memory error
				
These are the error codes and descriptions that might appear with the RSToCursor method:
   Error Code   Description
   ----------   -----------------

     -3         Bad alias name
     -6         Failed to open recordset
    -10         Failed to create Fox cursor
				
These are the error codes and descriptions that might appear with the ExportEvents method:
   Error Code   Description
   ----------   ------------------

      -1        File creation error
      -2        Failed to get type info
      -3        Failed to get dispatch interface
   -1000        Failed to get outgoing interface
				

REFERENCES

For more information on how to download the Vfpcom.dll files, please refer to the following Web site: For additional information about COM in Visual FoxPro, please see the following article in the Microsoft Knowledge Base:

188709 SAMPLE: Vfpcom.exe Using COM Language Enhancements in VFP 6.0


Modification Type:MajorLast Reviewed:4/12/2000
Keywords:kbDSupport kbinfo kbMiscTools KB235985