ASP Best Practices |
When you convert Visual Basic applications for use in ASP, they should be run as DLLs (components), rather than being converted to VBScript. Visual Basic DLLs will generally run more efficiently than scripts written in any other scripting language. Encapsulate the Visual Basic code in DLLs and create them in your ASP pages by using <OBJECT> tags or Server.CreateObject().
You should use Visual Basic 6.0 to create an ActiveX DLL that has its project properties set to run in Unattended Mode, Apartment Model Threaded, and Multi-instance.