VBCorLib for VB6

Monday, July 07, 2008

Classic ASP Helper Project

So a few people have been attempting to use VBCorLib from within a classic ASP web page, and can have difficulties achieving success. There is a mismatch when dealing with ASP and VBCorLib, especially when dealing with arrays. In ASP all variables are held in a Variant. Arrays are expected to be a Variant with a subtype of the specific datatype. VBCorLib deals with strictly typed arrays. This presents a problem and can cause much frustration. So I've created a helper dll that allows for easy conversion of one array type to another. This makes it easy to convert the Byte() VBCorLib returns into a Variant(), or vis-versa when needing to pass a Byte() by reference into a method. Also, there are a few wrapper classes that make things a big smoother when dealing with classes that make heavy use of arrays, such as the cryptography classes.

So anyways, I hope the helper dll will provides benifit to those still developing in class ASP and would like to include some of the functionality provided by VBCorLib.

You can download the helper dll from Source Forge.

Kelly