Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Administering Visual FoxPro Databases
Message
De
15/04/1999 20:41:33
 
 
À
15/04/1999 20:23:07
Fausto Garcia
Independent Developer
Lima, Pérou
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00208827
Message ID:
00208831
Vues:
20
>Good night
>
>Is there a way to know if there are any users connected to a Visual FoxPro database (*.dbc)?
>

You can tell if anyone has the .DBC open by attempting to OPEN DATABASE EXCLUSIVE. If it fails, someone has the .DBC open. It won't tell you who (you need to use tools other than native VFP commands to determine what users have the file open, and the details on how to do this vary depending on what the network environment is and what privileges the current user has on the target file server.)

That someone could be you in another datasession, or in a separate VFP session on the same machine.

>Fausto Garcia
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform