Public Function ConvertFileToBase64(ByVal fileName As String) As String
Dim ReturnValue As String = \"\"
If My.Computer.FileSystem.FileExists(fileName) The
Public Function ConvertFileToBase64(ByVal fileName As String) As String
Return Convert.ToBase64String(System.IO.File.ReadAllBytes(fileName))
End Function