• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

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?
0
pullmangeeks
Asked:
pullmangeeks
1 Solution
 
MotazCommented:
You should install BDE along with your executable file.

You can install it by installing Delphi, only check BDE, and uncheck all other settings, that means you only install BDE.
Another solution is to use Install shield and choose BDE.

Motaz
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now