We need to add the ability for users to execute scripts for our application,
which runs a scientific tool. The users will be scientist, not professional
programmers. A few years ago I would have used the Active Scripting objects
and supported JScript scripts accessing our app's object model.
Our new application is all .NET based so it seems the Active Scripting
method is a little out of date (but could still be used if that is the best
choice). I found the Microsoft.Vsa objects which are the replacement for
Active Scripting but they are marked 'obsolete'.
What is the best method for supporting scripting of a .NET application by
users?
Michael Nemtsev - 08 Jun 2007 16:13 GMT
Hello Terry,
You can use JScript with ICodeCompiler, but unfortunately it doesnt support
the VBScript, only VB.NET
The another way is to use Windows Script Host control for this
---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
TT> Microsoft.Vsa
TT>
David Ching - 09 Jun 2007 23:59 GMT
> We need to add the ability for users to execute scripts for our
> application,
[quoted text clipped - 12 lines]
> What is the best method for supporting scripting of a .NET application by
> users?
Check out IronPython. The tutorials say that with a few lines of code, you
can open your .NET app for scripting with Python. Other dynamic languages
are coming soon.
-- David