Solved

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

Posted on 1998-10-09
7
153 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
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Component or function to create an ICS-file 2 92
Delphi OLE Error 8 84
Newbie Thread Programming 1 118
Downloading email attachments 2 55
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…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

746 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

10 Experts available now in Live!

Get 1:1 Help Now