raphael232
Programmer
Hi, i want to change a property of an object by a variable name ie say i have:
'usual way of doing things
document.title = "Document Title"
document.description = "Description of document"
and i have
' what i need to do
Dim column As String = "keywords"
document.column = "Keywords of document"
Therefore i am getting the properties name based on the value stored in the column variable. The problem i have is that the above does nork as it looks for column as a property of the object instead of looking for keywords as a property.
Appreciate if someone could help. Thanks
'usual way of doing things
document.title = "Document Title"
document.description = "Description of document"
and i have
' what i need to do
Dim column As String = "keywords"
document.column = "Keywords of document"
Therefore i am getting the properties name based on the value stored in the column variable. The problem i have is that the above does nork as it looks for column as a property of the object instead of looking for keywords as a property.
Appreciate if someone could help. Thanks