This documentation is archived and is not being maintained.

Writing JScript Code with Visual Studio .NET

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 .NET

  1. Start Microsoft Visual Studio .NET.
  2. From the File Menu, click New, and then click 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 .NET

  1. Start Microsoft Visual Studio .NET.
  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 .NET

  • From the File Menu, click Save <Filename> or Save <Filename> As....
    Note   You cannot compile JScript .NET code in the Visual Studio .NET IDE. This step must be performed from the command line or by the ASP.NET page.

See Also

Writing, Compiling, and Debugging JScript Code | Developing with Visual Studio .NET | Using IntelliSense | Building from the Command Line | Debugging JScript with Visual Studio .NET | Debugging JScript with the Common Language Runtime Debugger