
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.
--------------------------------------------------------------------