Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 1998-10-09
7
Medium Priority
?
159 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
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.

 
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 400 total points
ID: 1342410
I'm glad I was able to help you...

Just award the points now...

Rick
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

715 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