Re: problem connecting to ADO programmatically
- From: "William Meyer" <meyer.wil@xxxxxxxxx>
- Date: 27 Apr 2008 17:10:18 -0700
Pieter Zijlstra wrote:
Here is the connection string I use on normal (unprotected) MDB files
for just reading them.
adoConn.ConnectionString := 'Provider=Microsoft.Jet.OLEDB.4.0' +
';Data Source=' + objSettings.DatabaseName +
';Mode=Read' +
';Persist Security Info=False';
On the component level I have KeepConnection and LoginPrompt set to
False. I can and am changing the connectionstring on the fly based on
user settings.
Thanks for the tip. I will hope that it solves my problem.
--
Bill
.
- References:
- problem connecting to ADO programmatically
- From: William Meyer
- Re: problem connecting to ADO programmatically
- From: Pieter Zijlstra
- problem connecting to ADO programmatically
- Prev by Date: Re: problem connecting to ADO programmatically
- Next by Date: Re: Is This Thread Safe?
- Previous by thread: Re: problem connecting to ADO programmatically
- Index(es):