🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: HELP! - Can I use ADO in a Console Application????

#5618
From: Shannon Broskie
Date: Wed, 21 Mar 2001 22:09
31 lines
1991 bytes
If you don't want to include a datamodule, just add adodb.hpp to your
include list...
You can create all of the ADO components in code.

"Mark Cashman" <mcashman@temporaldoorway.com> wrote in message
news:3AB6D8AF.27699692@temporaldoorway.com...
> Hi, JC!
>
> It's not that hard, but there are a few things you need to do. First,
> when you create the console app, it must be a VCL enabled console app -
> there's a checkbox in the wizard that runs with File | New | Console
> Application.
>
> You can add a data module to such an application with the usual File |
> New | Data Module and you can add TADODatabase and other objects to the
> data module.
>
> Then you can use normal design-time components and event handlers.
>
> I hope this helps.
>
> ------
> Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at
> http://www.temporaldoorway.com
> - Original digital art, writing, music and more -
> C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
> (Join us!)
> http://www.temporaldoorway.com/programming/index.htm
> ------
>
>
Technical Details
Message-ID: <3ab925cf$1_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!news.bnb-lp.com!dnews!216.174.24.2
References: <3ab62450_2@dnews> <3AB6D8AF.27699692@temporaldoorway.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,cf5ed7cca0f7eb9d
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-03-21 14:22:18 PST
From: "Shannon Broskie" <shannonbroskie@tagfolio.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3ab62450_2@dnews> <3AB6D8AF.27699692@temporaldoorway.com>
Subject: Re: HELP! - Can I use ADO in a Console Application????
Date: Wed, 21 Mar 2001 17:09:00 -0500
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 216.174.24.2
Message-ID: <3ab925cf$1_2@dnews>
X-Trace: 21 Mar 2001 14:06:07 -0800, 216.174.24.2
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!fr.usenet-edu.net!usenet-edu.net!fu-berlin.de!news.bnb-lp.com!dnews!216.174.24.2