C++/VisualC++ Database

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Allonii

    C++/VisualC++ Database

    Hello!

    Im new to C++ but little used to java!

    Well my question is how you can connect to a database and then add,
    delete, etc trough a windows application.

    Im using visualC++ express edition just to make it "easy". I created a
    listbox there and are trying to connect it to a database (.mdb). But
    really don't know how to do that..


    Thanks for the help in advance
  • Sam

    #2
    Re: C++/VisualC++ Database

    Allonii writes:
    Hello!
    >
    Im new to C++ but little used to java!
    >
    Well my question is how you can connect to a database and then add,
    delete, etc trough a windows application.
    Most likely by using some library that offers the suitable functionality.
    Im using visualC++ express edition just to make it "easy". I created a
    listbox there and are trying to connect it to a database (.mdb). But
    really don't know how to do that..
    This has nothing to do with C++, the programming language, but rather with
    software libraries that are particular to your platform. It may come as a
    shock to you, but there are plenty of C++ applications that run on platforms
    other than Windows, which use databases too in, obviously, rather different
    ways.

    You'll have a better chance of getting an answer to your question by asking
    in one of the microsoft.* newsgroups.


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.9 (GNU/Linux)

    iEYEABECAAYFAkk gswoACgkQx9p3GY HlUOLh/QCfXO2ihS9DWwPB vspHtbU2mDON
    8jsAnREi85+t1nX E1YdL3KCKvL736r 6f
    =rsqN
    -----END PGP SIGNATURE-----

    Comment

    • Victor Bazarov

      #3
      Re: C++/VisualC++ Database

      Allonii wrote:
      Im new to C++ but little used to java!
      >
      Well my question is how you can connect to a database and then add,
      delete, etc trough a windows application.
      You'd use available library. And since there are no "windows" or
      "database" facilities in the Standard library, you'll have to ask in the
      newsgroup that deals with "windows" or "database".
      Im using visualC++ express edition just to make it "easy". I created a
      listbox there and are trying to connect it to a database (.mdb). But
      really don't know how to do that..
      "Listbox" or "database" are concepts not known in C++. You are probably
      talking about something specific to your platform. Please ask in the
      newsgroup where your platform is discussed. The list of suggested
      newsgroups is in the FAQ.

      V
      --
      Please remove capital 'A's when replying by e-mail
      I do not respond to top-posted replies, please don't ask

      Comment

      • =?ISO-8859-1?Q?=22Fernando_A=2E_G=F3mez_F=2E=22?=

        #4
        Re: C++/VisualC++ Database

        Allonii wrote:
        Hello!
        >
        Im new to C++ but little used to java!
        >
        Well my question is how you can connect to a database and then add,
        delete, etc trough a windows application.
        Try ODBC.

        >
        Im using visualC++ express edition just to make it "easy". I created a
        listbox there and are trying to connect it to a database (.mdb). But
        really don't know how to do that..
        >
        >
        Thanks for the help in advance
        Try microsoft.publi c.* newsgroups, such as microsoft.publi c.vc.mfc.

        Regards.

        Posted Via Usenet.com Premium Usenet Newsgroup Services
        ----------------------------------------------------------
        Best Usenet Service Providers 2025 ranked by Newsgroup Access Newsservers, Usenet Search, Features & Free Trial. Add VPN for privacy.

        Comment

        Working...