I am working on a map editor and want to load the map into several text boxes so its layers can be parsed. I don't want to use real textboxes because they are used in a class and I want to be able to use many instances of the class with ease.

I have tried "Dim txtMap as TextBox" but that did not work. So I tried "Dim txtMap as New TextBox", but aparently that doesn't work. Can anyone help?