🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Connect DSN by ADO

#3531
From: Samuel
Date: Tue, 30 Jul 2002 19:52
11 lines
1270 bytes
Hi,

I want to dynamically set the database connection between DSN and my
application, but I don't know how to connect it with ADO. I change the
parameter(data source) in the connection string of ADOConnection but of
course it will not work as I didn't specify the driver.
Could anyone tell me that how can I dynamically connection different DSN in
my application?
Thanks!!!

Samuel
Technical Details
Message-ID: <3d461a45$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,78722ef137593003,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-07-29 22:06:17 PST
Reply-To: "Samuel" <samuel@hectrix.com>
From: "Samuel" <samuel@hectrix.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Connect DSN by ADO
Date: Tue, 30 Jul 2002 12:52:10 -0700
Lines: 13
Organization: Hectrix
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 203.80.236.62
Message-ID: <3d461a45$1_1@dnews>
X-Trace: dnews 1028004421 203.80.236.62 (29 Jul 2002 21:47:01 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews