There are two limitation about writing ASP code with VBScript. First of all, all variables must be variants. Second, VBScript can currently retrieve output parameters only when they are declared as variants. If you try to call a method on a Visual Basic object that has an output parameter defined as String or Double, the VBScript code will fail and generate a fairly confusing error message.