?
Solved

Problem when running my program on another computer!

Posted on 2003-03-21
1
Medium Priority
?
191 Views
Last Modified: 2010-04-03
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
Comment
Question by:pullmangeeks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
Motaz earned 200 total points
ID: 8185624
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month12 days, 10 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question