Saving data from Visual C++ to Access 2000

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

Guest

Does anyone have suggestion on what I need to do to save records of insert records into Access from Visual C++ and to run queries in Access from Visual C++. If not, may a discuss group that could help me.

Thanks,

David Orozco
 
You need to use the jet library to do this.

In other words, to read and write the mdb file format, then you can use JET.
You will thus not need to install ms-access.

Both the VB and the c++ development platforms include the libraries to do
this.

Check the c++ help files, as I am sure there is examples for using both the
dao object library, and for sure there is going to be examples using the ado
library.

You need to learn/use the ADO object libary. So, check/search the c++ help
files.

I belive there is a section titled "data access with visual studio".

You could also just do a search for "ado jet" if using the msdn library.
 
David Orozco said:
Does anyone have suggestion on what I need to do to save records of insert
records into Access from Visual C++ and to run queries in Access from Visual
C++. If not, may a discuss group that could help me.
Thanks,

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