JScriptEvaluate question

JScriptEvaluate question

Post by wl » Thu, 15 Feb 2007 04:35:08


Hi,

I'm using the Jscript.Eval code to evaluate expressions, but I was
wondering: is it possible to have the eval recognize external functions
(defined in an assembly myself).

I noticed you have add Items to the VSAEngine. Would this work ?

Thank you,

Wim


Convert.ToString(Microsoft.JScript.Eval.JScriptEvaluate(TextBox1.Text,
Microsoft.JScript.Vsa.VsaEngine.Crea *** gine()));