D
Dino Buljubasic
If I want to delete a file I can call File.Delete(filePath)
but what happens if I am trying to delete the file that is open???
In java you would do someting like
int status = fileExists(filePath) // return 0, 1, or 2
2 means file exists and it si open
but VB returns boolean value telling file exist or not
all I want to do is check if a file is open before calling
File.Delete(filePath)
I can not believe there is not easy way to check for this in VB ????
_dino_
but what happens if I am trying to delete the file that is open???
In java you would do someting like
int status = fileExists(filePath) // return 0, 1, or 2
2 means file exists and it si open
but VB returns boolean value telling file exist or not
all I want to do is check if a file is open before calling
File.Delete(filePath)
I can not believe there is not easy way to check for this in VB ????
_dino_