PRB: FPOle.dll Errors if _VFP.Caption Contains Apostrophe (191590)



The information in this article applies to:

  • Microsoft Visual FoxPro for Windows 6.0

This article was previously published under Q191590

SYMPTOMS

If the _VFP.Caption property contains an apostrophe, an error occurs when you run the FPOLE.dll file.

RESOLUTION

Do not use apostrophes in the _VFP.Caption property.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Behavior

Run the following code from the Command window:
   _VFP.CAPTION="VFP '98"
   DECLARE INTEGER FoxDoCmd IN "FPOLE.DLL" STRING,STRING
   =FoxDoCmd("SELECT * FROM customer","at")
				
This returns the following error twice:
ERROR Could Not Invoke Method: _Screen.Caption="VFP '98"

Modification Type:MajorLast Reviewed:12/11/1999
Keywords:kbprb KB191590