vsa has no c# compiler, so you would be back to jsscript anyway. also using
vsa requires a compile of the code, then adding the compiled code to your
memory space. unless you use a seperate domain for the eval code, and unload
it after every call you will lose memory. this would also be expensive.
the jscript eval actually calls the jscript interpter not the clr to run the
code.
if you just want to build the jscript eval class at runtime, your in luck.
jscript is the only native clr language (no system required), so you can
compile and load the class at runtime. but I don't see the advantage of this
over the dll.
-- bruce (sqlwork.com)
[quoted text, click to view] "CGuy" <cguy@csharp.net> wrote in message
news:OOvj7QFWDHA.2120@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I have a requirement of using the JScript.NET eval method in my C#
code.
> Currently, I have a .js file which defines a class and one method that
does
> the eval and I have compiled this to a dll and is being used in my C#
code.
> I would like to use Vsa to do this so that I can do it in my C# code
> directly. Could some one tell me how do I do this C#?
>
> CGuy
>
>