Link to home
Start Free TrialLog in
Avatar of pullmangeeks
pullmangeeks

asked on

Problem when running my program on another computer!

Hi all,
Basically, I have on the form
1)a TTable Table1 with its TableName property set to my database c:\test\test.db
2)a TDataSource DataSource1 with its DataSet property set to Table1
3)a TBDGrid DBGrid1 with its DataSource property set to DataSource1
4)a TButton button1 when i click on it
Procedure TForm1.Button1Click(Sender: TObject);
begin
   Table1.Active := true;
end;

I can compile and run the program on my computer and show the database on the DBGrid when I click on the button. The thing is when I try to run the program on another computer that does not have Borland Delphi or C++ installed, it works fine until i click on the button I get this error:
An error occurred while attempting to initialize the Borland Database Engine (Error $2108)
Although I have the program installed on the same directory c:\test\. Is there a package from Borland that I have to include with my program or something?
ASKER CERTIFIED SOLUTION
Avatar of Motaz
Motaz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial