amir311
asked on
database,standalone
Ā I have a Problem so that i had written a program
with delphi 5.0 and i want run it on all computer.This
program uses Paradox database but.i can't define
aliases for all computer.i want run my program without
delphi software.
What i can write stand-alone program so that it run and
known Aliases on all computer.
Please help me.
with delphi 5.0 and i want run it on all computer.This
program uses Paradox database but.i can't define
aliases for all computer.i want run my program without
delphi software.
What i can write stand-alone program so that it run and
known Aliases on all computer.
Please help me.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1. If you are putting your tables at the same directory withen your application you can use Directory name instead of Alias name such as:
Table1.DatabaseName:= ExtractFilePath(ParamStr(0
Table1.TableName:= 'MyTable.db';
Table1.Open;
You can put that in OnCreate event, and no need for alias.
2. If you want to put your tables at different directory for example: c:\data, then write:
Table1.DatabaseName:= 'c:\data';
Table1.TableName:= 'MyTable.db';
Table1.Open;
Motaz