In this chapter, we've studied how to create ActiveX components using Visual Basic 6.0. Component creation is often simple since there is no presentation layer to be concerned with—the components just contain nonvisual business logic that performs various functions and that perhaps interfaces with the database. Components are created by choosing the ActiveX DLL project type within Visual Basic 6.0.
We've also seen how to deploy these ActiveX components either by using Regsvr32 or by using the remote deployment features of Visual InterDev 6.0. ASP Web pages can call ActiveX components either by using the Server.CreateObject syntax or by using the <OBJECT> tag. When calling ActiveX components from your ASP Web pages, be sure to match the data types by using the VBScript conversion functions, if necessary.