Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect who has the file open
Message
From
29/10/2002 19:33:49
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00715478
Message ID:
00716739
Views:
28
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform