Solved

Can't find DAO350.DLL - permissions problem

Posted on 2004-09-01
10
3,108 Views
Last Modified: 2008-03-03
Visual Basic 6 has been installed on a Windows 2000 machine.

VB launches successfully with admin rights.

However it will not launch as a standard user - the message 'Can't find file DAO350.DLL' is displayed.

The application closes when OK is clicked.

I have tried re-registering the DLL, installing MDAC and reinstalling Visual Studio - but the problem won't go away.

Visual C++ runs correctly.

Please help ...
0
Comment
Question by:chuckie1
  • 5
  • 3
  • 2
10 Comments
 
LVL 18

Expert Comment

by:Sethi
ID: 11960117
Install Jet Engine 3.5 from Micrsoft and it will run correctly:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;172733
0
 
LVL 14

Expert Comment

by:Matti
ID: 11961897
Hi!

Try this on run command line:
Regsvr32 C:\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL

If it's not there try to locate that dll using Find and move it there and reply that command

Some versions of Office install tend to remove older DAO versions from the registry.


Matti
0
 
LVL 14

Expert Comment

by:Matti
ID: 11962065
Hi!

There is a error this is in correct format:
Regsvr32 "C:\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL"

Matti
0
 

Author Comment

by:chuckie1
ID: 11973898
Thanks for the comments so far.

I have tried regsvr32 but this has not worked.

the application works fine when logged in as an admin, but not as a user??

also tried the MDAC solution with no sucess.

0
 
LVL 14

Expert Comment

by:Matti
ID: 11974325
Hi!

When you open database for write it will create ldb-file and can't do that if there is regular user. Set priviliges "full control" for your database folder.

Matti
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 18

Expert Comment

by:Sethi
ID: 11974330
did you try the Jet Engine solution I guided you to?
0
 

Author Comment

by:chuckie1
ID: 11988021
Hi there all.

Yes I have tried the Jet engine solution.

It is not an application that has been written in VB it is the application itself, All works fine when logged on as an system administrator, however when logged on as a user if you try to launch VB you get the message 'Can't find file DAO350.DLL'  if you add the users to the local admin group all works fine.

This is not a solution due to company policy.

Chuckie1
0
 
LVL 14

Expert Comment

by:Matti
ID: 11988327
Thinking that when open the database it's readonly=False

Chance that then it will open for users.


Matti
0
 

Author Comment

by:chuckie1
ID: 11989099
Matti

Its not a database, It happens when  trying to actually open up Visual Basic to start programming.
0
 
LVL 14

Accepted Solution

by:
Matti earned 500 total points
ID: 11989608
There is a lot of temp files etc. when Visual Basic opens, it's not realistig to use it as regular user.
Try to run VB by using addmin privileges even if you have login as user, there is Run As option on mouse button menu when right click the desktop icon of VB.

Matti
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now