For a few more time, I participated in some ASP questions. It is noted that many people are making a same problem when writing ASP components using VB, and the variable types in the component are defined in the function type. We know that you can write code in the VBS scripting language in the ASP, but VBS and VB have great differences, there are many variables in VB, but there is only one type in VBS, that is, the Variant type. Therefore, when writing ASP components with VB, the component properties of the VBS interface should be defined as Variant, otherwise, an error may occur when using components. It is also necessary to use public instead of using private.