DotNetGnat
Programmer
Hello Guys,
can some one give me a sample code for the below logic...
The file in the both code is on our network and around 200 people have access to it, so we are not sure if the file is already in use by someone...
the only difficult thing to code for me is HOW TO FIND OUT IF THE FILE ON THE NETORK IS ALREADY IN USE BY SOMEONE programatically
Thanks in advance
-DNG
can some one give me a sample code for the below logic...
Code:
Sub main()
'declare the variable that holds the file path
'check to see if that file is already in use
'if the file is in use
'display a message box that says "file is in use"
'else
'display a message box that says "file is not in use"
end if
End sub
The file in the both code is on our network and around 200 people have access to it, so we are not sure if the file is already in use by someone...
the only difficult thing to code for me is HOW TO FIND OUT IF THE FILE ON THE NETORK IS ALREADY IN USE BY SOMEONE programatically
Thanks in advance
-DNG