Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB.net - Macro Substitution
Message
From
10/01/2011 12:22:29
 
 
To
10/01/2011 12:02:37
General information
Forum:
ASP.NET
Category:
LINQ
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01488984
Message ID:
01495452
Views:
71
>Nop - it's not too late.
>
>And yes it does make sense.
>
>Thank you again for all your help.
>
>I got my first additional step working already - to asign the vairable permission values based on the current users AD groups.
>
>I am still trying to figure out how i can create the enum structure dynamicly. Research suggest it is not recomendet to do so. That they are more like a constants and need to be compiled at design time. However, I found one solution on the net i am going to try:
>http://stackoverflow.com/questions/725043/dynamic-enum-in-c the second to last entry there.

Not sure how that would help. True, it will create an enum structure on the fly. But you can't make real use of it unless you know the valid enum values to start with (e.g. Apple, Banana etc) - in which case why not create the enum manually in the first place. But maybe I'm missing something......
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform