Questions tagged [jscript.net]

JScript.NET is a .NET programming language developed by Microsoft.

JScript.NET is a .NET programming language developed by Microsoft as a natural successor to Microsoft's Active Scripting language JScript, which, in turn, started life as an implementation of JavaScript.

More info: Wikipedia article

98 questions
3
votes
1 answer

Using FiddlerScript (JScript.Net) to change JSON response to null

I am using Fiddler's "FiddlerScript" to modify responses from a web server so that I can test responses in my app. Here is my OnBeforeResponse function: static function OnBeforeResponse(oSession: Session) { // This code was already here, leaving…
Greg Thatcher
  • 1,303
  • 20
  • 29
3
votes
1 answer

Which version of Visual Studio Express for JScript .NET?

Which version of the Express edition of Visual Studio can I use to work with Windows Forms programs written in JScript .NET? I did a quick search and I can see versions for Visual Basic, Visual C# and Visual C++ ... but not JScript. Up until now…
posfan12
  • 2,541
  • 8
  • 35
  • 57
3
votes
2 answers

Convert object to Json-formatted string in Jscript .Net

In Fiddler, I have a response body (application/json) that I convert into an Object using eval() (if there is a better way please let me know) to perform some checks. Now I want to convert several parts (but not all parts) of the object back into a…
Jowic
  • 31
  • 3
3
votes
1 answer

How to resolve JScript.NET assembly reference error JS1259?

I have this small app copied from a book: import System; import System.Drawing; import System.Windows.Forms; public class BasicForm extends Form { public function BasicForm() { InitializeComponent(); } private function…
user1290660
2
votes
2 answers

.Net Scripting Engine (C#) - Is there some sort of "header file" or "dll references file" for .Net languages?

I'm making a small scripting engine in C# and I was wondering, is there some sort of #compiler directives or some sort of other header-like file I can compile with my script files to define what Managed Dlls my script files are referencing? public…
Fox
  • 452
  • 1
  • 6
  • 17
2
votes
1 answer

When creating a JavascriptConverter, how to return an array?

I'm trying to write a custom JavascriptConverter for use with a WebService I'm writing. I have to write a custom converter, because Microsoft.JScript.JSObject doesn't support IDictionary, so it gets treated as an array. I have this part working…
Ricky Morse
  • 458
  • 4
  • 8
2
votes
2 answers

Can I use .NET classes from JScript.NET without import statement?

How can I use classes without having to import the namespace in JScript.NET? E.g. I want to be able to write System.Windows.Forms.MessageBox.Show("Ping"); instead of: import System.Windows.Forms; MessageBox.Show("Ping"); Is there a way to do this…
pauldoo
  • 18,087
  • 20
  • 94
  • 116
2
votes
1 answer

call web config value in javascript src google map api

I am having a problem with the javascript accessing the webconfig file and here's my javascript side...