Try:
Obtaining Open File Information from Another Machine
Use NetFileEnum to return a listing of open files and owners on remote
machines.
http://vbnet.mvps.org/code/network/netfileenum.htm
Note however this method is valid only on Windows NT4 / Windows 2000 /
Windows XP or later.
--
Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.
"martijn" <ma**********@wanadoo.nl> wrote in message
news:40***********************@news.wanadoo.nl...
: Hi There,
:
: my vb app can open files. Well, actually my vb app launches word or excell
: to open them.
: These files are shared in a network.
:
: If somebody else has allready opened that file, you must get a requester
: that says the file is temporarily unavaillable because it is edited
somewere
: else.
:
: How do you test if somebody has allready opened that file?
:
: I'll check this group regular basis......
:
: Best regards,
:
: Martijn
:
:
: