10.2.0- Creating an Instance of a Scripting Object
by NT Community Manager.
|
| << 10.1.0- What are Scripting Objects? | Chapter10 | 10.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? | Chapter10 | 10.2.1- Creating an Instance of a Scripting Runtime Object >> |

RSS

