I want to check of a file exists but I can't use IO.fileexists because it's a URL, anyone have an alternative way to accomplish this?
if IO.FileExists("http://sharepointtest/Shared%20Documents/photo.jpg") then
userPic.ImageUrl = "http://sharepointtest/Shared%20Documents/photo.jpg"
end if
if IO.FileExists("http://sharepointtest/Shared%20Documents/photo.jpg") then
userPic.ImageUrl = "http://sharepointtest/Shared%20Documents/photo.jpg"
end if