J
John Rugo
Hi All,
I would like to know how to set an object from a string provided?
Here is the situation:
I have a listview that holds the names of ListView Objects on different
forms. I want to set an object called frmOBJ As Object to the Listview sub
Item holding the name of the form and listview to access.
LV is the listview holding the names of the ListViews and their Form Names
for instance:
lv.item(1).Text = "List1"
lv.Item(1).subitems(1).text = "Form1.ListView1"
etc....
Dim lvItem as ListViewItem
For Each lvItem in LV.Items
'use this listview for something
frmOBJ = lvItem.SubItems(1).Text
Next
Any help would be appreciated,
John.
I would like to know how to set an object from a string provided?
Here is the situation:
I have a listview that holds the names of ListView Objects on different
forms. I want to set an object called frmOBJ As Object to the Listview sub
Item holding the name of the form and listview to access.
LV is the listview holding the names of the ListViews and their Form Names
for instance:
lv.item(1).Text = "List1"
lv.Item(1).subitems(1).text = "Form1.ListView1"
etc....
Dim lvItem as ListViewItem
For Each lvItem in LV.Items
'use this listview for something
frmOBJ = lvItem.SubItems(1).Text
Next
Any help would be appreciated,
John.