File Encoding and Decoding Control

Encode and decode files using standard algorithms such as base64, uuencode and quoted-printable. The control can also be used to compress and expand files, either separately or as part of the encoding process.

Reference

Control Information

Object Name FileEncoderCtl.FileEncoder
File Name CSNCDAX6.OCX
Version 6.0.6000.0
ProgID SocketTools.FileEncoder.6
ClassID 48DD4131-4374-4F3B-97C5-68D254B3D994
Threading Model Apartment
Help File CST60CTL.CHM
Dependencies None
Standard RFC 1738, RFC 1951, RFC 2045

Remarks

The File Encoding control provides functions for encoding and decoding binary files, typically attachments to e-mail messages. The process of encoding converts the contents of a binary file to printable 7-bit ASCII text. Decoding reverses the process, converting a previously encoded text file back into a binary file.

There are two primary types of encoding used, uucode and base64. The uucode algorithm (so called because the programs to perform the conversion were called uuencode and uudecode) is commonly used on UNIX systems and is still widely used when attaching binary files to USENET newsgroup posts. The base64 algorithm is most commonly used with e-mail attachments, and is often referred to as MIME encoding since this is the encoding method specified in the MIME standards document. The control also supports a newer encoding format called yEnc, which has become popular for posting binary files to Usenet newsgroups.

Requirements

This component is supported on Windows 2000, Windows XP, Windows Server 2003 and Windows Vista. If you are using Windows 2000, it is required that you have Service Pack (SP4) installed. If you are using Windows XP, it is required that you have at least Service Pack 2 (SP2) installed and it is recommended that you install Internet Explorer 7.0. It is also recommended that all critical updates to the Windows operating system be installed.

The SocketTools Visual Edition components are compatible with any development tool that fully supports COM (Component Object Model) and the ActiveX control specification. This includes Visual Studio 6.0, Visual Studio .NET 2003 and Visual Studio 2005. If you are using Visual Basic 6.0 or Visual C++ 6.0, it is required that you have Service Pack 5 (SP5) or later installed. If you are using Visual Studio .NET 2003, it is recommended that you install Service Pack 1 (SP1). In all cases, it is recommended that you have the current updates for your development tools installed.

Distribution

When you redistribute an application that uses this control, you should install the appropriate file in the Windows system directory. ActiveX controls must be registered on the target system by the installation program before they can be used by an application.


Copyright © 2008 Catalyst Development Corporation. All rights reserved.