|Subject||Re: [firebird-support] Path to database on CD|
> 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)) +