July 2000
Intermediate to advanced
492 pages
14h 53m
English
<SCRIPT LANGUAGE = VBScript RUNAT SERVER>
' The following code uses the Server object's
' CreateObject method to instantiate a Counters
' component in the Application_OnStart event
' in the GLOBAL.ASA file.
Sub Application_OnStart
Dim objCounter
Set objCounter = Server.CreateObject("MSWC.Counters")
End Sub
</SCRIPT>For more detail on the use of the CreateObject method, see its entry in Chapter 9.
Read now
Unlock full access