I was wondering if there is a way to excute a Script that is in Textbox1 Like you write this code inside textbox1
msgbox("Hello World")
and when you click on the button or press enter it will run the command/script you wrote in Textbox1
I was wondering if there is a way to excute a Script that is in Textbox1 Like you write this code inside textbox1
msgbox("Hello World")
and when you click on the button or press enter it will run the command/script you wrote in Textbox1
Yes, you can. This is a bit messy and was cobbled together from various articles on the web, but you get the general idea...
You're looking for CodeDOM. This basically lets you run the compiler from within your program. Be careful, the user could type anything into the box and compromise your program with it.