Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect who has the file open
Message
De
29/10/2002 19:33:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00715478
Message ID:
00716739
Vues:
29
>>This can be accomplished programmatically using ADSI - the IADsFileService and IADsFileServiceOperations interfaces will provide all the information you might want, at the cost of installing ADSI and learning to use it.
>
>There might be something Q192580 or Q192766, I don't remember.

I'll take your word on this; I know I can do it with WMI, but I've had lots of trouble calling WMI from VFP. I've played around with creating components using VB and ATL to publish a more managable interface with some success, but nothing I'd write home to tell Mom about.
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