D
Denis Correard
Is there a way to find out if a file, say a TXT file, is already open by
another user/application in VB.net?
I tryed to look at "Stream", "FileInfo" but without success.
I need to know because in my app I move file from 1 place to another but if
the file is in use My app hangup without reporting an error.
I use:
Dim fi as new fileinfo(strfile)
fi.MoveTo(<<destination>>)
Can Anyone help?
Many thanks
Denis
another user/application in VB.net?
I tryed to look at "Stream", "FileInfo" but without success.
I need to know because in my app I move file from 1 place to another but if
the file is in use My app hangup without reporting an error.
I use:
Dim fi as new fileinfo(strfile)
fi.MoveTo(<<destination>>)
Can Anyone help?
Many thanks
Denis