Dynamic Enum

  • Thread starter Thread starter Mullin Yu
  • Start date Start date
M

Mullin Yu

hi,

i want to know can i have dynamic enum at VB6 that i can get name and value
from an ini file, e.g.

Print 1
Email 2
Fax 3

Outgoing.Print
Outgoing.Email
Outgoing.Fax

thanks!
 
hi Mullin
this question should goes to a vb6 group
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Mullin,

No, you can not. This would require the type to be dynamic at run time,
which is a feature which is not supported in .NET.

Hope this helps.
 
Back
Top