as

Wednesday 26 February 2014

Can't find DAO350.DLL file Error in Vb6

Problem/Error

When you try to open visual basic application in windows 7, You may get the error saying Visual Basic can not find the DAO350.DLL file.

The reason for this error is that in windows 7, new version of file is installed - dao360.dll
You can view this file at below location on windows 7.
C:\Program Files\Common Files\microsoft shared\DAO

In windows XP, this file exists, So you will not get this error.

Solution
To fix this issue, you will have to search for the DAO350.dll file in the visual basic installation folder.
Then copy this file to the below location.
C:\Program Files\Common Files\microsoft shared\DAO

After this you will have to register this file using below command in the command prompt.

regsvr32 "c:\program files\common files\microsoft shared\dao\dao350.dll"

Please note that you will have to run command prompt as administrator. To run command prompt as the administrator, you will have to right click and then click on the "Run as Administrator"

After you run above command you should get the dll register successful message.
If you do not run the command prompt as Administrator,     You will get error saying module was loaded but call to dllregisterserver failed.

What do you think on this topic? Please express your opinion through comment below. You can write to me at reply2sagar@gmail.com

Sponsored Links

Popular Posts

Comments

ShareThis