Re: problem connecting to ADO programmatically
- From: "Pieter Zijlstra" <p.zylstra.notthis@xxxxxxxxx>
- Date: Sun, 27 Apr 2008 23:30:32 +0200
William Meyer wrote:
I have taken the connection string created using the MS wizard, and
broken it into a series of constants, so I can replace the file path
dynamically. When I attempt to do this, I get the "Could not find
installable ISAM" error message. My code:
[snipped]
If I comment out the assignment to ADOConnCAPWatch.ConnectionString,
there is no error. I have tried commenting out parts of the tail
strings, finally reaching this:
[snipped]
I still get the error. Any suggestions?
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.
--
Pieter
.
- Follow-Ups:
- Re: problem connecting to ADO programmatically
- From: William Meyer
- Re: problem connecting to ADO programmatically
- References:
- problem connecting to ADO programmatically
- From: William Meyer
- problem connecting to ADO programmatically
- Prev by Date: Re: problem connecting to ADO programmatically
- Next by Date: Re: problem connecting to ADO programmatically
- Previous by thread: Re: problem connecting to ADO programmatically (solved)
- Next by thread: Re: problem connecting to ADO programmatically
- Index(es):