Converts a given binary file to a Base64 text. The method returns the Base64 text as String.

Syntax:

ConvertBinaryFileToBase64( BinaryFileName As String ) As String
Return: String
Parameters: BinaryFileName The path and name of the target binary file to be converted.

Example:
Dim Tool As XML Tool

Set Tool = Application.Tools.XMLTool

MsgBox Tool.ConvertBinaryFileToBase64("c:/Data/picture.jpg")

See also:

Class XMLTool


Last Updated: 03/17/21