msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error 70-Permission Denied accessing mdb file on Vista Compu

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB General Discussions
Author Message
Dennis Rose



Joined: 04 Oct 2007
Posts: 23

PostPosted: Wed Feb 20, 2008 2:24 pm    Post subject: Error 70-Permission Denied accessing mdb file on Vista Compu Reply with quote

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
Back to top
View user's profile Send private message
DutchMaster11



Joined: 04 Oct 2007
Posts: 34

PostPosted: Thu Feb 21, 2008 11:26 am    Post subject: Re: Error 70-Permission Denied accessing mdb file on Vista C Reply with quote

On Feb 20, 12:24 pm, Dennis Rose
wrote:
> 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.

did you try manually registering your dependencies using REGSVR32?
Back to top
View user's profile Send private message
Dennis Rose



Joined: 04 Oct 2007
Posts: 23

PostPosted: Mon Feb 25, 2008 2:43 pm    Post subject: Re: Error 70-Permission Denied accessing mdb file on Vista C Reply with quote

It turned out that this message was caused by the "Send Keys" instruction.
"Send Keys" works fine in VB4 but a VB5 program running on a Vista computer
doesn't like it. Thanks for the help.

"DutchMaster11" wrote:

> On Feb 20, 12:24 pm, Dennis Rose
> wrote:
> > 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.
>
> did you try manually registering your dependencies using REGSVR32?
>
Back to top
View user's profile Send private message
Bob Butler



Joined: 04 Oct 2007
Posts: 1081

PostPosted: Mon Feb 25, 2008 3:15 pm    Post subject: Re: Error 70-Permission Denied accessing mdb file on Vista C Reply with quote

"Dennis Rose" wrote in message @microsoft.com...
> It turned out that this message was caused by the "Send Keys" instruction.
> "Send Keys" works fine in VB4 but a VB5 program running on a Vista
> computer
> doesn't like it. Thanks for the help.

http://vb.mvps.org/samples/project.asp?id=sendinput

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Permission Denied error in Access Project file I have an MS Access Project file that contains code to fax reports etc from the application. User with administrator privilege has no problems running the application. User without admin privilieges encounters the error "Permission Denied" as soon as th

run-time error: 70 permission denied error when running a VB First let me say that I installed Vista Home Premium only a few days ago and tested the program in question, and it works fine for me just as it has in XP for more than 2 years. It was another person who has Vista Ultimate (upgrade) who tried the program

FileCopy Permission denied Running a simple statement: FileCopy strSource, Both the file paths are correct, both files are not open, both folders are accessible etc. and still I get an error: Permission denied. I can copy the file manually fine and when I use the Cop

Permission Denied opening vbp after server change on going problems after they changed server on me last weekend now a vbp project won't open properly multiple msgboxes "... permission denied, want to continue loading project?" If I answer yes several times the project opens with only the form a couple m

Vista problem accessing HKEY_LOCAL_MACHINE in registry Hi everyone. I have a VB6 compiled program that installs and runs ok on all versions of from Windows Vista all the way back to Windows 95. It seems to run ok on Vista as well except for one curious thing. My program stores and reads values in the Windows
Post new topic   Reply to topic    msvisual.com Forum Index -> VB General Discussions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group