PRB: Err "Unable to find Visual Class Library" in Project (216087)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q216087 SYMPTOMS
If the _Utility Visual class library is added to a project, the following error message displays when the project is built:
Unable to find Visual Class Library.
CAUSE
The _xtab Visual class in the _Utility Visual class library contains some method code that uses the NEWOBJECT() function to create a new class from the _GENXTAB system variable. The _GENXTAB system memory variable is referencing the Vfpxtab.prg program file.
RESOLUTION
Open the _xtab Visual class in the _Utility Visual class library, which is located in the \FFC folder. Once the _xtab class is open, open the Runxtab method. Change the following line of code:
oNewXtab=NEWOBJECT('genxtab',(_GENXTAB),"",;
Replace the _GENXTAB to point directly to the VFPXTAB program. For example:
oNewXtab=NEWOBJECT('genxtab',"Home()+"vfpxtab.prg","",;
REFERENCES
(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Dean Christopher, Microsoft Corporation.
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbBug kbFFC kbprb KB216087 |
---|
|