>Hi all,
>i am not sure if what i want to do is at all possible in VB but here goes:
>i am currently creating an instance of a class, and based on a variable in the form need to create extra Public Property Get() AS STRING
>can you dynamically assign these extra properties in a class instance?
No you can't add properties at run-time since classes are compiled.
Maybe can you create a structure of variant containing the name of your property and its value.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com