Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  HOME    TRACKER    Visual Basic


Hi All,



View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
DAO350.DLL Help
Hi, when I open Visual Basic it says: "Can't find file DAO350.DLL"

But the file is there under the DAO folder, any helps to fixing this problem would be greatly appreciated.

Installation Help (DAO350.DLL)
Okay, I have Visual Studio 6.0 Enterprise Edition, and I have had it installed once already. I accidentaly had it Uninstalled, and now I am having trouble reinstalling it. When I reinstall it, and try to run it, I get the message "Can't find file 'DAO350.DLL' " I don't know what I should do. I did a search on my computer on DAO350.DLL, and a file was found by that name. I copied it and pasted it into my Visual Studio folder, then when I try to run it, It says "Error: Closing"

What should I do?

DAO350.DLL Troubles
Hello all,

I'm running VB 6.0 on a Win 98 computer. I've been having a little trouble here and there, and thought that I'd better reinstall VB.

When I try to reinstall, it bombs saying:

VB was unable to register DAO350.dll in the registry. VB did not complete sucessfully.

After trying everything I could think of, I backed up my registry, and deleted every instance of DAO350.DLL, and rebooted. When I reboot, Windows itself replaces DAO350 into the registry.

Has anyone had a similar problem, and what to do?


Len G

Ok... I just installed Visual Basic 6.0 from our "package drive" (network). When I went to fire up the application, I get the message "Can't find DAO350.DLL" - when I ckick on OK, the app shuts down. I looked in C:Program FilesCommon FilesMicrosoft SharedDAO and there is a DAO360.DLL... but no DAO350.DLL.

I'm a newbie to all this.. so keep it simple... what do I do to get my app to work? It won't open so I'm stuck there. I have the "360" DLL, but not the "350"... how can I get the "350" DLL?



Hi ALL..
I wrote a simple VB6 Database program using the DAO Data control
(Iam aware that DAO is old & outdated but no time to modify my program!)
I used Package & Deploy to make a Setup.exe.
I have to make it run on VISTA BASIC.
How do I FORCE DAO350.DLL to register ??

When I install it on Vista here are the errors I get:

1. (@ 40%) C:Windowssystem32expsrv.dll
- An access violation occured while copying the file.
- (Abort, Retry, Ignore)

2. (@ 43%) " vbajet32.dll
- same error as #1

3. (@ update) C:Program FilesCommon FilesMicrosoft SharedDAODAO350.dll
- An error occurred while registering the file.
- (Abort, Retry, Ignore)


Dao350.dll Error

currently i have install service pack 6 for vb in my pc.the application working just fine in a while untill my brother accidentally uninstall the program all along with some application which i cant remember. then i install the vb back
but at the end of the installation i recive setup Error massage saying"Setup was unable to create a DCOM user account in order to register 'C:program filesMicrosoft Visual StudioCommonToolsVS-Ent98Vanalyzervalec.exe'".then i try to open the VB but i recived error massage"cant find file DAO350.DLL".

can anyone suggest a solution for me.Thank you

DAO350.DLL Missing??
i have been using vb for ages... and then today for no reason it is refusing to load... when i try i get the message "Missing DAO350.DLL" or something similar...

ok i thought... maybe i deleted it by mistake... but no... DAO350.DLL is sitting proud on my hard drive just as it always has.

all i can think is maybe i need to re-register the dll file... but i dont really know how? any ideas??

DAO350 Error, Help.
Hi, I have been trying for a long time to figure out what is going on with my database program and I would appreciate any and all help! Here's my situation:

I made a program in VB6 that references DAO 3.51 (DAO350.dll) to get at an older access database. The program works completely fine on the programming system, but when I try to install it on the test system (a barebones win98 partition) I get the error "Class not registered. Looking for object with CLSID:{00000100-0000-0010-8000-00AA006D2EA4}" and I can hit OK and then it dies. My setup of this program installs and registers all DAO and VB files but I just can't get around this problem with registering the DAO350.DLL file. I've tried to register / unregister / register this file manually after setting up the program, but it still gives the same error and I can't pinpoint why. Any help is greatly appreciated!


Missing? Dao350.dll?!?
when i start vb6 it says that it cant find dao350.dll so can some one send me it? and please no virus's or anything like that.

P.S. i would reinstall but my cd is sratched up to bad, lol i gotta take more care.

DAO350.DLL Not Found?
Whenever I try to launch Visual Basic 6 Enterprise Edition, it gives me a message stating that it cannot find DAO350.DLL. I have been using VB for over a year with no problem. What's more, I have programs that use DAO 3.50, and they are working just fine...which implies the DLL is lurking somewhere.

I did a search, and it turned up in:
C:Program FilesCommon FilesMicrosoft SharedDAO

Anyone know why VB can't see it? I need to get back into VB so that I can actually program. This "missing" DLL is keeping it from starting up!


Registering Dao350.dll
I have a VB 6 application but when I try to install the application on another computer, I get an error message that says dao350.dll cannot be registered. When I try to manually unregister dao350.dll, I get the following error message:

LoadLibrary ("c:progra~1common~1micros~1daodao350.dll")failed get lasterror returns 0x0000001f.

Any help would be greatly appreciated!!!!

DAO350.DLL Error.
Hi guys.
When I try to start up VB, I immediately get an error which says, "Can't find file DAO350.DLL". I'm then immediately kicked out of VB.

I found some advice that said select Start -> Run and type: "Regsvr32 C:Program FilesCommon FilesMicrosoft SharedDAODAO350.DLL".

I tried this but I then get an error saying "LoadLibrary Failed. The specified module cannot be found".
I know dao350.dll is in that directory so I'm a little stumped right now. Please help me.
Thanks in advance.

Cannot Register Automatically DAO350.DLL
Hello everyone,

We are working with Intaller and not with the Deplay and pakager wizard of VB6. Installer is giving the msi file correct and the installation proceeds with no problems. When the application has been installed, we try to run the application by double clicking the EXE file and we are getting the message. Cannot create object and the application fails to start.
We have checked of everything and we've found that the DAO350.DLL had not been registered at all (when we did the manual registration the application proceeded).
Why installer didn't register the DLL? Do you any other ways with which we can register the file automatically (because manual registration is unucceptable)?

Thank you in advance.

Upgrade From Dao350 To Dao360
Now I want to upgrade my vb program from using dao350 to dao360.

After changing the progject-reference to dao360 and run the program, I got error says I do not have permission to use the database.

Can you help? thanks.

How Can I Make Package When Using DAO350.dll
My program uses Database Object and Recordset Object to operate MS Access MDB Database.I have add

ed "dao350.dll" to my project.My program can run well in WIndows 98 but it says "Can't load

DLL:MSJTER35.DLL" when running in windows 2000 (There have not "MSJTER35.DLL" File in windows

98,too but my program can run well,why?)

DAO350.dll, DAO360.dll And Crystal
I have VB6 with SP3, SQL7 and Crystall7 installed on my machine. Crystal didn't work with Access 2000 db neither through VB using Crystal Control nor in Crystal environment. With Access 97 everything was fine. I installed Crystal maintenance release. Now it works in its environment, but doesn't through VB. If I change reference from DAO350.dll to DAO360.dll it starts to work with Access 97 db. What is the difference between these dll's. Are there any pitfalls with VB and Access 97? Do I thoroughly have to test my project or it must work the same with DAO360.dll as it does with DAO350.dll?
Thank you

DAO360.dll > DAO350.dll And Back - ERROR
I have a project I developed all along in VB5 using DAO360.dll, but am having some deployment problems so I figgered I'd try the old DAO350.dll.

Well, I kept getting an error when running and the first form is loading; my database and recordset def's are fine, but on recordset.Edit I get "Compile error: Method or data member not found." and .Edit is highlighted.

So I unreferenced 350 and rechecked 360 and get the same error!

I have reset the computer to no avail. Even unregistered and reregistered the dll's... I can make a new project using either one and they both work fine. I have also looked in the object browser and the Edit method is there.

What the heck happened, and how do I fix it???

Error Registering DAO350.dll And DAO360.dll On NT

When I try the following:

regsvr32 "c:program filesproj1dao350.dll"
regsvr32 "c:program filesproj1dao360.dll"

I get the following message:

DllRegisterServer in "c:program filesproj1dao350.dll" failed.
Return Code was 0x80029c4a

When I attempt to start my application after this, it cannot open the database (understandable).

Can anyone help please? It works fine on XP.

Cannot Register Dao350.dll When Installing Visual Basic 6.0
I have read every article about this and I can't seem to install VB without producing this error. My OS is XP. I have download the Jet and Mdac, I have unregistered and reregistered the dao, I have renamed the old dao35.dll and reinstalled VB and nothing changes.

Under C:Program FilesCommon FilesMicrosoft SharedDAO I have dao350.dll and dao360.dll.

Can someone please help me?

Unhandled Exception In VB6.EXE(DAO350.DLL) 0xC0000005 Access Violation
We are using Windows 2000 Pro (SP4), to access an Informix 7.31 database on a Windows 2000 Server (SP3).

RDB set as public variable in form as follows:
Public RDB As Database

It is then opened up as follows:
Set RDB = OpenODBCDatabase()

Function OpenODBCDatabase is as follows
Function OpenODBCDatabase() As Database
On Error GoTo OpenDatabaseError

Set OpenODBCDatabase = Workspaces(0).OpenDatabase("DatabaseName", _
False, True, _ "ODBC;DSN=DSNName;DATABASE=DatabaseNameOnDisk;UID=UserID;PWD=password; LOGINTIMEOUT=240")
On Error Resume Next
Exit Function

MsgBox "Trying to open the Database" & Chr(13) & _
"Error # " & Err.Number & Chr(13) & _
Err.Description & Chr(13) & _
"Generated from " & Err.Source, vbCritical
Resume Next
End Function

The code that now triggers the error (but worked in the past):
SQLQuery = 'UPDATE ttdsls040001 SET t_opicker = "abc12345" WHERE t_orno = 50000'
RDB.Execute SQLQuery, dbSeeChanges + dbFailOnError + dbSQLPassThrough

I get an application error, details below:

First this pops up:
vb6.exe Application Error
The instruction at "0x04672b9f" referenced memory at "0x6d3fd0ee". The memory could not be read. (Note - the addresses change every time I try this).

So, I click "Cancel", which brings up the debugger. The debugger shows:
Unhandled exception in VB6.EXE(DAO350.DLL) 0xC0000005 Access Violation

I click "OK" then get this:

A bunch of Assembler, with the little yellow arrow pointing to this line:
04672B9Fcmpesi,dword ptr [eax]

The Call Stack shows:
DAO350! 04672b9f()

This used to work. What is different? I don't know. Why is it no longer working? I'm not sure. I have been playing around with the project references to see if anything helps. I was/am using Microsoft DAO 2.5/3.5 compatibility library. Any assistance would be appreciated.

Visual Installer Question... How To Make It Register Dao350.dll
I'm trying to figure out Microsoft Visual Studio Installer.

I made a simple program with only one data controller on it and some check boxes and combo boxes that are bound to the data controller which is bound to an access database.
When I build an install package with the Package and Deployment Wizzard, the install program says that my system needs to be updated and then wants to reboot etc... but after rebooting and trying to install again it just gives me the same message...

CanOz suggested I use Visual Studio Installer. I followed his FAQ and created an installer which works fine Except when I try to run the program. It gives me the following error:

Run-time error '429':
ActiveX component can't create object

I figured out that it was not registering Dao350.dll. Once I did that manually on the machine the program worked fine.
How can I make visual installer register that dll properly?

Thanks for any information/suggestions

Edited by - Matrix1000 on 12/3/2003 8:37:30 PM

ReSolved - 'Can't Find File DAO350.dll' Error Comes When Open Vb6 Project Or Starting Vb6
Hai ,

I strucked with the problem , it occurs when i try to start the VB or Open the project, i am getting the following error.

Quote:Can't find file DAO350.dll

I don't have any application to run which uses DAO, can any one help me regarding this thank you.

The file DAO350.DLL is located in the following directory

Quote:C:Program FilesCommon FilesMicrosoft SharedDAODAO350.DLL

i tried by registering it manually by giving the below command in the Run box

Code:regsvr32 LoadLibrary("C:Program")failed - The specified module could not be found.'

Yesterday i UnInstalled a Software from my system. I think it removes the DAO350.DLL file, but the removed software is not related to VB6. If u have a application which uses DAO350.DLL, kindly post here, hope running the application can register the DLL properly and after the VB6 could start without the error.

Can any one please help me


Edited by - chs on 8/23/2005 2:15:45 AM

OPENING VISUAL BASIC 6.0 ERROR, DAO350.DLL, "Unexpected Error; Quitting"

I could really use some help. I am not the most knowledgable and would appreciate any guidance... I did a web search already at some sites including Microsoft, but I have not found a soultion yet.

Problem: CANNOT OPEN VISUAL BASIC 6.0; Says "Unexpected error; quitting"
OS: XP Media Center (although system info says XP Professional 5.1.2600 Service Pack2 Build 2600)
PC: Acer AspireE36
SW:Microsoft Visual Studio 6.0 Enterprise Edition

1. Could not open visual basic 6.0. I got the an error that the DAO350.DLL could not be found.

2. So following some suggestions from the web:
a) Renamed old DAO350.DLL as DAO350.DLLOLD
b) I took this file from Visual Studio Disk 1 and copied it into the
C:Program FilesCommon FilesMicrosoft SharedDAO
c) Regsvr32 "C:Program FilesCommon FilesMicrosoft SharedDAODAO350.DLL"
d) Then I got a successful message that it registered
e) It did not work. When I tried to open the visual basic 6.0 now I get:
"Unexpected error; quitting" message.


I even loaded the component checker 2.0 as suggest via microsoft website to look up the Microsoft Data Access Components (MDAC).
(see Article ID: 304230 and 301202 on and htpp://

It says MDAC 2.8 SP1 ON WINDOWS XP SP2. I am not sure what this MDAC does for me, but I looked at it anyways.

Copyright 2005-08, All rights reserved