|
-
May 31st, 2000, 05:40 AM
#1
Thread Starter
New Member
I'm having quite an issue with Visual Basic.
I have a custom library which has a class in it. This class has several properties which I am interested in looking at. There is no problem retrieving the values as follows:
....vbcode....
x = className.propertyName
..../vbcode...
but this forces me to call each property seperately. What I would rather do is have the user type in a text box the property name he chooses and have x loaded with that property value.
....vbcode...
txt1.text = "propertyName"
x= className. & txt1.text
..../vbcode...
This of course does not work. What I am wondering is if there is any way to make this work. To execute a string as a piece of vb code?
Any suggestions or comments ? I'm really up the wall on this one.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|