B
Ben
Hi all-
I been running to this problem quite a few times now. My groups
supports a number of users that are dispersed through out the building.
We have a few automated processes that generate some pdf/doc/xls/txt
files.
These files get overwritten everyday. But on a number of occasions,
users would forget to close out of the files and so the next morning, it
bombs the process because it cannot get a exclusive handle on the files
to write to them.
Here's my question:
Is there a way to quickly write up some code in vb.net to see who has a
file opened? I am not a vb.net user, but I am trying to get into it.
What facility does the .net framework/ vb.net provide, if there's any,
to make this possible? Please share with me your thoughts. I tried to
do a search on it, but mostly they are for windows administration. But
I want to provide this app to our group so that we can run it against a
file and see which network user has a lock on the file.
Thanks,
Ben
I been running to this problem quite a few times now. My groups
supports a number of users that are dispersed through out the building.
We have a few automated processes that generate some pdf/doc/xls/txt
files.
These files get overwritten everyday. But on a number of occasions,
users would forget to close out of the files and so the next morning, it
bombs the process because it cannot get a exclusive handle on the files
to write to them.
Here's my question:
Is there a way to quickly write up some code in vb.net to see who has a
file opened? I am not a vb.net user, but I am trying to get into it.
What facility does the .net framework/ vb.net provide, if there's any,
to make this possible? Please share with me your thoughts. I tried to
do a search on it, but mostly they are for windows administration. But
I want to provide this app to our group so that we can run it against a
file and see which network user has a lock on the file.
Thanks,
Ben