-
How to connect Database(MS Access) using C++
How to connect Database(MS Access) using C++ .
I am having a txt file with 3 fields and a table in MS-Access database.
I would like to update these 3 fields into that table using C++ program.
Could you pls help me.
Thanks in Advance,
Trin.
-
Re: How to connect Database(MS Access) using C++
go to MS home page, and download MDAC
Its the ADO sdk that you can use with VC++
"Trin" <trinadhm@yahoo.com> wrote:
>
>
>How to connect Database(MS Access) using C++ .
>I am having a txt file with 3 fields and a table in MS-Access database.
>I would like to update these 3 fields into that table using C++ program.
>Could you pls help me.
>
>Thanks in Advance,
>Trin.
-
Re: How to connect Database(MS Access) using C++
Hi Trin
Here is a Please tell me that what verson of c++ you are using? if you are
using visual c++ then send me e-mail so that I can send you sample project.There
are so many ways to connect too. Using ODBC, JET Database Engine, ADO.
Regards
Zala Vijay
"Trin" <trinadhm@yahoo.com> wrote:
>
>
>How to connect Database(MS Access) using C++ .
>I am having a txt file with 3 fields and a table in MS-Access database.
>I would like to update these 3 fields into that table using C++ program.
>Could you pls help me.
>
>Thanks in Advance,
>Trin.
-
 Originally Posted by zala Vijay
Hi Trin
Here is a Please tell me that what verson of c++ you are using? if you are
using visual c++ then send me e-mail so that I can send you sample project.There
are so many ways to connect too. Using ODBC, JET Database Engine, ADO.
Regards
Zala Vijay
"Trin" <trinadhm@yahoo.com> wrote:
>
>
>How to connect Database(MS Access) using C++ .
>I am having a txt file with 3 fields and a table in MS-Access database.
>I would like to update these 3 fields into that table using C++ program.
>Could you pls help me.
>
>Thanks in Advance,
>Trin.
I have the same trouble, please help me out ^^
Mr. Zala Vijay, may i have some of your example project, i really need it
i'm using visual c 6 enterprise, thanks ^^
-
This is a general tutorial using mfc and odbc, Maybe it will help to have a look.
http://www.samspublishing.com/librar...eqNum=181&rl=1
-
 Originally Posted by manos
thanks for your references Sir..
I prefer not to use odbc, because it's a bit difficult to me.. I have found a way to connect ms-access database into visual c++, using adodc..
But I can't find a way to insert, update, or delete the record from the access database.. Could somebody help me out??? please.. ^^
-
Ok here is an example snippet on how to insert a record using ado. You can easily extend it to update and delete records.
http://www.codersource.net/mfc_ado_insert.html
Hope that helps
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks