I have the code below:
Dim base64Decoded As String
Dim base64Encoded As String = "aGVsbG8="
Dim data As Byte()
data = System.Text.ASCIIEncoding.ASCII.GetBytes(base64Encoded)
base64Decoded = System.Convert.FromBase64String(data)
MsgBox(base64Decoded)
However, I'm getting an error message at the base64Decoded = ... line:
Value of type 'Byte()' cannot be converted to 'String'.
Any ideas?