Platforms to show: All Mac Windows Linux Cross-Platform

/Encryption/Base 64/Base 64 encoding
Required plugins for this example: MBS Encryption Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Encryption/Base 64/Base 64 encoding
This example is the version from Tue, 23th May 2016.
Project "Base 64 encoding.xojo_binary_project"
Class Window1 Inherits Window
Control StaticText1 Inherits Label
ControlInstance StaticText1 Inherits Label
End Control
Control StaticText2 Inherits Label
ControlInstance StaticText2 Inherits Label
End Control
Control StaticText3 Inherits Label
ControlInstance StaticText3 Inherits Label
End Control
Control EditField1 Inherits TextField
ControlInstance EditField1 Inherits TextField
End Control
Control encoded Inherits Label
ControlInstance encoded Inherits Label
End Control
Control decoded Inherits Label
ControlInstance decoded Inherits Label
End Control
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action() dim OriginalText as string = editfield1.text OriginalText = ConvertEncoding(OriginalText, encodings.UTF8) dim EncodedText as string = EncodeBase64MBS(OriginalText,12,"") encoded.text = EncodedText dim DecodedText as string = DecodeBase64MBS(EncodedText) DecodedText = DefineEncoding(DecodedText, encodings.UTF8) decoded.text = DecodedText End EventHandler
End Control
End Class
MenuBar Menu
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = "File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu0 = "Edit"
MenuItem EditUndo = "Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cut"
MenuItem EditCopy = "Copy"
MenuItem EditPaste = "Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

See also:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Encryption Plugin.

The biggest plugin in space...

MBS Xojo PDF Plugins

Start Chat