The whole story.
I just upgraded from VB4 to VB5 on my Windows XP
computer with 500megs of RAM. When I run the VB5 Application setup Wizard
to create my distribution file (of a program that has run for years in VB4),
several unusal things happen.
First, in the first step of the wizard, if I check "Rebuild the Project" the
system hangs up until I go into task manager and stop the VB5 Wizard.
Second, the Wizard lists 4 files with no dependencies(urlmon.dll,
comdlg32.ocx, comctl32.ocx and shdocvw.dll) which I ignored.
Third, the Wizard notifies me that a dependency file for Crystl32.ocx is out
of date, which I ignored.
The Application setup then completes with my distribution File(program).
When I load my distribution file(executable program) onto a Vista Computer
with 2Gigs of memory, I get a message "an error occurred while registering
the file C\ProgramFile\Microsoft Shared\DAO\DAO350.dll" (which I ignored). I
also get the same message for the Shadocvw.dll ( which I ignored). Setup
then completes.
Now comes the problem. When I try to run my application on this Vista
computer, at the point that my program tries to open one of my data
files(microsoft Access .mdb files) I get "Runtime Error 70 - Permission
denied".
I tried changing the security settings on the folders and files to no avail.
My guess is that since the DAO350.dll did not register, this might be the
cause of my problem, but I don't know what to do about it.
The only thing I see suspicious is in checking the VB5Dep.ini file, the
Register=$(dllSelfRegister) line for the DAO350.dll is in line number 5;
instead of line number 1 as for the DAO3032.dll in VB4.
Now, I would like your verdict!! Thanks for the help.
Archived from group: microsoft>public>vb>general>discussion