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
1
vote
1 answer

How to Listen Keys in JScript.Net

What I wish is to catch the keypress using JScript .NET, and compile the code using that jsc.exe. So, is there any equivalent of "addEventListener("keyDown", keyCheck)" from FLASH actionscript. Or GetAsyncKeyState() from C++. And what library do I…
Kraken
  • 189
  • 5
1
vote
1 answer

Convert a request to string in FiddlerScript

I'm using Fiddler4 (not sure if that is relevant). I'm trying to add a feature that lets me resend requests a certain number of times with a delay between each request. Everything seems to be fine but I can't seem to convert oSession.oRequest into a…
Kevin Lu
  • 303
  • 1
  • 4
  • 13
1
vote
0 answers

Change row color on a ListView using JScript.net

I'm trying to change the color of a row on a ListView with JScript.Net. I'm scripting againts an application where I dont have access to the code, but I can add scripts that modify the ListView. What I'm trying is this: this.listView =…
JoseRamon
  • 11
  • 1
1
vote
1 answer

Fiddler/Jscript.NET :How do I append a string to specific search query?

The problem with the below code is that it appends string at the very end of the URL if (oSession.uriContains("search?q=")) { var str = oSession.fullUrl; var sAppend = "+test1+test2+test3"; if…
jarid wilders
  • 25
  • 1
  • 7
1
vote
2 answers

how to remove and create new ul li tag in html using javascript

Can anyone help me to get this work in d3js My html tag are as below
  • Source
i want to modify the
  • Source
  • with
  • some other text
  • by removing all the UL LI tags in DIV id source1 and creating…
    Karthick Gunasekaran
    • 2,697
    • 1
    • 15
    • 25
    1
    vote
    1 answer

    use edge in node js to bind a DLL library not successful

    i try to learn how to use edge (a node.js module) to bind a pre-compiled DLL but it doesn't work in the right way... my DLL is a really simple library and it has been tested multiple times in other .Net program. i wrote my DLL file in…
    user3224611
    • 84
    • 1
    • 7
    1
    vote
    2 answers

    Can i use jscript in vs2010

    I was looking around at how to make javascript run more efficiently as compiled code. I came across jscript.net in this question jscript Whilst I was not really interested in using it to hide my JavaScript logic I was interested in the fact it…
    Andrew Simpson
    • 6,883
    • 11
    • 79
    • 179
    1
    vote
    1 answer

    Get command line arguments with jscript.net

    None of these work: var arguments = System.Environment.GetCommandLineArgs(); ~ var arguments = Environment.GetCommandLineArgs(); ~ var arguments:String[] = System.Environment.GetCommandLineArgs(); ~ var arguments:String[] =…
    npocmaka
    • 55,367
    • 18
    • 148
    • 187
    1
    vote
    0 answers

    Is there any way to avoid activex in javascript for reading Documents and constructing xmls?

    In need of desperate guidance. Is there any way to avoid activex in javascript for reading Documents and constructing xmls? Actual there is an problem with the client, he doesnt like the IE security settings like "Access data source across domains"…
    1
    vote
    1 answer

    How do I set assembly attributes (version, etc) in JScript.NET?

    I have some javascript that I'm compiling with Microsoft's jsc.exe compiler into a .NET assembly. I would like to set some assembly metadata, such as the file version, but it is unclear to me how to do that. How can I set these assembly-level…
    Mark
    • 11,257
    • 11
    • 61
    • 97
    1
    vote
    1 answer

    Creating a class with CodeTypeDeclaration and adding members to it

    i am declaring a class with the help of CodeTypeDeclaration like this : CodeTypeDeclaration targetClass = new CodeTypeDeclaration(sType); I can add a constructor : CodeConstructor constructor = new CodeConstructor(); constructor.Attributes =…
    Olaru Mircea
    • 2,570
    • 26
    • 49
    1
    vote
    1 answer

    Can I use DirectX in JScript .NET

    I'm a JavaScript developer looking to make a 3D game. At first I tried C# because it seemed alot simpler then C++, but I've just learnt about JScript .NET, a version of JavaScript that also use's the .NET framework like C#. What I want to know is,…
    vitron
    • 11
    • 1
    1
    vote
    1 answer

    How to run a method in a new thread in Jscript .NET

    I have been looking for an answer for 2 days now and I am truly stuck! I found this question, but the answer did not work. I have a jscript class, WorkerClass which has a function, PerformCalculation, that needs to run on a separate thread because…
    Sinker
    • 576
    • 1
    • 7
    • 21
    1
    vote
    1 answer

    Includes and persistent storage in CustomRules.js of Fiddler

    I've been using Fiddler for a few days now, extending CustomRules.js with my own logic. However, the file is becoming quite heavy (it's fairly heavy to begin with). I'm not very familiar with .NET or JScript, but I would like to be able to split…
    Kevin
    • 3,771
    • 2
    • 31
    • 40
    1
    vote
    0 answers

    j script runtime error: object requiered

    I am working on the platform confirmit, which creates online surveys. This is a script node that results in the runtime error "object required", I would be grateful if you could help me fix it.. It is supposed to check whether certain codes hold 1…
    KGS
    • 635
    • 4
    • 19