none
What sort of new project should I open.

    Question

  • I am using the “visual basic” language in “visual studio community 2017”
    I am programming on a desktop computer running windows 10.

    “Open new project” offers me 12 different sorts of “visual basic” applications that I could open.
    . blank app universal windows
    . WPF app .Net framework
    . windows forms app .net framework
    . console app .net core
    . console app .net framework
    Class library .net standard
    . class library .net framework
    . shared project
    . class library legacy portable
    Class library universal windows
    Windows run-time component universal windows
    Unit test app universal windows

    My program data is provided in the VB code
    My output is going to a text file shown by opening NotePad
    Here is a very short example of the sort of program I can write, code for calculating the length of the hypotenuse of a triangle.

    Imports System.Math, System.Object
    Module Module1
        Public Const FileOut As String = "E:/fOutput.txt"
        Dim fOut As New System.IO.StreamWriter(FileOut)
        Sub Main()
            Dim LA As Double ' length side a
            Dim LB As Double   ' length side b
            Dim LH As Double  ' length side hypotenuse
            LA = 3
            LB = 4
            LH = Sqrt(LA * LA + LB * LB)
            fOut.WriteLine(" Side A LA = " + Str(LA))
            ' Close files and open notepad
            fOut.Close()
            fOut.Dispose()
            System.Diagnostics.Process.Start("notepad.exe", FileOut)
        End Sub
    End Module

    I have used console app projects – but I do not use the console.
    I do not need any form so a forms application project is too complex
    Is a “blank app” the way to go?

    **** What sort of project should I open?

    This is my second day using VS2017 and the jargon is overwhelming, e.g. what is the difference between
    . console app .net core
    . console app .net framework

    ****** Is there a web-page where are these terms explained?

    At the top of the “new project” choice screen I see “.NET Framework 4.6.1”
    ****** What does this mean?
    Saturday, March 03, 2018 12:20 AM

Answers

  • Thanks for your answers.

    It sounds like I should use the "console app .net framework", even though I chose to not interact via the console. 

    The above "sharp-corner link" was more helpful saying that .net framework is better if you:

    • Do not have time to learn a new technology.
    • Need a stable environment to work in.
    • Are already working on an existing app and extending its functionality. (I have a few programs I just want to run for my own personal use, like a program locating the planets and stars in the sky and to teach my daughter coding starting with simple examples like calculating the hypotenuse.)
    • Do not want to deal with continuous upgrades and changes.

    Thursday, March 08, 2018 9:37 PM

All replies

  • I am programming on a desktop computer running windows 10.

    It's a console app, even though you don't interact with the console device.

    Saturday, March 03, 2018 2:04 AM
  • This line:
    fOut.WriteLine(" Side A LA = " + Str(LA))
    Does not show the hypotenuse.
    Saturday, March 03, 2018 3:06 AM
  • Try asking questions about visual studio in the forum(s) for visual studio. There you will receive appropriate assistance.

    La vida loca

    Saturday, March 03, 2018 4:03 AM

  • This is my second day using VS2017 and the jargon is overwhelming, e.g. what is the difference between
    . console app .net core
    . console app .net framework

    ****** Is there a web-page where are these terms explained?

    At the top of the “new project” choice screen I see “.NET Framework 4.6.1”
    ****** What does this mean?

    Hi GreenWombat,

    About the different of .net framework and .net core, you can take a look the following page:

    https://docs.microsoft.com/en-us/dotnet/standard/choosing-core-framework-server

    http://www.c-sharpcorner.com/article/difference-between-net-framework-and-net-core/

    Best Regards,

    Cherry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, March 05, 2018 2:33 AM
    Moderator
  • Thanks for your answers.

    It sounds like I should use the "console app .net framework", even though I chose to not interact via the console. 

    The above "sharp-corner link" was more helpful saying that .net framework is better if you:

    • Do not have time to learn a new technology.
    • Need a stable environment to work in.
    • Are already working on an existing app and extending its functionality. (I have a few programs I just want to run for my own personal use, like a program locating the planets and stars in the sky and to teach my daughter coding starting with simple examples like calculating the hypotenuse.)
    • Do not want to deal with continuous upgrades and changes.

    Thursday, March 08, 2018 9:37 PM
  • Hi GreenWombat,

    If you have solved your issue now, please remember to close your thread by marking the helpful post as answer, it is beneficial to other communities who face the same issue.

    Thanks for your understanding.

    Best Regards,

    Cherry


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, March 13, 2018 9:21 AM
    Moderator