Visual C++ to Access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have written a VC++ program that needs to save records of data to Access after it (VC++) runs a query (in Access) to determine whether or not to add the records. I have had success already using DAO version 3.5 which doesn't work with Microsoft Jet 4.0. In order to make it work I used an older version then converted the mdb.

My question is, which version do I require (for VC++) and where can I get it or is the a better alternative that I can use? I have read that I can use ADO too, but I don't know what I require for that.

Any help would be greatly appreciated.... Thanks in advance.
David Orozco
 
David Orozco said:
I have written a VC++ program that needs to save records of data to Access
after it (VC++) runs a query (in Access) to determine whether or not to add
the records. I have had success already using DAO version 3.5 which doesn't
work with Microsoft Jet 4.0. In order to make it work I used an older
version then converted the mdb.
My question is, which version do I require (for VC++) and where can I get
it or is the a better alternative that I can use? I have read that I can
use ADO too, but I don't know what I require for that.
Any help would be greatly appreciated.... Thanks in advance.
David Orozco

ADO is definitely the way to go with VC++. Entire books have been written on
that subject so it is difficult to tell you where to start, but you might
want to download the MDAC SDK from the MSDN Universal Data Access website -
www.msdn.microsoft.com/dataaccess. It has sample code that should get you
started.
 
Back
Top