Re: Why don't I use DAO?
From: Bill Thompson (billt61_at_rgv.rr.com)
Date: 09/09/04
- Next message: Si: "Re: STL : Why wont my app recognise the erase function??"
- Previous message: Priyesh: "Re: Deny Activate on MDI child windows"
- In reply to: Anders Eriksson: "Re: Why don't I use DAO?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Sep 2004 09:40:04 -0500
"Anders Eriksson" <anders.eriksson@morateknikutveckling.se> wrote in message
news:k2nzuz1zczma.dlg@morateknikutveckling.se...
> On Thu, 9 Sep 2004 14:51:53 +0800, LeeTow wrote:
>
> > I create a single document using vc,and step 2 of 6 I select "Database
view
> > with file support" and press "data Source",and I select DAO and select
> > my database for access 2000,but it display "Unrecongnize database
format",
> > who could tell me how to solve this problem?
>
> The Application Wizard can only read Jet 3.5 databases! I.e. Access 97 or
> earlier.
>
> You can however manually create code so that you can read/write Jet 4.0
> (Access 2000) databases. See this KB:
> http://support.microsoft.com/default.aspx?scid=kb;en-us;236991
>
> NB! Unless this is a minor application I really advice you to move away
> from DAO. Microsoft has stopped supporting DAO and is now pushing
> ADO/OleDB. ADO is simplified a lot by using Mr. Carlos Antollini see his
> articles at CodeProject:
>
> A set of ADO Classes - Version 2.10
> http://www.codeproject.com/database/caaadoclass1.asp
>
> A Set of ADOX Classes
> http://www.codeproject.com/database/caaadoxclass.asp
>
> ADO Connection Strings
> http://www.codeproject.com/database/connectionstrings.asp
>
>
> // Anders
After you have become acquainted with ADO using the above references, you
can get more information by reading the compiled HTML help file ADO210.CHM.
If you don't have this file, you can get it by installing Microsoft Office
2000 Service Release 1/1a (SR-1/SR-1a). Which I found out at this link:
http://support.microsoft.com/default.aspx?kbid=249065
The CHM file is full of sample code, and has many useful tips, e.g. the Find
method won't work correctly unless it starts with a valid record position.
- Next message: Si: "Re: STL : Why wont my app recognise the erase function??"
- Previous message: Priyesh: "Re: Deny Activate on MDI child windows"
- In reply to: Anders Eriksson: "Re: Why don't I use DAO?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|