Dragan,
The website I showed you earlier is not the most general way to have an object factory in .NET. I'm still very early on in my .NET journey, but I have learned that you can create an object, using reflection, just knowing the name of the DLL and the class name. So you can have a class factory that can churn out an object that inherits from a certain base class, or that has a particular interface, by passing in a couple of strings to the factory.
>
>BTW, how does one create an object factory in dot net? In VFP, I know the easiest way is to just have a table with user-friendly class names, and actual class names and classlib names. Then it's a piece of cake to
>
Steve Gibson