Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2007

Tip: Looking for answers? Try searching our database.

How should user scripting for a .NET app be implemented

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Terry Griffin - 08 Jun 2007 14:10 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.