Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

registering VB4.0 OCX's in XP?

217 views
Skip to first unread message

Cookie

unread,
Aug 30, 2003, 6:08:27 AM8/30/03
to
I have a program that requires these OCX's and DLL's:
COMDLG16.OCX, THREED16.OCX, OC25.DLL, VB40016.DLL
These are all in the programs path.

Program is written in VB 4.0
Program must be runned on XP Home Edition.

When starting the application it gives the error:
Can't load (or register) custom control: "COMDLG16.OCX"

When I try \path\regsrv32 \programpath\COMDLG16.OCX
XP gives me this error:
The file "COMDLG16.OCX" is not an executable file and there is
no registration-helper registered.
(this is translated from dutch)
Same error if I try unregister the OCX (regsrv32 -u)

How can I solve this?
Thanks

Cookie

--
\|||/
(. .)
*--------ooO-(_)-Ooo--------*
| |
| coo...@yucom.be |
| |
*---------------------------*

David Candy

unread,
Aug 30, 2003, 6:21:13 AM8/30/03
to
You need to run regsvr16, no longer included in windows. It on the VB CD, maybe the programmer included it on your install media.

--
David Candy
http://www.mvps.org/serenitymacros/
http://www.simtel.com/pub/pd/18669.html
"Cookie" <coo...@yucom.be> wrote in message news:3F50779B...@yucom.be...

Cookie

unread,
Aug 30, 2003, 6:46:33 AM8/30/03
to
David Candy wrote:
> You need to run regsvr16, no longer included in windows. It on the VB CD, maybe the programmer included it on your install media.
>

Downloaded it from internet (several sources. After comparing the EXE was the
same for all I've found).
Tried it and it gave an error:
LoadLibrary ("C:\programpath\COMDLG16.OCX") failed. The Return value was 2.

So this didn't work for me...
:(

Cookie

unread,
Aug 30, 2003, 6:59:37 AM8/30/03
to

It worked...
Problem was: it couldn't handle long file names...
When I used the 8.3 notation it worked and the program is up and running...

Thanks...

David Candy

unread,
Aug 30, 2003, 7:26:45 AM8/30/03
to
I was about to post
2 The system cannot find the file specified. ERROR_FILE_NOT_FOUND

"Cookie" <coo...@yucom.be> wrote in message news:3F508399...@yucom.be...

Hunter1

unread,
Aug 30, 2003, 5:26:58 PM8/30/03
to
Tried just downloading the VB4 runtime file installer????

We have one app floating around that is back from the VB3
days and the VB3 runtime files install without any drama on
XP pro so I don't see the VB4 runtime files having any
problems installing.

Can be downloaded from a heap of locations, such as here:

http://www.5star-shareware.com/Utilities/Libraries/vb4.html

VB4 had two different flavours, 16 bit and 32 bit (unlike
other VB's that were one or the other), but I think this set
of runtime files will work for either, but don't quote me on
that.

.....

Actually after a quick look I think I am wrong, found a
location to download the 16 bit version of the runtime files
here:

http://www.krillagen.com/dl_min.html

and that is what you'll need as the files you mention are
all the 16 bit files. This will correctly register them for
you as well.

Cookie

unread,
Aug 31, 2003, 2:43:21 AM8/31/03
to
Hunter1 wrote:
> Tried just downloading the VB4 runtime file installer????
>
> We have one app floating around that is back from the VB3 days and the
> VB3 runtime files install without any drama on XP pro so I don't see the
> VB4 runtime files having any problems installing.
>
> Can be downloaded from a heap of locations, such as here:
>
> http://www.5star-shareware.com/Utilities/Libraries/vb4.html
>
> VB4 had two different flavours, 16 bit and 32 bit (unlike other VB's
> that were one or the other), but I think this set of runtime files will
> work for either, but don't quote me on that.
>
> .....
>
> Actually after a quick look I think I am wrong, found a location to
> download the 16 bit version of the runtime files here:
>
> http://www.krillagen.com/dl_min.html
>
> and that is what you'll need as the files you mention are all the 16 bit
> files. This will correctly register them for you as well.

Thanks, but the problem is solved already.
BTW: I did had the files (and not all are standard VB4 files), but the problem
was I couldn't get them registered. Forgot that they were 16bit and I had to
use regsrv16 instead of regsrv32.

Cookie

unread,
Aug 31, 2003, 2:41:33 AM8/31/03
to
Hunter1 wrote:
> Tried just downloading the VB4 runtime file installer????
>
> We have one app floating around that is back from the VB3 days and the
> VB3 runtime files install without any drama on XP pro so I don't see the
> VB4 runtime files having any problems installing.
>
> Can be downloaded from a heap of locations, such as here:
>
> http://www.5star-shareware.com/Utilities/Libraries/vb4.html
>
> VB4 had two different flavours, 16 bit and 32 bit (unlike other VB's
> that were one or the other), but I think this set of runtime files will
> work for either, but don't quote me on that.
>
> .....
>
> Actually after a quick look I think I am wrong, found a location to
> download the 16 bit version of the runtime files here:
>
> http://www.krillagen.com/dl_min.html
>
> and that is what you'll need as the files you mention are all the 16 bit
> files. This will correctly register them for you as well.

Thanks, but the problem is solved already.

0 new messages