locked
How to create a new JScript file RRS feed

  • Question

  • Greetings,

    I am new to MS Visual Studio 2005 (it came with my Expression Studio).  I would like to use VS2005 to write JScript applets but I cannot figure out how to open a new, blank file to start.  I've taken a look at the Help files, as well as the MSDN Library files on this topic and they both tell me pretty much the same. 

    To quote the MSDN Library:


    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.

     The problem is, there isn't a New File option under the File menu.  There is a New Project option, but that leads one to neither a Categories dialog box nor to a Script folder.  SO the rest of the steps listed here don't count.

    Will someone please be so kind as to explain to me how I can open a blank working space so that I can write JScript applets and sometimes some integrated HTML code?  I will very much appreciate the help.

    Peace,

    Phroneo

    Phroneo
    Sunday, June 22, 2008 2:45 AM

Answers

  • Hi,

    Visual Studio uses Solutions and Projects.  You cannot create new files in the empty environment.

    Start by creating a new project and then add new items to the project.  (Visual Studio will automatically create a new solution for the new project.)

    Only one solution may be opened at a time, but a solution may contain one or more projects.

    This is the relationship between solutions, projects and files, where Solution is the top-most container:

    Solution > Existing Files / Projects > Existing Files / New Files

    See also:

    Managing Solutions, Projects, and Files
    http://msdn.microsoft.com/en-us/library/wbzbtw81(VS.80).aspx 

    - Dave


    http://davesexton.com/blog
    • Marked as answer by Phroneo Sunday, June 22, 2008 10:46 PM
    • Marked as answer by Phroneo Sunday, June 22, 2008 10:46 PM
    Sunday, June 22, 2008 3:38 AM

All replies

  • Hi,

    Visual Studio uses Solutions and Projects.  You cannot create new files in the empty environment.

    Start by creating a new project and then add new items to the project.  (Visual Studio will automatically create a new solution for the new project.)

    Only one solution may be opened at a time, but a solution may contain one or more projects.

    This is the relationship between solutions, projects and files, where Solution is the top-most container:

    Solution > Existing Files / Projects > Existing Files / New Files

    See also:

    Managing Solutions, Projects, and Files
    http://msdn.microsoft.com/en-us/library/wbzbtw81(VS.80).aspx 

    - Dave


    http://davesexton.com/blog
    • Marked as answer by Phroneo Sunday, June 22, 2008 10:46 PM
    • Marked as answer by Phroneo Sunday, June 22, 2008 10:46 PM
    Sunday, June 22, 2008 3:38 AM
  • Hello Dave,

    Thank you for your response to my post.  And thank you for being gentle with someone who is new to MS Visual Studio 2005.

    This program interests me because I can see that there are many web applications thhat I can develop using this that I cannot using MS Expression Web.  I think that it's time for me to start following along with the on-line traing series MS offers.

    So much to learn - so little time.

    Peace,

    Phroneo
    Phroneo
    Sunday, June 22, 2008 10:51 PM