Re: Accessing many type of DB



I have to develop an application which can access any type of database,
selected by the user; specially Excel files, Txt, csv, XML, and may be
connection to a DB via odbc, ...

I need help about the technologie to use to do this; I have visual C++
2005,
and I want this to work on windows 2000 and later

You can do all of that with ADO.

1) The Jet 4.0 provider can be used to read/write to Excel.
You now need to download that separately from MDAC

2) The Jet 4.0 provider can also be used to to write to text files,
including CSV text files

3) You can write out Recordsets in XML format

4) And there is a legacy provider that can connect to ODBC so that ADO
objects can be used.
You now need to download that separately from MDAC

It is all possible. You need to write the code.

Stephen Howe


.



Relevant Pages

  • Re: What is the logic of storing XML in a Database?
    ... transfer data and so could replace simple CSV formats. ... If ODBC or similar can handle the communication then it's ... *message* the same way XML or a CSV does. ... OLE-DB and the current tendancy is for Native Providers. ...
    (comp.databases.theory)
  • Re: What is the logic of storing XML in a Database?
    ... transfer data and so could replace simple CSV formats. ... If ODBC or similar can handle the communication then it's ... *message* the same way XML or a CSV does. ... OLE-DB and the current tendancy is for Native Providers. ...
    (comp.databases.theory)
  • Accessing many type of DB
    ... specially Excel files, Txt, csv, XML, and may be ... connection to a DB via odbc, ...
    (microsoft.public.data.ado)
  • Re: What is the logic of storing XML in a Database?
    ... can't do with CSV. ... In what a header does constitute a schema. ... So a schema is the standard structure by which the user sending a file ... in much the same way that XML standards are. ...
    (comp.databases.theory)
  • Re: ultra newbie question (dont laugh)
    ... storing employee information in an XML file. ... but not as fun as writing the logic. ... On reason to use OOP is to insulate your main code from things like storage ... from CSV file. ...
    (comp.lang.python)