Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to find visual class Library

662 views
Skip to first unread message

Glen Wagner

unread,
Jun 10, 2003, 2:31:43 PM6/10/03
to
Hello again all
Well this time I added a neet little Bell Curve graph to
my pos application to show sales. I works fine on the
machine I developed it on using Autograph graph one record
feeture. BUT ... When I go to compile I get "Unable to
find Visual Class Library" If i click on locate and bring
it to _utility.vcs i get yet another _utility.vcs added to
my application and the same error next time i compile. I
am not sure but i think I may have to redefine the class?
You guys have pulled me out of every bind so far so HELP
me PLEEEEEESE
Glen

Cindy Winegarden

unread,
Jun 10, 2003, 3:08:35 PM6/10/03
to
Hi Glen,

Be sure you have the right copy of _Utility.vcx in your project. Then, if
any of the classes in _Utility are based on classes in SomeVCX.vcx you will
need to add SomeVCX.vcx to your project also. The NavButtons look like a
likely candidate for the cause of your problems since they're in another
class library than _Utility.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.wi...@mvps.org, www.cindywinegarden.com

"Glen Wagner" <mozil...@hotmail.com> wrote in message
news:09fe01c32f7e$8aa85be0$a001...@phx.gbl...

Cindy Winegarden

unread,
Jun 10, 2003, 4:14:38 PM6/10/03
to
Hi Glen,

I had time to look at the files you sent. I created a project and added the
PRG (commented out some irrelevant stuff to prevent errors) and the forms
and recompiled. The following files were pulled in:

_AutGraph.vcx
Automate.vcx
_Base.vcx
_Table.vcx
_Utility.vcx
SetObjRef.prg

All of these were located in the VFP6 FFC directory. Do you have all of
these added to your project?

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.wi...@mvps.org, www.cindywinegarden.com

> Be sure you have the right copy of _Utility.vcx in your project. Then, if
> any of the classes in _Utility are based on classes in SomeVCX.vcx you
will
> need to add SomeVCX.vcx to your project also. The NavButtons look like a
> likely candidate for the cause of your problems since they're in another
> class library than _Utility.

> > Well this time I added a neet little Bell Curve graph to

Glen Wagner

unread,
Jun 10, 2003, 6:00:56 PM6/10/03
to
Cindy
I had removed the vcx and the form from my program but
added it back in and recompiled.
I have all the classes you have listed below as well as
the setobjectref.prg
when i compile the first error i get is "Unable to find
visual class lybrary" with Locate ignore ...
If I click locate I dont know what I am looking for so I
click ignore and get the compilition error.
"Visual Class Library c:\program files\microsoft visual
studio\vfp98\ffc\_utility.vcx has the following errors:
Visual Class Library - Undefined"
its gotta be something simple since it works for you :)
thanks
Glen
>.
>

Cindy Winegarden

unread,
Jun 10, 2003, 8:13:26 PM6/10/03
to
"BUG: GraphByRecord FFC Missing Class"
http://support.microsoft.com/default.aspx?scid=kb;en-us;263254

This article says that the problem was fixed in a service pack. The last
service pack for VS6 was SP5. Do you have this service pack installed? You
should always keep your software up to date. The service pack is
downloadable from
http://msdn.microsoft.com/vstudio/downloads/updates/sp/vs6/sp5/sp5_fp_en.aspx.
It's made up of several very large files. I remember downloading each one of
them overnight until I had them all. Now I have a CD. ;-)

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.wi...@mvps.org, www.cindywinegarden.com

"Glen Wagner" <mozil...@hotmail.com> wrote in message
news:064601c32f9b$c5141590$a101...@phx.gbl...

Glen Wagner

unread,
Jun 10, 2003, 9:25:48 PM6/10/03
to
Cindy
I downloaded the service pack
Installed same and continue to get the same errors
Unable to locate class library and then after I ignore i
get

Visual Class Library c:\program files\microsoft visual
studio\vfp98\ffc\_utility.vcx has the following errors:
Visual Class Library - Undefined

Anything else to try?
Glen \ps thanks for all your help so far ... dont think I
dont appriciate it

>.
>

Cindy Winegarden

unread,
Jun 10, 2003, 10:13:43 PM6/10/03
to
Hi Glen,

Have you considered completely uninstalling VFP and reinstalling from the
ground up, including the service pack? Also, if you can install to the
default directory.

Do you have
SET CLASSLIB TO < each of the class libraries you are using > ADDITIVE
in your Main program?

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.wi...@mvps.org, www.cindywinegarden.com

"Glen Wagner" <mozil...@hotmail.com> wrote in message

news:05cb01c32fb8$635fb350$a401...@phx.gbl...

Cindy Winegarden

unread,
Jun 10, 2003, 10:18:21 PM6/10/03
to
I searched the UniversalThread and found the following advice posted by Vlad
Grynchyshyn of Ukraine,

>>>
VCX is corrupted. Or VCX is edited manfully and the Class or ClassLib fields
are cleared out inaccurately - it is empty, but with space or Enter left. In
Browse window when you clear memo field always assure "memo" starts from
lower-case "M". when it is "Memo" - it is not cleared.

>Anyone seen this before? [VFP6 SP5]
> Visual Class Library d:\vss\iflex-rsc\classes\iflexcls.vcx has the


following errors:
> Visual Class Library - Undefined
<<<

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy.wi...@mvps.org, www.cindywinegarden.com

"Glen Wagner" <mozil...@hotmail.com> wrote in message

news:05cb01c32fb8$635fb350$a401...@phx.gbl...

Glen Wagner

unread,
Jun 11, 2003, 1:27:49 PM6/11/03
to
Cindy
No I dont :P thank you again
I also want to let you know that after I compile and get
the error the thing runs fine on the run time machines. I
will add the class difinition to main.prg and see what
happens but I am happy that it works on the end users
machines :) the graph is such a cool feeture to have!
Thanks
Glen
>.
>

Glen Wagner

unread,
Jun 11, 2003, 1:42:50 PM6/11/03
to
Well I added the class definitions to the main brogram for
base utility and autgraph and still get the unable to
locate error then agfter compiling i get
Visual Class Library c:\program files\microsoft visual
studio\vfp98\ffc\_utility.vcx has the following errors:
Visual Class Library - Undefined

but
Like it works so I think I can live with a compelition
error as long as the end result is the graph exicutes
thank you so much for all your help
Glen
PS
Foxpro is still my favorite database language You guys are
doing great!

>.
>

0 new messages