>>> how can I access the class with all its subclasses
>>> so that the subclass cant be assignd to a variable
>>> in a mod
>>> dim sc as mysubclass may not be possible
>> Depends how the classes are used. If you're building an assembly and
>> referencing it from another project, then change the subclass to be
[quoted text clipped - 14 lines]
>> End Class
>> End Class
> I would like to add that if you want to access the inner class
> from the outside, you should do so by a property.
Michel,
But to do so would also require the /Type/ of that Property to be
exposed, which would make it possible to define a variable /of/ that
Type, which the O.P. wished to avoid.
More generally, though, I agree; the "outer" class should provide a
means of getting hold of an instance/collection of any member class[es].
Regards,
Phill W.
M. Posseth - 21 Nov 2006 08:45 GMT
Well i see we speak the same language :-)
regards
Michel
> >>> how can I access the class with all its subclasses
> >>> so that the subclass cant be assignd to a variable
[quoted text clipped - 34 lines]
> Regards,
> Phill W.
JR - 22 Nov 2006 18:38 GMT
thanks
some of this helpt me
but becaurse all the items in the class and subclasses are not menth to be
changed I only use strings and read them from an xml file.
Its only for translation of some texts in the program (multi languages)
Jan
> Well i see we speak the same language :-)
>
[quoted text clipped - 41 lines]
>> Regards,
>> Phill W.