Sample code for 30+ languages & platforms
Visual Basic 6.0

Decode Base64

Demonstrates how to decode base64.

Chilkat Visual Basic 6.0 Downloads

Visual Basic 6.0
Dim success As Long
success = 0

Dim bd As New ChilkatBinData

' Append a base64 string to bd.
success = bd.AppendEncoded("c2VjcmV0","base64")

' The bd now contains the decoded bytes.
' Let's say it was a password string..
Dim password As String
password = bd.GetString("utf-8")

' Decodes to "secret".
Debug.Print "password = " & password