Re: Documentation for C++ classes supporting the ActiveX ADO contr
- From: Jim Walsh <JimWalsh@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 19:03:00 -0800
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
- Follow-Ups:
- Re: Documentation for C++ classes supporting the ActiveX ADO contr
- From: Brian Muth
- Re: Documentation for C++ classes supporting the ActiveX ADO contr
- References:
- Prev by Date: Re: Documentation for C++ classes supporting the ActiveX ADO controls?
- Next by Date: Aggregate MSHTML and override a few interface - How?
- Previous by thread: Re: Documentation for C++ classes supporting the ActiveX ADO controls?
- Next by thread: Re: Documentation for C++ classes supporting the ActiveX ADO contr
- Index(es):
Relevant Pages
|