|
|
Add Review and Rate the listing.
|
|
|
Total Hits: 204 | Today: 0 |
Author: Peter Persits
|
Rating:
|
|

This articles demonstrates how to write an object which returns another object. Our component (which we will call ParentChild) will host two objects, Parent and Child. The Parent object will be createable via the Server.CreateObject statement. The Child object, on the other hand, will not have a ProgID of its own. It will be created by calling Parent's method CreateChild, as follows:
Set Parent = Server.CreateObject("ParentChild.Parent") Set Child = Parent.CreateChild Child.SomeMethod
|
|
If you would like to add your review of the above resource
please complete the form below. All reviews are screened before they are posted
on the website. Any malicious, vulgar, or unsubstantiated reviews will be removed.
|
<< Back to listing
|
|
|
|
|