Folder for Delphi database files

Posted by Willy P15898 on January 14, 2008

Hi DelphiLand Team,

I have written a Delphi program with a database file (DBF file) that is located in the same folder as where the executable file is running from, such as D:\Projects\Animals. I've sent this program to a friend, but he wants to put the program plus data files in a different folder, such as C:\Program Files\Animals, and then the program doesn't find its database.

I want to make this run without setting up an "alias" for the database, because that's too complicated for most people who install my program. Any ideas?

Related articles


Follow Ups