W
Warrio
Hello
I am using the Dir function to see if the path that I have is still valid.
It works perfectly if the path begins with a drive, but when I try with a
file stored on a server or on internet, it can't work and shows the error
message "Bad file name or number".
if Dir("http://www.microsoft.com/myDoc.doc") = "" then MsgBox "File not
found!"
Is there something that I forgot or is there another way to make this check?
Thanks for any suggestion!
Best regards.
I am using the Dir function to see if the path that I have is still valid.
It works perfectly if the path begins with a drive, but when I try with a
file stored on a server or on internet, it can't work and shows the error
message "Bad file name or number".
if Dir("http://www.microsoft.com/myDoc.doc") = "" then MsgBox "File not
found!"
Is there something that I forgot or is there another way to make this check?
Thanks for any suggestion!
Best regards.