sol one

sol one

  • NA
  • 1
  • 0

calling javascript from C#

Jul 18 2007 5:41 PM

I have two programs, one written in C# (select.cs) and one in javascript (do_it.js). Once the user has selected some parameters in the C# dialog, I would like to pass them to the javascript function to finish the task. How can I execute do_it.js from within select.cs?
I will be sending strings that will become regexps in the .js file. This is not a web application - these are scripts run by AV software, and I'm trying to combine two of the scripts to perform a single task.
Thank you!
s