locked
Visual Studio 2019 RRS feed

  • Question

  • Hi.

    I have returned to programming after a 20 year absence.

    I am trying to create a form in c++ but it seems to be quite resistant to the very idea.

    Anyone out there got an older copy of visual studio? Express 2015 looks about right for my needs.

    Failing that, anyone explain why I can't add a form (UI option doesn't exist in here)?

    Thanks in advance for any input/direction/guidance.

    Saturday, March 21, 2020 9:55 PM

Answers

  • With VS 2015, I use this method (C++/CLI)

    otherwise use C# or VB.NET

    Saturday, March 21, 2020 11:51 PM
  • Hello R. G. Findlay,

    What's kind of application you are developing, Win32, WPF, Windows Forms?

    And what's kind of form or UI option do you want?

    For Visual Studio Express 2015, you can download from here.

    Best regards,

    Rita


    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 23, 2020 9:27 AM
  • C++/CLI runs under the control of the .NET runtime.  If you want to play in the .NET world, then you're much better off switching to C#.  That's where Microsoft focuses its efforts.

    If you want to make a native C++ app, then MFC and WTL are both still good, as are third-party cross-platform tools like wxWidgets and Qt.


    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Monday, March 23, 2020 5:57 PM
  • If the advice you have received so far hasn't helped, best might be to ask here:

    https://social.msdn.microsoft.com/Forums/en-US/home?forum=visualstudiogeneral


    Richard Mueller - MVP Enterprise Mobility (Identity and Access)

    Thursday, April 2, 2020 12:04 PM

All replies

  • Tell us what sort of project you're starting from.

    By using the term "form" it sounds like you're perhaps referring to a WinForm (managed code) project - in which case your best option is to use C#.

    Saturday, March 21, 2020 11:37 PM
  • With VS 2015, I use this method (C++/CLI)

    otherwise use C# or VB.NET

    Saturday, March 21, 2020 11:51 PM
  • Microsoft removed the template to create a Windows Forms project using C++/CLI from Visual Studio a long time ago.  The view taken by MS was that C++/CLI was available to interoperate between managed code (C#, VB.Net) and native C++.

    Visual Studio 2010 was the last version to include the template.

    Sunday, March 22, 2020 10:03 AM
  • Hello R. G. Findlay,

    What's kind of application you are developing, Win32, WPF, Windows Forms?

    And what's kind of form or UI option do you want?

    For Visual Studio Express 2015, you can download from here.

    Best regards,

    Rita


    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 23, 2020 9:27 AM
  • C++/CLI runs under the control of the .NET runtime.  If you want to play in the .NET world, then you're much better off switching to C#.  That's where Microsoft focuses its efforts.

    If you want to make a native C++ app, then MFC and WTL are both still good, as are third-party cross-platform tools like wxWidgets and Qt.


    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Monday, March 23, 2020 5:57 PM