Re: Documentation for C++ classes supporting the ActiveX ADO contr

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Brian,

Thanks for your thoughts and suggestions about my question.

The program that I am working on is an update to a program I wrote a few
years ago in C++ using VS 6. I have moved it into VS2005, hopefully without
requiring many changes. The ADO interface seems to need adjusting.

The place where I am using the ADO controls is really quite natural and an
appropriate user interface. Later in the progrram, I will be adding data to
the database. In that section, the process will be hidden from the user. But,
that portion of the database activity requires two values from other tables
in the database. Specifically, I am adding some data into a table. The data
comes from a particular session for a particular patient. The ADO Data
controls, ADO Grid control, and ADO Data List control provide a convenient
interface to allow the user to select the patient and session for the other
data that is later being added to the database.

Eventually, I may be porting this program and others that use a similar
interface to .NET, but, I have many things to do, and I am not sure how much
of a project that will be.

Again, I appreciate your suggestions.

Back to my original question: working entirely within VS2005, I have added
these ADO controls to a dialog box, and added control variables for them. The
VS2005 IDE provided classes for each of these control variables. I am looking
for the documentation for these classes, and the other classes with which
they work. Are you familiar with that?

Jim




"Brian Muth" wrote:

A few comments in addition to those by Alexander....

Jim, these controls were originally meant to be hosted by VB6 forms, and as
such they are well documented as part of VB6. Unfortunately, most of the
online documentation has been removed by Microsoft as part of the
deprecation of VB6.

Having said that, it is very unnatural to use ADO in this fashion. At its
core, ADO is used for accessing data from a database ad typically you would
want to do this "silently" without a GUI, using basic ADO objects such as
Connection and Recordset. These are quite trivial to program in C++ as
opposed to hosting and ADO Data Control.

This really raises questions about your design requirements. Why are you
using ADO instead of the .NET database support (SqlDataCommand, etc.)? Why
are you choosing VC++ instead of C#? Why do you need ADO controls instead of
DataTable, DataGrid, etc.?

Brian




.



Relevant Pages

  • Re: Data Environment Connection Fails Silently
    ... > a dialog containing ADO databound controls. ... > - We're setting the connection string for the DataEnvironment connection ... Don't install XP specific SPs ...
    (microsoft.public.vb.database.ado)
  • Re: Documentation for C++ classes supportint the ActiveX ADO contr
    ... The controls really are Microsoft ADO Data Controls: ... I finally found the documentation in the MSDN Library: the ADO ... VS2005 toolbox) the ADO Data Control, ADO Data Grid control, and ADO ... some of the previous questions in this newsgroup before posting yours - ...
    (microsoft.public.data.ado)
  • RE: linking to SQL databases
    ... ADO recordsets are incompatible with the Access ... controls and can therefore not be used to populate them. ... They might need to change because the Jet database engine uses a different ...
    (microsoft.public.access.modulesdaovba)
  • Re: BDE support??
    ... > We have an application that is using controls descended from TDatabase, ... > we'd like to convince the higher ups to ditch the BDE and move to ADO. ... Very nice for unit testing, ...
    (borland.public.delphi.non-technical)
  • Sychronisationsprobleme mit ADO
    ... Desweiteren werden ADO Controls verwendet, ... Wenn ich jetzt einen Datensatz über die zentrale Connection manipuliere, ... zentrales ADO Control zu erstellen und die ActiveConnection aller anderes ADO ...
    (microsoft.public.de.vb.datenbank)