There are numerous ways to do this.
One way is with collections (the Collection object in VB
In this scenario you could create a class for Country, and a class for City, as well as a collection class of Countries and a collection class of Cities. The class for Country would have 2 members - one for the name of the country, and the other which is the Cities collection class.The items in the collections would be keyed on the name (either Country or City depending on the collection) so you could easily access them when a user clicks on an item in the list box.
Confused? Well, this is actually very simple, and VB
provides a mechanism for creating collection classes that works extremely well.
There are numerous examples of creating collection classes to do this sort of thing. A good book on the subject is Daniel Applemans Dan Appleman's Developing Com/Activex Components With Visual Basic 6 which you can get via Half.com or Amazon for about 3 bucks US.
However... at the newbie level, you might also want to try to figure out a way to implement this using an array.
Well. Welcome to programming. You are going to find that there are 1000 right ways to do anything.
Woody Z http://www.learntoprogramnow.com