Hi there,

This is an extract of an article on best practices for building VB COM objects to be used with ASP:

http://support.microsoft.com/support.../Q243/5/48.ASP

ByRef parameters should be passed as Variant while ByVal parameters can be specific data types. For additional information.

Search for:Passing Parameters By Reference to a VB COM Object


Do not register your component with MTS unless you need transactions. ObjectContext can be expensive in terms of performance.


cheers,
André