Cannot load (or register) custom control ... 
Author Message
 Cannot load (or register) custom control ...

I write my first prgm using VB4 (Standard Edition) and created .EXE file.
When I copied that .EXE file on another computer and tryed to run it the
message: "Cannot load (or register) custom control "DBGRID32.OCX"" came up.

Does anyone know what I have done wrong?
Thanks for any respond.
Brs.



Mon, 08 Feb 1999 03:00:00 GMT  
 Cannot load (or register) custom control ...

Quote:
> When I copied that .EXE file on another computer and tryed to run it the
> message: "Cannot load (or register) custom control "DBGRID32.OCX"" came

up.
Have you placed the DBGRID32.OCX file in the system directory?
--

Robert Chafer
Digital iD Picture Systems



Tue, 09 Feb 1999 03:00:00 GMT  
 Cannot load (or register) custom control ...

Quote:

>I write my first prgm using VB4 (Standard Edition) and created .EXE file.
>When I copied that .EXE file on another computer and tryed to run it the
>message: "Cannot load (or register) custom control "DBGRID32.OCX"" came up.
>Does anyone know what I have done wrong?
>Thanks for any respond.
>Brs.

Yes. You need to run the Setup Wizard to create a setup disk. Then use
the setup disk to install your program on the other computer. Beware
that it will take several disk.

Jim Huguley

* Those who sit and think *
* Mostly sit              *



Wed, 10 Feb 1999 03:00:00 GMT  
 Cannot load (or register) custom control ...

Quote:


>>I write my first prgm using VB4 (Standard Edition) and created .EXE file.
>>When I copied that .EXE file on another computer and tryed to run it the
>>message: "Cannot load (or register) custom control "DBGRID32.OCX"" came up.
>>Does anyone know what I have done wrong?
>>Thanks for any respond.
>>Brs.
>Yes. You need to run the Setup Wizard to create a setup disk. Then use
>the setup disk to install your program on the other computer. Beware
>that it will take several disk.
>Jim Huguley

>* Those who sit and think *
>* Mostly sit              *

I have had the same problem with a 16-it TDBG application in whichI
use the standard VB4 Setup Wizzard to install the program. The
compressed installation disks include TDBGS16.oc_ which is installed
in the Windows/System directory by the installation program. I still
get the message
Run time error "367"
 "Cannot load (or register) custom control "DBGRID16.OCX"
Any addtional wisdom?
Thanks


Sun, 14 Feb 1999 03:00:00 GMT  
 Cannot load (or register) custom control ...

Quote:

> I write my first prgm using VB4 (Standard Edition) and created .EXE file.
> When I copied that .EXE file on another computer and tryed to run it the
> message: "Cannot load (or register) custom control "DBGRID32.OCX"" came up.

> Does anyone know what I have done wrong?
> Thanks for any respond.
> Brs.

Try this...

After creating the setup, go to Setup.lst and find the line in [Files]
that
has the name of your ocx.  It should start like this:

File7=1,,DBGRID32.OC_,DBGRID32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared)

The problem most likely is that it is missing the $(DLLSelfRegister)
part.
Adding that phrase should correct the problem (you can do this also with
3rd party OCXs, if they are not auto-registering.)
--
************************************************************************
*The above represents Gregg Gadow only and may not reflect the views or*
*opinions of his employers.                                            *
************************************************************************

************************************************************************



Mon, 15 Feb 1999 03:00:00 GMT  
 Cannot load (or register) custom control ...


Quote:
>I write my first prgm using VB4 (Standard Edition) and created .EXE file.
>When I copied that .EXE file on another computer and tryed to run it the
>message: "Cannot load (or register) custom control "DBGRID32.OCX"" came up.

>Does anyone know what I have done wrong?
>Thanks for any respond.
>Brs.

U used Data Bound Grid control in your project. The .EXE file that u have
compiled is dependent on this file (DBGRID32.OCX). U either have to register
this control on 'another computer' manually using command "REGSVR32.EXE
DBGRID32.OCX" (assuming u have both these files), or just create a distribution
copy of your project with AppSetupWizard.

--------------------------------------------------------------------
P.S.: Please, follow up, don't email. This stuff may be
       useful for someone else.
--------------------------------------------------------------------



Sun, 21 Feb 1999 03:00:00 GMT  
 Cannot load (or register) custom control ...

Actually, it sounds like Zeoma did not run the setup wizard.  I had the
same problem when I first started programming.  I thought that all I had to
do was make an .EXE file and distribute it.  I was unaware that it required
certain dll's.  Zeoma, if you did not run the setup wizard then look in the
VB help file for info on this.


Quote:

> > I write my first prgm using VB4 (Standard Edition) and created .EXE
file.
> > When I copied that .EXE file on another computer and tryed to run it
the
> > message: "Cannot load (or register) custom control "DBGRID32.OCX"" came
up.

> > Does anyone know what I have done wrong?
> > Thanks for any respond.
> > Brs.

> Try this...

> After creating the setup, go to Setup.lst and find the line in [Files]
> that
> has the name of your ocx.  It should start like this:

File7=1,,DBGRID32.OC_,DBGRID32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared
)

- Show quoted text -

Quote:

> The problem most likely is that it is missing the $(DLLSelfRegister)
> part.
> Adding that phrase should correct the problem (you can do this also with
> 3rd party OCXs, if they are not auto-registering.)
> --
> ************************************************************************
> *The above represents Gregg Gadow only and may not reflect the views or*
> *opinions of his employers.                                            *
> ************************************************************************

> ************************************************************************



Mon, 22 Feb 1999 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Cannot load (or register) custom control ...

2. Error 367 Can't Load(register) custom Control Threed32.ocx

3. Can't load or register a custom control error

4. Can't load (or register) custom control

5. can't load (or register) Custom Control PDQComm16.OCX

6. Can't Load (or Register) Custom Control MHCM200.VBX

7. Can't load (or register) custom control

8. Help - can't load or register custom control

9. Can't load(or register) custom control crystl16.ocx

10. Can't load (or register) custom control: VBSQL.OCX

11. Cannot load or register OCX info

12. Cannot Load(or register) VBX

 

 
Powered by phpBB® Forum Software