How to access a Access db through vc++ from a console application 
Author Message
 How to access a Access db through vc++ from a console application

Ok I've found numerous help files about DAO etc using appwizard, but I
just want to create a simple dos program to read an access database,
preferably in C rather than C++ any help would be much appreciated.

Cheers, John

Please remove the YJKASK before replying by email.

***** Posted via the UK Online online newsreader *****

 Go to http://www.*-*-*.com/ to find out
 about other online services we offer our subscribers.



Mon, 13 Aug 2001 03:00:00 GMT  
 How to access a Access db through vc++ from a console application
You can access the data using the ODBC API.  See the documentation for the
ODBC library.


Quote:

>Ok I've found numerous help files about DAO etc using appwizard, but I
>just want to create a simple dos program to read an access database,
>preferably in C rather than C++ any help would be much appreciated.

>Cheers, John

>Please remove the YJKASK before replying by email.

>***** Posted via the UK Online online newsreader *****

> Go to http://www.ukonline.co.uk to find out
> about other online services we offer our subscribers.



Mon, 13 Aug 2001 03:00:00 GMT  
 How to access a Access db through vc++ from a console application


Quote:

>Ok I've found numerous help files about DAO etc using appwizard, but I
>just want to create a simple dos program to read an access database,
>preferably in C rather than C++ any help would be much appreciated.

Well for straight C, you're pretty much limited to using the raw COM
interfaces. DAO isn't an API, it's a COM object model. The easiest way would
be to use AppWizard to create a console project with MFC support, and then
use either MFC-DAO or dbDAO classes.

Jeff



Mon, 13 Aug 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Accessing both Access db and SQLServer db faster from VC++

2. Creating a DB in vc based on existing MS Access DB

3. Db access from vc++

4. Data Access tool to access MS-Access from DOS/C application

5. application to access application to access the internet

6. UID keeps changing in call to OpenEx when accessing secure Access DB

7. DSNLess access to an Access DB

8. OLE DB trying to access MS Access queries

9. How to?: gotoxy(), video-ram access, textattr() in a Win32 console application

10. accessing outlook from vc (via access mdb file)

11. Accessing MS Access Objects in VC

12. How to manage Db access with OLE DB Consumer Templates in COM

 

 
Powered by phpBB® Forum Software