Knowledge Base

PRB: FPOle.dll Errors if _VFP.Caption Contains Apostrophe

Article ID: 191590

Article Last Modified on 12/11/1999


APPLIES TO


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"

Additional query words: kbVFp600 kbAPI kbOOP

Keywords: kbprb kbpending KB191590