The information in this article applies to:
SUMMARYThe application object in Microsoft Visual FoxPro version 6.0 custom COM servers is protected. MORE INFORMATION
In Visual FoxPro 5.0, the application object was exposed by default in all
custom COM servers. In Visual FoxPro 6.0, the application object is now
"protected," so that it cannot be accessed outside a particular instance of
the object.
Sample Code
The first two references work because they access the application object
from within the instance of the object through a method and return the
result to the client.
The last reference "oX.Application.Name" tries to reference the Application object directly from the client. This returns the following error message:
Additional query words:
Keywords : kbCOMt kbVFp600 |
Last Reviewed: August 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |