Solved

install BDE in  the network?...

Posted on 1998-12-16
6
480 Views
Last Modified: 2012-12-14
How can I install just one copy of the BDE on a network server and make all clients use that.  If I installed my program onto a fresh network server, I want to store the BDE on the network drive.  When I add new clients I will simply add a new shortcut to point to the program.  So I want the new clients all pointing to one common BDE on the network server.
0
Comment
Question by:alaingated
6 Comments
 
LVL 1

Expert Comment

by:Gerhard100198
Comment Utility
As far as I'm aware this can only be done with a "special" networkable version of the BDE (which I've heard cost quite a lot of bucks).

In theory though I can't think of a good reason why you can't do this.

Try the following:
1) On the server create a drive called X (for this example I'm using X). It's important that you will be using a shared directory so that all machines can map this directory to drive X to prevent path conflictions/variations. To do this in the server create a directory called C:\BDE and then share this directory. On the server add the following code to your Autoexec.bat: SUBST X: C:\BDE

You now have a virtual X-drive on the server.

2) On all of the workstations map the BDE shared directory to drive X.

3) Install the BDE on the server to drive X.

4) Using RegEdit copy the following registry branch to a file which you can now install into the registry on all the client machines (if you don't know how to do this let me know and I'll explain it). The branch: HKEY_LOCAL_MACHINE, SOFTWARE, Borland, Database Engine  (I'm using BDE 5.0. I can't remember if this will be exactly this same for the older versions).

5) It might be that there are a couple of file which needs to be copied to the Windows system directory. The BDE should complain about not finding these files when trying to use it on the client machines. You could just copy these files to the client machines but I suggest you first try the following:
Copy these files to a directory on the X-drive and put this directory into your PATH statement on all the machines. With any luck the BDE will then find these files on the server and you won't have to copy them to the clients.


In theory all the machine will now be able to use the BDE on the server. Let me know how it goes. If these suggestions help you enough let me know and I'll submit this as an answer.

Good luck.

Gerhard
0
 

Expert Comment

by:john_m
Comment Utility
I'd check the TI sheets at inprise's web site. If I remember correctly there is a data sheet outlining network BDE installation.

Regards,

John Malia
0
 
LVL 4

Expert Comment

by:dwwang
Comment Utility
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Accepted Solution

by:
RJENKINS earned 70 total points
Comment Utility
This is easily done, it's just a matter of applying the correct vaules to the right keys in the registry
[HKEY_LOCAL_MACHINE\SOFTWARE\Borland\Database Engine]
It's a bit of a pain so borland have created an app to setup the registry values and another one to set them up for you

Read

BDE network installation example with source

at

http://www.inprise.com/devsupport/bde/delphifiles.html

and download

http://www.inprise.com/devsupport/bde/files/bdenet.zip

just setup the location and values using the administrator program, and then use the setup program on each machine. They will now be all pointing at the same BDE files on the network.

Hope this Helps
Richard Jenkins
0
 
LVL 1

Expert Comment

by:RJENKINS
Comment Utility
As All the source code is there you can inbed it into your app, so its the first thing it does when you run it. just store the infile in the same directory as the app and open it up.
0
 

Expert Comment

by:Henk_Lohuis
Comment Utility
Hello,

The download link isn't available anymore.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now