Mega Code Archive

 
Categories / Delphi / Strings
 

I want to distribute a database application, but i dont want to force all my users to create bde aliases what do i do

The simplest answer is to avoid using aliases in your application. Everyting you can set in an alias, you can also set as properties or in the Params section of a TDatabase object. For example, if you are accessing Paradox files, you can add a "PATH=d:\dir\path" line to the Params collection, avoiding the need to use a BDE alias to specify the directory where the files reside