
Setup Wiz (Registration Blues - mfc40.dll, grid32.ocx, comdlg32.ocx)
Dear Netizens, I have been humbled and am in desparate need of your help.
I created a relatively normal VB app, ran her through the setup wizard and all
appeared well (more particulars are below). However, when installing the app
onto other machines, I SOMETIMES get an error message stating that "An error
occurred while registering the file GRID32.OCX". The same error message
appears for MFC40.DLL and COMDLG32.OCX. If I ignore the errors and try to run
the app, it aborts with a "runtime error 31037, error loading file" message.
Since the three files were installed on the PC, I assume the error message is
correct and that there are registry problems.
Embarassingly, I must admit that I have spent several hours banging my head
against the wall on this problem, researched Technet, the Web and all other
resources known to me, but to no avail. Now I stand before you (actually in a
kind of kneeling like pose), to beg for any assistance that you may be able to
give me.
Thanks for any help you may provide,
Bill Rowland
The particulars:
VB 4.0 32-bit
Setup Wiz created the setup files on the network
Dev Platform: NT Workstation 4.0
App Platform: Win95
I have installed Office97 on my PC, and I know that this causes some DLL
problems (oleaut32.dll), but have corrected those.
It is important to note that this app has been installed correctly on 3 of the
6 PCs on which it has been installed. There is little difference between the
PCs.