wsuBobby Posted July 27, 2009 Posted July 27, 2009 I have a .NET COM class that's compiled into a .dll that I'm referencing in VB6 code. Is there a way to make a .NET COM class a "master class" (not sure what the right terminology is - which is probably why I can't google it easily)? When I say "master class" I want to initialize an instance of this one time and all other creations of this same object are references to the original creation. So, the first time it's created and I set all the properties on this object, elsewhere in code I create another variable of this type but I don't want a new one with it's own set of properties etc. I want this to reference the originally created one. Is this possible? If it is what's the name of this technique? Or how to you go about approaching it? I think it can be down just not sure how to start. Thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.