473,503 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Limit number of users

Ian
Using Access 97 I want to distribute my database over a LAN but limit the
number of PC's that can use it at the same time. Perhaps limit it to 3 so
when the 4th user tries to open it they cant until one of the others closes
the database. I have seen other application that do this according to the
number of users that are licensed for it.

I don't expect anyone to write the code for me but if anyone could point me
in the write direction it would be appreciated, I have no idea how to even
count the number of PC's that have the database open at any one time.
Nov 13 '05 #1
2 2651
To be honest, I'm not sure it's possible. You could have each user write a
record to a table when they open the database, and delete it when they close
it, but there can be problems with that approach. You could also take a look
at http://support.microsoft.com/?id=186304 which explains how to read the
LDB file, but that's not 100% reliable either.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"Ian" <ia********@ntlworld.com> wrote in message
news:3Z***************@newsfe1-gui.server.ntli.net...
Using Access 97 I want to distribute my database over a LAN but limit the
number of PC's that can use it at the same time. Perhaps limit it to 3 so
when the 4th user tries to open it they cant until one of the others closes the database. I have seen other application that do this according to the
number of users that are licensed for it.

I don't expect anyone to write the code for me but if anyone could point me in the write direction it would be appreciated, I have no idea how to even
count the number of PC's that have the database open at any one time.

Nov 13 '05 #2
Ian wrote:
Using Access 97 I want to distribute my database over a LAN but limit the
number of PC's that can use it at the same time. Perhaps limit it to 3 so
when the 4th user tries to open it they cant until one of the others closes
the database. I have seen other application that do this according to the
number of users that are licensed for it.

I don't expect anyone to write the code for me but if anyone could point me
in the write direction it would be appreciated, I have no idea how to even
count the number of PC's that have the database open at any one time.

Look for LDBView, or else MSLdbUsr.DLL, in google groups
(http://groups.google.com/advanced_group_search?hl=en) or at MS
Support....I'm sure google would be quicker.

You can get a return count on the number of people in the system.

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1884
by: Dennis Bronstein | last post by:
What is the best way to limit logons to a website? We assign a user ID and password to each user. These are stored in the database (SQL Server). We want to do two things: 1. Only allow one...
1
2840
by: Tom Ostberg | last post by:
There appears to be a limit of ~16378 user Id's possible per database. When adding users we eventually get the message: > exec sp_adduser 'testUser', 'testUser', 'user_group' Server: Msg 15065,...
6
12331
by: Hannu | last post by:
Hi. In the ldb file you can see the users of the mdb-file. If you open the mdb-file your machine and username will be written in the lbd- file. Allthough you close the mdb-file your name won't...
3
4431
by: mgPA | last post by:
Short: How can I limit the number of concurrent logins to Access (2000) DB? Long: I seem to be having the problem discussed in previous postings of having more than 9 or 10 concurrent logins. ...
9
10807
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using...
0
1840
by: Tomas | last post by:
I have two questions: (1) How (if possible) can you, with ASP.NET (and with the IIS 5 included with win2000) specify an maximum limit of the memory that a web application may consume, as an...
4
10761
by: Bill | last post by:
Hi, I would be grateful if someone could clarify my rather confused ideas of the 10 connection limit on XP/2000 when its being used as a server. (I realise that XP is really a client op sys with...
1
1856
by: Flyboy | last post by:
I have created an MS Access 2003 database that will be distributed amoungst several hundred employees. I am wanting to limit the NUMBER of users who can access the database concurrently to 15 yet...
1
1554
by: suchismita.83 | last post by:
Hi, I am developing a messaging form which will use webmail in c#.The mailing list will inherit costomised groups from MOSS 2007 site.So the mailing list may vary in future. I just wanted to...
0
7204
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7091
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7342
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5018
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3162
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.