Hi,

I did try your code with one more line inside the Try block (though it worked for me without that change).

VB Code:
  1. Public Function IsFileAvailable(ByVal FileLink As String) As Boolean
  2.         Dim objUrl As New System.Uri(FileLink)
  3.         Dim objWebReq As System.Net.WebRequest
  4.         Dim objResp As System.Net.WebResponse
  5.         Try
  6.             objWebReq = System.Net.WebRequest.Create(objUrl)
  7.             objResp = objWebReq.GetResponse
  8.             objResp.Close()
  9.             objWebReq = Nothing
  10.             Return True
  11.         Catch ex As Exception
  12.             objWebReq = Nothing
  13.             Return False
  14.         End Try
  15.     End Function

Debugged via IDE and didn't find any problem.