Solved

Installing programs which use BDE

Posted on 2003-11-21
6
272 Views
Last Modified: 2013-11-23
Hi all,

I have a program which uses BDE. If I install my application on a system (without Delphi6) plus the BDE, I get an error when opening one form in particular, which says "compatability not supported" whatever that means!

But if I install the full Delphi package everything works ok.

I think the problem is related to creating new records since I get the same error when I try to add a new record.

Any ideas what could be missing?

Is there a better Setup creator which will include the files I need for my app?

Thanks,
Freerider.
0
Comment
Question by:Freerider
[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
6 Comments
 
LVL 9

Expert Comment

by:ginsonic
ID: 9802847
1. Maybe you install a different BDE version

2. Maybe you have check the 'Build with runtime packege' and your application try to find the libraries.( check in Install package' menu )

3. I suggest to use InstallShell that come with Delphi. Don't install BDE on client, just add the BDE needed drivers ( see the Database option there ). These will be included into your install program.


0
 
LVL 4

Expert Comment

by:mbprogrammer
ID: 9805584
1. Maybe you install a different BDE version

2. Maybe you have check the 'Build with runtime packege' and your application try to find the libraries.( check in Install package' menu )

3.Maybe you use some SQL statements that does not support in your BDE version.
0
 
LVL 6

Accepted Solution

by:
wimmeyvaert earned 250 total points
ID: 9806351
Why not making use of ADO instead ?

Since BDE isn't supported any longer by Borland, I would go for ADO instead.
Installations of ADO-applications are very easy! Just the Exe-File is needed (and maybe an UDL-File which holds the DbConnection-information).
The only thing you have to be sure is that the MDAC is installed on the client (MSAC 2.7 can be easily downloaded from the M$-website).

Cheers,

The Mayor.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Freerider
ID: 9806509
I don't remember why, but I already changed my app from ADO to BDE. I can't remember what I did - it was over a year ago.

Wouldn't it be a lot of work to change it back?
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 9809136
Depends on how large you project is.
Normally, the biggest effort is that you have to use other components. You need to replace all TTables by TADOTable, TQuery by TADOQuery, ...
Also, instead of using a TDataBase-component, you have to make use of a TADOConnection.

In the Code, you normally don't have to change much. Maybe the way of connecting to the DB, because a TADOConnection has its own methods and properties to connect to the db.

Best regards,
The Mayor.
0
 
LVL 6

Expert Comment

by:wimmeyvaert
ID: 10821470
Hi,

Thanks for the points and the grade !
Best regards,

The Mayor.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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