Reputation: 2738
Just curious how Windows Workflow 4 executes vb code. Can I use the same techique to execute vb.net code at run-time?
Upvotes: 0
Views: 686
Reputation: 16155
It's atually pretty specialized - before execution it compiles the VB code to an expression tree of activities in System.Activities.Expressions. I wouldn't recommend it as a way of executing general VB.net code.
You might find stuff about hosting DLR scripting languages such as IronPython interesting... I don't know if there's a similar hostable VB compiler available.
Upvotes: 1