Ok,
now I know how to check if an objext exists, the next step should be to obtain this object. Therefor I read the VS-Help of Reflection, but found no answers as in google too.
What would I like to Do
class myObjectsClass
dim myObject1 = new system.windows.forms.button
myObject1.text="OK"
dim myObject2 = new system.windows.forms.button
.......
public function getObjectByName(ByVal objName as String) as system.windows.forms.button
' This function should return the requested Object
' in case getObjectByName("myObject1") should return myObject1
end function
end class
Does someone has an idea how to do that

Accessing Object by Name:String
Michael_Giagnocavo
jawosis
I will use a HashTable-Object to store my objects by name as key.
The reason, why I prefer the list and not the iteration is, that I will have to search for some object very often during processing (some kind of interpreter for connection comunication).
jamba8
A list/Dictionary/hastable/etc. is the way to go.
Also consider this, even though you may access the object in that list, you can also store the references to objects in that list. For example, if you have a datagridview that displays objects, you can store an object reference in the tag property for a row, thus having direct access to that object.