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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

about enum 3
Enum TypeConverter 3
Merge Info From Two Enums 1
Enum Extentions 7
Spaces in Enum 11
Dynamic Enum 3
dynamic enum creation 4
can I create an enum dynamically in the code? 4

Back
Top