BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


Uncategorized
A very simple way to generate multiple HTML combos from XML.
Retrieving a Registry subtree as XML
Retrieve Records
VB XML Parser
ITSE Namespace Navigator
Creating a select box and selecting one or more items
Re: For Next Loop in XXL
Enabling the tab key in a TEXTAREA
Date sorting (advanced) combined with the Muenchian Method for grouping
Extracting an item from a delimited list
Generating a Pivot Table from name-value pairs
Sorting on Dates and other Fixed Formats using the substring Function
Positional grouping by number of items
Parsing XML tag elements with VB string functions
getTemplate
getProcessor
Padding with spaces to a fixed-length string
Re: Swapping values in two integer variables without using a temporary variable
Swapping values in two integer variables without using a temporary variable
Comparing Multiple fields from the subquery


 
 

<< System.XMLWCF, WS, SOAP >>


By Martin
First Posted 10/12/2000
Times viewed 494

Base64 Encoder


This post contains attachments
v20001012235959.zip 

Summary A component which generates XML documents as strings, with no dependency on MSXML.

Sometimes, it's a bit heavy to add a dependency on the MSXML component in your project, just to get the Base64 functionality. For example, I have a component which generates XML documents as strings, with no dependency on MSXML.

  1. Obtain the MS Soap Toolkit - there's a Base64 Encoder/Decoder COM object in there.  Note: There may be a couple of minor bugs in the implementation in the current Technology Preview. The source code (C++) is included.
  2. Write your own VB class to do the job. I have a working VB Base64 class (not rigorously tested, though), if anyone is interested.

Note also that the Base64 encoded string produced by MSXML contains newline characters (Unicode 10, decimal) every 73 (encoded) characters. My VB example handles these (and other) invalid Base64 characters.


Rate this article on a scale of 1 to 10 (0 votes, average 0)

Your vote :  

<< System.XMLWCF, WS, SOAP >>





Leave a comment for this article
Your name
Your email (optional)
Your comment
Optional: Upload an attachment
Enter the code shown:

 
 

    Email TopXML