Thread: Failed to load control "HBX"

Failed to load control "HBX"

From
"Thomas Sandford"
Date:
Whenever I try to run pgAdminII I get the message

Runtime error '372':

Failed to load control 'HBX' from HighlightBox.ocx. Your version of
HighlightBox.ocx may
be outdated. Make sure you are using the version of the control that was
provided with
your application.


I get the same results with both 1.1.34 and version 1.1.28.

I am running on Windows 98SE. I used windows installer to install first
version 1.1.34, and then, when that failed to work, version 1.1.28. I
de-installed the previous version before trying the next.

Any suggestions?
--
Thomas Sandford


Re: Failed to load control "HBX"

From
"Thomas Sandford"
Date:
"Dave Page" <dpage@vale-housing.co.uk> wrote:
> > From: Thomas Sandford [mailto:thomas@paradisegreen.co.uk]
> > Sent: 27 September 2001 18:55
> > To: pgadmin-support@postgresql.org
> > Subject: [pgadmin-support] Failed to load control "HBX"
> >
> >
> > Whenever I try to run pgAdminII I get the message
> >
> > Runtime error '372':
> >
> > ...
> Hmm, that's a new one. Can you please uninstall any copies of pgAdmin that
> you have installed,

Done.

> and then confirm that the C:\Program Files\pgAdmin2
> folder has been removed.

Done - it had been removed.

> Next, please check that Highlightbox.ocx is no longer anywhere on your PC
> (it normally lives in C:\windows\System). If it is, before removing it,
try
> unregistering it with (from the Start -> Run box):
>
> regsvr32 /u C:\Path\To\Highlightbox.ocx

Done - there was no copy remaining on the system.

> Once you are happy that pgAdmin is *completely* removed, then please try
> re-installing 1.1.34 (forget about 1.1.28 - the error you have is unlikely
> to be caused by a specific version of pgAdmin).
>
> Please let me know how you get on.

Nope - same results.

I've had a poke about the registry, and it looks as though the control is
being registered - at any rate there are entries for

HighlightBox.Properties
HighlightBox.HBX
HighlightBox.TBX

Unregistering and re-registering the ocx using RegSvr32 does not seem to
help. Neither does replacing version 2.00.39 of the OCX from the
installation with version 2.00.41 from the binaries in CVS (unregistering
and re-registering before/after replacement).

Trying to run pgAdmin with the OCX unregistered produces exactly the same
result. Trying to run it if the OCX has been unregistered and _deleted_
causes the install to run and replace the missing file before running
pgadmin (which then fails as "normal").

Any more ideas?
--
Thomas Sandford


Re: Failed to load control "HBX"

From
"Thomas Sandford"
Date:
"Dave Page" <dpage@vale-housing.co.uk> wrote:
> ...
> OK, (with pgAdmin still installed) are the following files installed and
> registered on your system:
>
> RICHTX32.OCX
> Mscomctl.ocx
> Comdlg32.ocx
>
> If so, what versions of each do you have? Also, I assume you have IE
> installed - what version is it?

All are installed:
richtx32.ocx     version 6.00.8804
mscomctl.ocx   version 6.00.8862
comdlg32.ocx  version 6.00.8418

IE is version 5.5SP2. (5.50.4807.2300IC)

Checking the other dependencies listed for highlightbox.ocx, I also have
copies of msvbvm60.dll, oleaut32.dll, olepro32.dll, asycfilt.dll,
stdole2.tlb and comcat.dll installed.

Now what?

Regards,
--
Thomas Sandford


Re: Failed to load control "HBX"

From
"Thomas Sandford"
Date:
"Dave Page" <dpage@vale-housing.co.uk> wrote:
> ...
> OK, (with pgAdmin still installed) are the following files installed and
> registered on your system:
>
> RICHTX32.OCX
> Mscomctl.ocx
> Comdlg32.ocx
>
> If so, what versions of each do you have? Also, I assume you have IE
> installed - what version is it?

All are installed:
richtx32.ocx     version 6.00.8804
mscomctl.ocx   version 6.00.8862
comdlg32.ocx  version 6.00.8418

IE is version 5.5SP2. (5.50.4807.2300IC)

Checking the other dependencies listed for highlightbox.ocx, I also have
copies of msvbvm60.dll, oleaut32.dll, olepro32.dll, asycfilt.dll,
stdole2.tlb and comcat.dll installed.

Now what?

Regards,
--
Thomas Sandford


Re: Failed to load control "HBX"

From
Dave Page
Date:

> -----Original Message-----
> From: Thomas Sandford [mailto:tdgsandf@paradisegreen.co.uk]
> Sent: 28 September 2001 13:21
> To: Dave Page; pgadmin-support@postgresql.org
> Subject: Re: [pgadmin-support] Failed to load control "HBX"
>
>
> "Dave Page" <dpage@vale-housing.co.uk> wrote:
> > > From: Thomas Sandford [mailto:thomas@paradisegreen.co.uk]
> > > Sent: 27 September 2001 18:55
> > > To: pgadmin-support@postgresql.org
> > > Subject: [pgadmin-support] Failed to load control "HBX"
> > >
> > >
> > > Whenever I try to run pgAdminII I get the message
> > >
> > > Runtime error '372':
> > >
> > > ...
> > Hmm, that's a new one. Can you please uninstall any copies
> of pgAdmin
> > that you have installed,
>
> Done.

OK, (with pgAdmin still installed) are the following files installed and
registered on your system:

RICHTX32.OCX
Mscomctl.ocx
Comdlg32.ocx

If so, what versions of each do you have? Also, I assume you have IE
installed - what version is it?

Regards, Dave.


Re: Failed to load control "HBX"

From
"Thomas Sandford"
Date:
"Dave Page" <dpage@vale-housing.co.uk> wrote:
> > From: Thomas Sandford [mailto:thomas@paradisegreen.co.uk]
> > Sent: 27 September 2001 18:55
> > To: pgadmin-support@postgresql.org
> > Subject: [pgadmin-support] Failed to load control "HBX"
> >
> >
> > Whenever I try to run pgAdminII I get the message
> >
> > Runtime error '372':
> >
> > ...
> Hmm, that's a new one. Can you please uninstall any copies of pgAdmin that
> you have installed,

Done.

> and then confirm that the C:\Program Files\pgAdmin2
> folder has been removed.

Done - it had been removed.

> Next, please check that Highlightbox.ocx is no longer anywhere on your PC
> (it normally lives in C:\windows\System). If it is, before removing it,
try
> unregistering it with (from the Start -> Run box):
>
> regsvr32 /u C:\Path\To\Highlightbox.ocx

Done - there was no copy remaining on the system.

> Once you are happy that pgAdmin is *completely* removed, then please try
> re-installing 1.1.34 (forget about 1.1.28 - the error you have is unlikely
> to be caused by a specific version of pgAdmin).
>
> Please let me know how you get on.

Nope - same results.

I've had a poke about the registry, and it looks as though the control is
being registered - at any rate there are entries for

HighlightBox.Properties
HighlightBox.HBX
HighlightBox.TBX

Unregistering and re-registering the ocx using RegSvr32 does not seem to
help. Neither does replacing version 2.00.39 of the OCX from the
installation with version 2.00.41 from the binaries in CVS (unregistering
and re-registering before/after replacement).

Trying to run pgAdmin with the OCX unregistered produces exactly the same
result. Trying to run it if the OCX has been unregistered and _deleted_
causes the install to run and replace the missing file before running
pgadmin (which then fails as "normal").

Any more ideas?
--
Thomas Sandford


Re: Failed to load control "HBX"

From
Dave Page
Date:

> -----Original Message-----
> From: Thomas Sandford [mailto:thomas@paradisegreen.co.uk]
> Sent: 27 September 2001 18:55
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] Failed to load control "HBX"
>
>
> Whenever I try to run pgAdminII I get the message
>
> Runtime error '372':
>
> Failed to load control 'HBX' from HighlightBox.ocx. Your
> version of HighlightBox.ocx may be outdated. Make sure you
> are using the version of the control that was provided with
> your application.
>
>
> I get the same results with both 1.1.34 and version 1.1.28.
>
> I am running on Windows 98SE. I used windows installer to
> install first version 1.1.34, and then, when that failed to
> work, version 1.1.28. I de-installed the previous version
> before trying the next.
>
> Any suggestions?

Hi Thomas,

Hmm, that's a new one. Can you please uninstall any copies of pgAdmin that
you have installed, and then confirm that the C:\Program Files\pgAdmin2
folder has been removed.

Next, please check that Highlightbox.ocx is no longer anywhere on your PC
(it normally lives in C:\windows\System). If it is, before removing it, try
unregistering it with (from the Start -> Run box):

regsvr32 /u C:\Path\To\Highlightbox.ocx

Once you are happy that pgAdmin is *completely* removed, then please try
re-installing 1.1.34 (forget about 1.1.28 - the error you have is unlikely
to be caused by a specific version of pgAdmin).

Please let me know how you get on.

Regards, Dave.

Re: Failed to load control "HBX"

From
Dave Page
Date:

> -----Original Message-----
> From: Thomas Sandford [mailto:tdgsandf@paradisegreen.co.uk]
> Sent: 28 September 2001 18:21
> To: Dave Page; pgadmin-support@postgresql.org
> Subject: Re: [pgadmin-support] Failed to load control "HBX"
>
>
> "Dave Page" <dpage@vale-housing.co.uk> wrote:
> > ...
> > OK, (with pgAdmin still installed) are the following files
> installed
> > and registered on your system:
> >
> > RICHTX32.OCX
> > Mscomctl.ocx
> > Comdlg32.ocx
> >
> > If so, what versions of each do you have? Also, I assume
> you have IE
> > installed - what version is it?
>
> All are installed:
> richtx32.ocx     version 6.00.8804
> mscomctl.ocx   version 6.00.8862
> comdlg32.ocx  version 6.00.8418
>
> IE is version 5.5SP2. (5.50.4807.2300IC)
>
> Checking the other dependencies listed for highlightbox.ocx,
> I also have copies of msvbvm60.dll, oleaut32.dll,
> olepro32.dll, asycfilt.dll, stdole2.tlb and comcat.dll installed.
>
> Now what?

Hi Thomas,

I must admit I clutching at straws here - this is the first time this error
has been reported following thousands of downloads!

Anyway, you do seem to have an older mscomctl.ocx than I do - do you mind if
I email you a copy?

Regards, Dave.