rbulph
09-10-2003, 01:53 PM
Supposing you create an object from a dll with code such as:
Set objX=CreateObject("MyObjects.Class1")
TypeName(objX) will return "Class1". Is there any function that will return "MyObjects"? This would be useful with plug-ins where you may have an object from a collection of objects created from different dlls and you want to be able to access other classes from the dll that your object is created from. Otherwise you would just have to keep a store of all the dll names when you create the objects.
Bet there isn't.
Set objX=CreateObject("MyObjects.Class1")
TypeName(objX) will return "Class1". Is there any function that will return "MyObjects"? This would be useful with plug-ins where you may have an object from a collection of objects created from different dlls and you want to be able to access other classes from the dll that your object is created from. Otherwise you would just have to keep a store of all the dll names when you create the objects.
Bet there isn't.