Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Writing JScript Code with Visual Studio

Writing JScript Code with Visual Studio

The Visual Studio Integrated Development Environment (IDE) provides some of the same tools for JScript development that are available for other languages. The New File dialog box includes several templates that provide a framework for various JScript files.

To write new JScript code using Visual Studio

  1. Start Microsoft Visual Studio.

  2. From the File Menu, click New File.

  3. In the Categories dialog box, click the Script folder.

  4. In the Templates dialog box, choose JScript File or JScript .NET Web Form and click Open.

To edit JScript code using Visual Studio

  1. Start Microsoft Visual Studio.

  2. From the File Menu, click Open, and then click File.

  3. In the Open File dialog box, browse to your source file, select it and click Open.

Keywords are colorized according to the language used in each file. As you edit code, context-applicable help will appear in the Dynamic Help window.

To save JScript code in Visual Studio

  • From the File Menu, click Save<File name> or Save <File name> As.

    NoteNote

    You cannot compile JScript code in the Visual Studio IDE. This step must be performed from the command line or by the ASP.NET page.

Community Additions

ADD
Show:
© 2015 Microsoft