|
-
Feb 13th, 2009, 07:05 AM
#2
Lively Member
Re: Need Clarification About PublicNotCreatable
MSDN says:
"PublicNotCreatable means that other applications can use objects of this class only if your component creates the objects first. Other applications cannot use the CreateObject function or the New operator to create objects from the class."
You could use this way of instancing when you have a class that is dependent on a parent class, when it cannot "work" by itself. For example if you have an employee object, and you always need the company object (it's parent) for it to work.
Please be kind enough to RATE a helpful post. 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|