Solved

How can my program be used at the same time by several users

Posted on 1998-10-09
7
157 Views
Last Modified: 2010-04-06
I have written a DB Program for a client, he has now loaded the program on a network so it is used by several staff in different office,s.

If the program is being used by employee A, if employee B trys to use the program he gets a message that the program is being used by say employee A.

How can I make the program so it can be used by employee A and employee B at the same time.

Thanks
Andy
0
Comment
Question by:Asw
[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
7 Comments
 
LVL 1

Expert Comment

by:ow
ID: 1342404
Hi Asw,

what exactly is the message you get?
and who does it send? Your program or the network system?

regards
  ow
0
 
LVL 4

Expert Comment

by:davidmwilliams
ID: 1342405
Hi ASW,
  What is the message you get?  Also, what is the type of
network you are using, and what database system did you use?
  Because you wrote the program, I think it is safe to say you did not write this message, and so it seems to me likely it comes from either your network operating system, or your database.  For example, if you used Paradox as your DB, you may not be setting the location of the pdoxusrs.net file, etc., which should be visible by each person trying to use the DB at the same time.

Regards,
 David W
0
 

Expert Comment

by:gspears060598
ID: 1342406
Hi,

What you're getting is a sharing violation.  The reason that you are getting this is that network that you are on doesn't know that it is allowed to share these files.

You need to flag these files as sharable.  How to do that will depend on the type of network you are on. (NT, Netware, or NFS)

George Spears
0
Technology Partners: 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!

 
LVL 3

Expert Comment

by:rickpet
ID: 1342407
Are you using Paradox files???If so I would suspect that you are getting locking errors...

You need to set each user up to work with your database files...

1)Create a directory where each user has full rights to.  Your pdoxusrs.net file will go here.

2)Create another directory and place all your datafiles.  This is where all your database and indexes will go.

3)Using your BDE administrator change the location of your net dir to the location of the directory created in step 1.

4) Read deploy.txt which you can find in your Borland/Delphi #/deploy.txt

Rick
0
 
LVL 1

Author Comment

by:Asw
ID: 1342408
Thanks to all you guys who answered my question.

My Client is not bothered about using this program on a network anymore so I have no need to solve this problem.

Sorry to use up your time.

Many Thanks
ASW
0
 
LVL 1

Author Comment

by:Asw
ID: 1342409
Hi Rickpet,

My client decided he wanted to put my program on his network in the end, I used your solution it worked excellent first time.

How do I award you the points.

Andy
0
 
LVL 3

Accepted Solution

by:
rickpet earned 100 total points
ID: 1342410
I'm glad I was able to help you...

Just award the points now...

Rick
0

Featured Post

Industry Leaders: 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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month5 days, 9 hours left to enroll

626 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