Originally Posted by
jmcilhinney
I would first question the motivation for this. There are certainly valid reasons for this sort of thing but just so that you don't have to recompile to change the app behaviour is not one of them. What is the actual aim here? The fact that you have no idea how to proceed suggests to me that you have clear aim.
If what you're asking for really is appropriate then it might be as simple as calling Process.Start to execute a VBScript file or as complex as compiling VB code on the fly.