Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Boudewijn Lutgerink
  Where is Boudewijn Lutgerink?
 Hoonaardstraat, Driel
 Netherlands
 Boudewijn Lutgerink
 To: Ronan Masangcay
  Where is Ronan Masangcay?
 Manila
 Philippines
 Ronan Masangcay
 Tags
Subject: RE: Determine who and how many are using a table
Thread ID: 105133 Message ID: 105136 # Views: 59 # Ratings: 1
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Thursday, August 24, 2006 8:15:17 AM         
   


> Dear all,
>
> I will be developing a software and want to control the number of users that can run my program that might be installed on a traditional file server e.g. s:\comapps\AddEditDelete.EXE
>
> I plan to make the EXE USE (as in USE command) a VFP table within the said folder as a security process. Once used, the EXE that is running on the client's PC must be able to know how many users are concurrently using the table. Now I don't want to create a numeric field in the table and increment the value once logged on and decrement when the application closes.
>
> Questions:
> 1. Can we find out how many users are "using" a table through VFP and/or ActiveX?
> 1.a. If yes then someone please point me to the right direction :) also can it provide the ip addr and the network account of the user
>
> 2. Is there is a better or more proper way of finding out how many users are running AddEditDelete.EXE at the same and once a maximum figure is reached, the application will QUIT
>
> Thank you all once again!
>
> Regards,
> Ronan


take a look here

Boudewijn LutgeĀ®ink
If it ain't a Border Collie it's just a dog...

COMPLETE THREAD

Determine who and how many are using a table Posted by Ronan Masangcay @ 8/24/2006 8:05:20 AM
RE: Determine who and how many are using a table Posted by Boudewijn Lutgerink @ 8/24/2006 8:15:17 AM
RE: Determine who and how many are using a table Posted by Ronan Masangcay @ 8/24/2006 10:14:07 AM