RodneyJ
New member
I am using VB 2005 and have created a Class in the Class Designer. The Class includes a private field called 'Country' that will contain the relevant country name e.g. UK, Italy,...
I want the Country Names to be contained in a Collection which I would normally declare as
Dim Countries as new Collection()
If I do this in the class code the designer does not recognise 'Countries' as a type. Is there a way of declaring the Collection class on the designer pane?
Many thanks
I want the Country Names to be contained in a Collection which I would normally declare as
Dim Countries as new Collection()
If I do this in the class code the designer does not recognise 'Countries' as a type. Is there a way of declaring the Collection class on the designer pane?
Many thanks