Article View: borland.public.cppbuilder.database.ado
Article #1724Re: How to connect to password protected *.MDB but without *.MDW?
From: Viatcheslav V. Vassiliev
Date: Tue, 20 Apr 2004 09:56
Date: Tue, 20 Apr 2004 09:56
29 lines
1970 bytes
1970 bytes
As you want - you may set in connection string builder (last tab) or in
code:
ADOConnection1.ConnectionString =
WideString("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\\Test\\Test.mdb;Jet OLEDB:Database Password=XXX;");
//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)
"Vladimir Stefanovic" <antivari@ptt.yu> �������/�������� � ��������
���������: news:4083ea1f@newsgroups.borland.com...
> > Add "Jet OLEDB:Database Password=XXX"
> > to connection string.
>
> Has this to be done with the embedded Connection
> String Builder or from code?
>
> What about DB path?
>
> Thanks.
>
>
>
Technical Details
Message-ID:
<4084f3ba$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4083cfea@newsgroups.borland.com> <4083e142$1@newsgroups.borland.com> <4083ea1f@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,aab5eeece93c00f9 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2004-04-20 03:10:05 PST From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com> Newsgroups: borland.public.cppbuilder.database.ado References: <4083cfea@newsgroups.borland.com> <4083e142$1@newsgroups.borland.com> <4083ea1f@newsgroups.borland.com> Subject: Re: How to connect to password protected *.MDB but without *.MDW? Date: Tue, 20 Apr 2004 13:56:11 +0400 Lines: 31 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: 213.234.218.42 Message-ID: <4084f3ba$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1082454970 213.234.218.42 (20 Apr 2004 02:56:10 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail