By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,493 Members | 3,101 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,493 IT Pros & Developers. It's quick & easy.

Connecting Access Database

P: n/a
Hi Friends,

Does anyone know how to connect access database into Visual C++ in
Visual Studio 6.0. I know the procedure to connect access database
into Visual Studio .Net. But Visual Studio 6.0 is more complicted
than .Net. Can someone help me pls?

Thanks

Krish
Jul 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Krish posted:
Hi Friends,

Does anyone know how to connect access database into Visual C++ in
Visual Studio 6.0. I know the procedure to connect access database
into Visual Studio .Net. But Visual Studio 6.0 is more complicted
than .Net. Can someone help me pls?

Thanks

Krish

I'm assuming you can programme in C++, yes?

Well... how do you do anything in C++?. . . Header files and source files...
or alternatively, header files and object files.

So... you need to get your hands on the particular library that deals with
Access Databases, which will most likely be in the form of Header files and
Object files. Then you just do:

#include "accessdatabasesheader.hpp"

int main()
{
Database my_database("c:\\blah.ext");

my_database.GetRecord( ...

...
}
It's a common misconception that C++ is "more difficult" than Visual Basic
and the like. It has much greater power, flexibility, capability; which to
be mastered has to be learned, and so this may give the impression of
difficult, but once you know what you're doing, it's easy as pie!
Did I mention you're off-topic? Databases have nothing to do with the C++
language itself! That's all we talk about here, C++ as a programming
language.

-JKop
Jul 22 '05 #2

P: n/a
Krish wrote:
Does anyone know how to connect access database into Visual C++ in
Visual Studio 6.0. I know the procedure to connect access database
into Visual Studio .Net. But Visual Studio 6.0 is more complicted
than .Net. Can someone help me pls?


Somebody in a Windows newsgroup or in Visual C++ newsgroup or in
a database programming newsgroup should be able to help. This is
a C++ _language_ newsgroup and your problem doesn't appear to be
of the language sort, besides, it cannot be solved using standard
C++ means which don't include connectivity to any databases.

V
Jul 22 '05 #3

P: n/a
Krish wrote:
Does anyone know how to connect access database into Visual C++ in
Visual Studio 6.0. I know the procedure to connect access database
into Visual Studio .Net. But Visual Studio 6.0 is more complicted
than .Net. Can someone help me pls?


How long did you spend with www.google.com looking for any of the thousands
of sample programs that do this before posting here?

This newsgroup is only qualified to discuss platform-neutral C++ things. If
you really can't find ADO samples, posting to a narrower technical newsgroup
will work much better.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.