PRB: Error Message Accessing Objects Added to Visual FoxPro COM Server Objects (255725)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q255725 SYMPTOMS
If an object is added to a Component Object Model (COM) server at run time, attempts to access that object result in the following error message:
OLE error code 0x80020006: Unknown name
CAUSE
Visual FoxPro looks in the type library file (.tlb) to locate the object name reference associated with the COM server. When Visual FoxPro cannot find the object name reference there, it produces the error.
RESOLUTION
To resolve this situation, do one of the following:
Add a procedure or procedures to the COM server that can access the added object or objects.Utilize functions or procedures in lieu of adding objects to COM servers at run time.STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/8/2000 |
---|
Keywords: | kbCodeSnippet kbCtrl kbDSupport kbprb KB255725 |
---|
|