Subject | Re: [firebird-support] Path to database on CD |
---|---|
Author | Florian Hector |
Post date | 2004-08-05T06:37:03Z |
> How do I set the path to a database on a CD? The user could beAre you running the app. from the CD as well?
> using any drive letter. I've tried ".\MyData.FDB" but that
> doesn't work. I get an error saying the system cannot find the
> file specified.
>
> Delphi 6 pro, IBO 4, FB 1.5.1 embedded.
If so, what about:
Path := IncludeTrailingBackslash(ExtractFilePath(Application.ExeName)) +
'MyData.FDB';
Florian