🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2333

Using ADO without without the visual controls

#2333
From: Claudio Andre Heckler
Date: Sun, 24 Aug 2003 21:11
26 lines
1830 bytes
Hi folks!  I'm very new to CBuilder (not to programming
though), so beware of the newbie :)

I need to access data using ADO, and I already figured out
how to do just about everything using the visual controls
(Connection, Data Set and Data Source)

But, (and there's always a "but") I need to be able to do
this without using the visual controls, that is, all on a
class unit, no form.  Not even a hidden form that I never
display ;)

Since the controls don't expose a public creator, this won't
cut it:

TADOConnection *oConn = new TADOConnection::TADOConnection();

Any ideas?  I tried the help and sample code, both came
to nothing.  And in searching Google I was just expecting
to get a "won't you give up already?" result sometime :))

Any help is very appreciated!

Thanks,

Claudio
Technical Details
Message-ID: <3f492a05$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news3.optonline.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,9d019057c5c74195,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-08-24 14:21:44 PST
From: "Claudio Andre Heckler" <Claudio.Heckler@flexint.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Using ADO without without the visual controls
Date: Sun, 24 Aug 2003 18:11:32 -0300
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 200.102.82.138
Message-ID: <3f492a05$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061759493 200.102.82.138 (24 Aug 2003 14:11:33 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-05!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news3.optonline.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail