Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedding script engine into application
Message
De
13/05/2007 09:23:07
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Embedding script engine into application
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01225059
Message ID:
01225059
Vues:
59
I'm creating WinForms application.
This application need to run custom scripts in may places like:

retrieving list of invoices
before adding invoice
before saving invoice
after saving invoice
before posting invoice
after posing etc.

etc.

I'm looking for script engine which simplifies this.
Features I need to embed into application are:

1. Syntax coloring script editor
2. Syntax check on script save
3. Executing scripts with error reporting
4. Passsing parameters to/from scripts
5. Allowing scripts to access application objects.
6. Maybe binding scripts to Winforms control events.

I read Ricks article about .net scripting but he covers only 3. and 4. poits above.

Any framework, idea, or sample code how to implement this ?
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform