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 / Languages / JScript / August 2003

Tip: Looking for answers? Try searching our database.

eval

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CGuy - 01 Aug 2003 18:40 GMT
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
Fergus Cooney - 23 Aug 2003 02:19 GMT
Hi CGuy,

   There is a thread in the languages.VB newsgroup about this very same
issue:
       Title: "Evaluating String Expression".
       Date: 21/08

   Briefly, Herfried K. Wagner gave the following link,
   http://www.codeproject.com/csharp/runtime_eval.asp,
   which leads to an article about a class which does dynamic compilation
and execution of code, including expressions.

   And I saw an article on GotDotNet (ages ago, the link lost but a search
would work) which talks about using Vsa, as you mentioned.

Regards,
Fergus

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.