Article View: borland.public.cppbuilder.database.ado
Article #1047ADO connection default login dialog
From: Tumurbaatar S.
Date: Wed, 10 Nov 2004 10:18
Date: Wed, 10 Nov 2004 10:18
11 lines
1518 bytes
1518 bytes
There're only 2 units in my program: a main form and a data module. The data module contains TADOConnection and its LoginPrompt is true. I've added in the data module's header <DBLogDlg.hpp>. From the data module OnCreate event, I call connection's Open(). No any codes more. But a login dialog does not appear and connection tries to connect with empty login/password and it, of course, fails. Any ideas? P.S. Connection string points to UDL file which does not contain login/password. BCB6
Technical Details
Message-ID:
<4191eae9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!feeder1.essentkabel.com!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,5fcfb8584ccc69bf,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Tumurbaatar S." <nospam_tumurbaatar@datacom.mn> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADO connection default login dialog Date: Wed, 10 Nov 2004 18:18:19 +0800 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 202.131.2.5 Message-ID: <4191eae9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1100081897 202.131.2.5 (10 Nov 2004 02:18:17 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!feeder1.essentkabel.com!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!news-hub.cableinet.net!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail