Freeware Base64 Encoding ActiveX Component
This is a simple and free ActiveX component for Base64 encoding and decoding. It can be used in ASP, VBScipt, Visual Basic, and any other programming language that supports ActiveX components.
How to Use
Simply download the Zip distribution and unzip. Register the DLL using regsvr32.exe. The following sample VBScript is included in the download and demonstrates the functionality of this component:
' This VBScript example serves as the documentation for this free ActiveX component.
' To use the component, simply unzip the distribution package and register
' the DLL using regsvr32.
' Base64 ActiveX creation:
set obj = CreateObject("Base64.Base64")
' Load a GIF image file into memory.
binaryData = obj.LoadBinaryFile("t.gif")
' Convert the binary data to a base64 string
base64Str = obj.ToBase64(binaryData)
' Display the base-64 string.
MsgBox base64Str
' Convert it back to binary data.
binaryData2 = obj.FromBase64(base64Str)
' Save the binary data to a file.
obj.SaveBinaryFile "t2.gif",binaryData2
' t2.gif should be identical to t.gif.
About Tortuga
Tortuga Group LLC is in the business of building a new index for the World Wide Web at http://www.worldwideweb-x.com. The company has decided to make available some of its internally used ActiveX components to the general public. We hope you find them to be useful.
Entertainment-X.com : Entertainment Business Web Directory