G
Guest
Hi,
This might sound like a unusual question, but I would like to be able to
read a string from a XML stream and use this string at runtime to be able to
instantiate a 'new' object.
For example:
dim strObj as string = "ObjectA" 'This will be read from XML file
dim obj as new ObjectA 'Next time it could be ObjectB so I need to 'new
ObjectB'
Any help will be great.
Thanks in advance.
Regards.
This might sound like a unusual question, but I would like to be able to
read a string from a XML stream and use this string at runtime to be able to
instantiate a 'new' object.
For example:
dim strObj as string = "ObjectA" 'This will be read from XML file
dim obj as new ObjectA 'Next time it could be ObjectB so I need to 'new
ObjectB'
Any help will be great.
Thanks in advance.
Regards.