Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How should user scripting for a .NET app be implemented

1 view
Skip to first unread message

Griffin@discussions.microsoft.com Terry Griffin

unread,
Jun 8, 2007, 9:10:00 AM6/8/07
to
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

unread,
Jun 8, 2007, 11:13:50 AM6/8/07
to
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

unread,
Jun 9, 2007, 6:59:49 PM6/9/07
to
"Terry Griffin" <Terry Gri...@discussions.microsoft.com> wrote in message
news:6E7BAAF2-E53E-4F85...@microsoft.com...

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


0 new messages