Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Cecil Champenois
  Where is Cecil Champenois?
 Rancho Cucamonga
 California - United States
 Cecil Champenois
 To: Andy Kramek
  Where is Andy Kramek?
 Westminster Circle, Akron
 Ohio - United States
 Andy Kramek
 Tags
Subject: RE: Registering VFP Classes
Thread ID: 232160 Message ID: 232230 # Views: 38 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Classes and Objects
Date: Saturday, June 20, 2009 4:09:46 PM         
   


> > I've inherited some code from a VFP developer who died back in 2001. He's got some weird stuff, beleive me.
> >
> > I am not sure if I understand a problem I am having. I tried to open a form which is tied to a VFP class. An error states that the VFP class is not registered. Is this the same as registering a DLL in the operating sytsem's registry, or is this something different?
> >
> > This is the precise error I received.
> >
> > OLE Error Code 0x80040154: Class Not Registered
> >
> > What do I need to do?
> >
> >
> > Cecil Champenois, Jr.
>
> Certainly sounds as though the form is trying to use an ActiveX control that is not registered on your machine.
> Try opening the form as a table and looking through the SCX to see what is being loaded. The CLASS column will contain "OLEControl" and OLE1 and OLE2 will both be populated. The path for the Control's source will be in the OLE2 column. That should tell you what it is looking for:
>
>
USE form_name.scx
> LOCATE FOR UPPER(class) = 'OLECONTROL'
> BROWSE

> Regards
> Andy Kramek
> Microsoft MVP (Visual FoxPro)
> Tightline Computers Inc, Akron Ohio, USA

Got the rascal, Andy!

OLEObject = C:\WINDOWS\SYSTEM\H5OCX32.OCX

Thanks a bunch!

Cecil Champenois, Jr.



COMPLETE THREAD
Registering VFP Classes Posted by Cecil Champenois @ 6/20/2009 7:05:28 AM
RE: Registering VFP Classes Posted by Koen Piller @ 6/20/2009 8:25:11 AM
RE: Registering VFP Classes Posted by Cecil Champenois @ 6/20/2009 8:47:09 AM
RE: Registering VFP Classes Posted by tushar @ 6/20/2009 9:25:38 AM
RE: Registering VFP Classes Posted by Cecil Champenois @ 6/20/2009 4:10:17 PM
RE: Registering VFP Classes Posted by Andy Kramek @ 6/20/2009 1:22:18 PM
RE: Registering VFP Classes Posted by Cecil Champenois @ 6/20/2009 4:09:46 PM
RE: Registering VFP Classes Posted by Cecil Champenois @ 6/20/2009 6:45:26 PM
RE: Registering VFP Classes Posted by Andy Kramek @ 6/20/2009 7:40:39 PM
RE: Registering VFP Classes Posted by Cecil Champenois @ 6/20/2009 7:50:59 PM
RE: Registering VFP Classes Posted by Andy Kramek @ 6/21/2009 1:20:49 PM