Features
      Ask DevGuru
      ASP Resources
      Find the Bug
      Knowledge Base
      Links
      Tips of the Week
      Tutorials
  Products
      dgCalendar
      dgCharge New!
      dgChart New!
      dgFileUpload
      dgReport New!
      dgSort
      dgTree
  Site
      Authoring
      Coming Soon
      DevGuru Resume
      Link to Us
      Merchandise
      Sponsorships
      Testimonials
      What's New
  Technologies
      ADO 2.6
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      Transact-SQL Syntax
      VBScript
      WML
      WMLScript
      WSH
      XML DOM

              











EVENT:  Terminate

Implemented in version 5.0
 
Terminate
 
The Terminate event is an optional subroutine that can be called when you terminate an instance of an object using the Class ... End Class statement. You can place any valid VBScript code inside the subroutine that you want to run when the class is terminated.
 
The similar Initialize event can be called when you create an instance of an object.
 
Note, as shown in the code example, that the subroutine name must be composed of the word Class, an underscore ( _ ) and the word Terminate().
 
Code:
Class DevGuru
...
   Private Sub Class_Terminate()
      'place any valid VBScript code here
   End Sub
...
End Class


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information