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
http://www.mvps.org/serenitymacros/
http://www.simtel.com/pub/pd/18669.html
"Cookie" <coo...@yucom.be> wrote in message news:3F50779B...@yucom.be...
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...
:(
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...
"Cookie" <coo...@yucom.be> wrote in message news:3F508399...@yucom.be...
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.
Thanks, but the problem is solved already.