execute c# commands dynamically???????
-
hi friends i want to design an application that user can input his/her favorite c# commands and after press execute button his/her entered command(s) execute. i dont want to design a c# compiler. i have a form that on this form has one textbox and one button. user input his/her c# command on textbox and press button. now i want to execute and compile his/her c# command dynamically. i hope you understand what i need. thank you
nobody help you... you have to help you yourself and this is success way.
-
hi friends i want to design an application that user can input his/her favorite c# commands and after press execute button his/her entered command(s) execute. i dont want to design a c# compiler. i have a form that on this form has one textbox and one button. user input his/her c# command on textbox and press button. now i want to execute and compile his/her c# command dynamically. i hope you understand what i need. thank you
nobody help you... you have to help you yourself and this is success way.
A Interpreter In have find this interesting article on CodeProjet http://www.codeproject.com/KB/cs/csi.aspx[^]
-
hi friends i want to design an application that user can input his/her favorite c# commands and after press execute button his/her entered command(s) execute. i dont want to design a c# compiler. i have a form that on this form has one textbox and one button. user input his/her c# command on textbox and press button. now i want to execute and compile his/her c# command dynamically. i hope you understand what i need. thank you
nobody help you... you have to help you yourself and this is success way.
Have a look at
Microsoft.CSharp.CSharpCodeProvider
---------------------------------- Be excellent to each other :)
-
hi friends i want to design an application that user can input his/her favorite c# commands and after press execute button his/her entered command(s) execute. i dont want to design a c# compiler. i have a form that on this form has one textbox and one button. user input his/her c# command on textbox and press button. now i want to execute and compile his/her c# command dynamically. i hope you understand what i need. thank you
nobody help you... you have to help you yourself and this is success way.
There are basically two options that I think both previous responses have covered, and those are either: a) Scripting, using a C#-like scripting implementation (I have heard of at least two, probably more) b) Dynamic compilation, which allows you to actually use the built-in (and supported) C# compiler to compile true C# into miniature in-memory assemblies And if you want to consider it a third, there is actually one of those scripting languages that compiles, combining the two ideas. This is something I've been wanting to look into so I've been keeping my eye out for stuff, but haven't actually tried anything out yet. Let me know how your search goes! Logan
“Time and space can be a bitch.” –Gushie, Quantum Leap {o,o}.oO( Looking for a great RSS reader? Try FeedBeast! ) |)””’) Built with home-grown CodeProject components! -”-”-