Can't Load an OCX file

Can't Load an OCX file

Post by jos » Sat, 14 Jun 1997 04:00:00



Perhaps some one can help me out with this problem I'm having, when start to
 build a project at school and then bring it home I can't get one of the OCX
files to load, on my home machine. I have the file but it just doesn't load
is there away to make it load?

 
 
 

Can't Load an OCX file

Post by Gregory P. Titu » Sat, 14 Jun 1997 04:00:00


More than likely the OCX that you created or used in school is not
registered on your local machine. Use regsvr32.exe<space> OCX name to
register the control.


Quote:> Perhaps some one can help me out with this problem I'm having, when start
to
>  build a project at school and then bring it home I can't get one of the
OCX
> files to load, on my home machine. I have the file but it just doesn't
load
> is there away to make it load?


 
 
 

Can't Load an OCX file

Post by Midnight Ramble » Sun, 15 Jun 1997 04:00:00



> More than likely the OCX that you created or used in school is not
> registered on your local machine. Use regsvr32.exe<space> OCX name to
> register the control.


> > Perhaps some one can help me out with this problem I'm having, when start
> to
> >  build a project at school and then bring it home I can't get one of the
> OCX
> > files to load, on my home machine. I have the file but it just doesn't
> load
> > is there away to make it load?

Just regestering the control may not be enougth. All OCX controls
supposedly can be distributed with a finished project easily enought for
use with the compiled program.  Now if you want to use an OCX in a
project of your own, the book I have says you must have a software
license file that gets registered. If you do not have both the OCX and
the .Lic file that goes with it, no OCX use is possible in projects of
your own.
 
 
 

Can't Load an OCX file

Post by Bill Beele » Sun, 15 Jun 1997 04:00:00


Have your registered it? (regsvrxx.exe path:\my.ocx)


Quote:>Perhaps some one can help me out with this problem I'm having, when start
to
> build a project at school and then bring it home I can't get one of the
OCX
>files to load, on my home machine. I have the file but it just doesn't
load
>is there away to make it load?

 
 
 

Can't Load an OCX file

Post by pmur.. » Wed, 18 Jun 1997 04:00:00



>More than likely the OCX that you created or used in school is not
>registered on your local machine. Use regsvr32.exe<space> OCX name to
>register the control.

>> Perhaps some one can help me out with this problem I'm having, when start
>> to  build a project at school and then bring it home I can't get one of the
>> OCX files to load, on my home machine. I have the file but it just doesn't
>> load is there away to make it load?

One of my clients is also having a problem loading an OCX file.  I
followed Gregory's feedback and suggested to him that he run:
REGSVR32.EXE <full path to OCX file>.  He informs me that he got an
error running this program; the message: "LOAD LIBRARY
C:\WINDOW\SYSTEM\XXXXX.OCX FAILED" followed by the notation
"0x00000485".  This appeared in a dialog box with the title "Register
32".

Two questions:
1. Does anyone have any idea what's wrong here?  It looks like the
Registry Server is failing but I can't tell why.  The REGCLEAN program
HAD been run against the Registry.
2. Where did any of you learn of this program REGSVR32 so that I can
research it and perhaps find the meaning of this error.

Thanks for any feedback.
Phil Murray

 
 
 

Can't Load an OCX file

Post by Benny Van de Veld » Thu, 19 Jun 1997 04:00:00


Hi there,

I once had the same problem with the ChartFX.ocx.
At that time it also took me several hours before I got an answer.

What you need to do is, look for which dll's the ocx needs and first
install them onto your system at home, the try to register
`regsvr32.exe`.

Hope this helps.
Benny Van de Velde

 
 
 

Can't Load an OCX file

Post by Robb Gilmor » Fri, 20 Jun 1997 04:00:00


In answer to:

Quote:> Two questions:
> 1. Does anyone have any idea what's wrong here?  It looks like the
> Registry Server is failing but I can't tell why.  The REGCLEAN program
> HAD been run against the Registry.
> 2. Where did any of you learn of this program REGSVR32 so that I can
> research it and perhaps find the meaning of this error.

> Thanks for any feedback.
> Phil Murray

Yes, we just had this problem here at work.  We finally determined that the
OCX in question needed several other files present before it could be
registered.  I believe ops learned this by contacting the vendor of the OCX
that would not register.

Hope this helps.
-Robb Gilmore
Software engineer, DXI, Inc.

 
 
 

1. A Family of OCX's called Configuration Editor OCX's

A Family of OCX's called Configuration Editor OCX's

I want to implement a family of Configuration OCX's
for our product. At this point we do not yet have a
vision for ActiveX Controls but we do want to implement
what would be our DLL's as invisible OCX's where each
OCX is basically a Configuration Object that will
someday be automated by all other interface angles of
OLE.

For Now, I need to determine where to implement the GUI
for internal configuration of each OCX.

Should I just create a dialog and DoModal on the InitInstance
of the OCX... or

Should I create properties and allow the internal
configuration of the object be performed within the
property page's of the OCX... if so how do I popup the
property pages programatically from my main application
container/server ?

Any clarification and help via email is appreciated.

The configuration for some of these objects are very
hardware elaborate and do not care about font/color/etc

Thanks

2. search for GINA users

3. OCX files - Unregistering OCX files in \WINDOWS\SYSTEM

4. Test and acceptance plans

5. Using OCX's created in VBCCE in a VC++ OCX project

6. UNIX and Netscape 3.01

7. DLL/OCX inside DLL/OCX/EXE files

8. RasterOps ColorBoard 264 and HyperCard

9. I'm Searching an edit/print/save-OCX for RTF-Files under MSVC++

10. Merging EXE and OCX's into one EXE File

11. To load a window if it isn't loaded...