Writing vb.net "scripts"
-
I want to know how to execute code typed in a text box on a windows form. In other words. How do you make a program that executes vb.net/vb code typed in a textbox on a form when a button is pressed? Richard Faulkner Founder of GallantTechnologies
-
I want to know how to execute code typed in a text box on a windows form. In other words. How do you make a program that executes vb.net/vb code typed in a textbox on a form when a button is pressed? Richard Faulkner Founder of GallantTechnologies
This can actually be done, and given the nature of the .NET framework, it's not surprising. I am sorry to say, I don't recall how tho ( I've not done it ). What is your intended use ?
Christian Graus - C++ MVP 'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
-
I want to know how to execute code typed in a text box on a windows form. In other words. How do you make a program that executes vb.net/vb code typed in a textbox on a form when a button is pressed? Richard Faulkner Founder of GallantTechnologies
You're lucky today, there's someone here on the codeproject that wrote an article on NScript. This is a scripting engine that can run some .NET languages like VB.NET in your application. Take a look: http://www.codeproject.com/dotnet/nscript.asp[^]
WM. What about weapons of mass-construction? "You can always try to smash it with a wrench to fix that. It might actually work" - WillemM