Article View: borland.public.cppbuilder.database.ado
Article #1192Ado connection
From: Chri
Date: Wed, 15 Sep 2004 08:51
Date: Wed, 15 Sep 2004 08:51
18 lines
1626 bytes
1626 bytes
I tried to open a protected db in this manner: ADOQuery->ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;"; ADOQuery->ConnectionString = ADOQuery->ConnectionString +"SystemDatabase=MUR.mdw;"; ADOQuery->ConnectionString = ADOQuery->ConnectionString + "Password=pippo;"; ADOQuery->ConnectionString = ADOQuery->ConnectionString + "User ID=pippo;"; ADOQuery->ConnectionString = ADOQuery->ConnectionString + "Data Source=MUR.mdb;"; ADOQuery->ConnectionString = ADOQuery->ConnectionString + "Persist Security Info=False;"; I have MUR.mdb and MUR.mdw in the program folder! An error occour at the run time with the message that it doesn't find the information file (i think it's .mdw)... I don't know how to do, i've protected my db and i want to access it with my password!!! Thanks, Chri.
Technical Details
Message-ID:
<4148027c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,b70b50efa1f35b98,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Chri" <chrip@libero.it> From: "Chri" <chrip@libero.it> Newsgroups: borland.public.cppbuilder.database.ado Subject: Ado connection Date: Wed, 15 Sep 2004 10:51:19 +0200 Lines: 20 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 NNTP-Posting-Host: 80.182.60.111 Message-ID: <4148027c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1095238268 80.182.60.111 (15 Sep 2004 01:51:08 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail