Page

10.2.0- Creating an Instance of a Scripting Object

  by NT Community Manager.
Last Updated  by Jim Minatel.  

PublicCategorized as 10. The Scripting Objects.

Not tagged.
<< 10.1.0- What are Scripting Objects?Chapter1010.2.1- Creating an Instance of a Scripting Runtime Object >>

Creating an Instance of a Scripting Object

When you want to use a Scripting object, the first step is to create an instance of an object using the VBScript method CreateObject.

 

You'll recall our discussion of the relationship between objects and instances from Chapter 6 . Essentially, the class is the template of the object; and an instance is a particular copy of the object which is created in the shape of that template. This action is similar to cookies (the instance) coming out of a cookie cutter (the class).

<< 10.1.0- What are Scripting Objects?Chapter1010.2.1- Creating an Instance of a Scripting Runtime Object >>

Copyright © 2003 by Wiley Publishing, Inc.

Powered by Near-TimeTerms of Services | Privacy Policy | Security Policy |