Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mimic Macro Substitution
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Database:
Oracle
Application:
Desktop
Miscellaneous
Thread ID:
01480690
Message ID:
01480727
Views:
97
I wrote an article about this a long time ago:

http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm

There's a class in there where you can just specify the code to execute dynamically with a few lines of code... It's old and terrible .NET coding conventions but it works :-) - I've used it in a few customer applications that actually do nearly exactly what you describe. In one app we created one class out of all matching snippets up front and compiled it on the fly to be run later.


+++ Rick ---

>Hi All.
>
>This would be so easy for me to do in VFP, but I am doing a conversion from VFP to vb.net right now <s>.
>
>I want to store some code in an XML file and execute that code dynamically at runtime. Is there any good way to accomplish this in vb.net?
>
>I have been googling and looking at reflection but to tell you the truth, all the stuff I have found just makes my head hurt.
>
>TIA.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform