Article View: borland.public.cppbuilder.database.ado
Article #3429Allow User To Select Data Source?
From: Charlie Grosvenor
Date: Tue, 20 Aug 2002 12:36
Date: Tue, 20 Aug 2002 12:36
18 lines
1496 bytes
1496 bytes
Hi
In my application i require the user to be able to to select the ADO
data source to use. In delphi i can do it like this:
Try
DatabaseConString.text :=
ADODB.PromptDataSource(Self.Handle, DatabaseConString.text);
Except
Application.MessageBox('Error Occured Editing Connection
String','Error');
end;
I am now using CPP Builder version 6 and would like to know how I can bring
up this dialog in CPP Builder?
Thank you
Charlie
Technical Details
Message-ID:
<83dtja.9u5.ln@213.152.39.138>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!213.152.39.138!nobodyShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,dc9e4e2a2990d6c0,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-08-20 05:45:26 PST From: "Charlie Grosvenor" <charliemail@cgrosvenor.co.uk> Newsgroups: borland.public.cppbuilder.database.ado Subject: Allow User To Select Data Source? Date: Tue, 20 Aug 2002 13:36:22 +0100 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <83dtja.9u5.ln@213.152.39.138> NNTP-Posting-Host: 213.152.39.137 X-Trace: newsgroups.borland.com 1029846974 213.152.39.137 (20 Aug 2002 05:36:14 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!213.152.39.138!nobody