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


> >
> > 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
>
> HighEdit Pro Word Processor OCX Control - H5OCX32.OCX, Version 5.31.0.1, Date: 9/5/1997.
>
> Well, I cannot seem to register the OCX now; I know where the OCX file is and I know its name. It is actually located in C:\WIDNOWS\SYSEM32, not in c:\windows\system\ I'll correct that in the Visual Class.
>
> I was in the CMD window and was in the c:\windows\system32\ folder where I executed regsvr32 h5ocx32.ocx, but received an error message which states:
>
> The module "h5ocx32.ocx" failed to load.
>
> Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files.
>
> The specified module could not be found.
>
> Cecil Champenois, Jr.

Names are Case Sensitive!

h5ocx32.ocx <> H5ocx32.ocx <> H5OCX32.ocx <> H5OCX32.OCX

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



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