How to do the application show its form when it´s running?

Celso Telles 20 Reputation points
2023-10-20T18:08:19.6733333+00:00

Hi...I started using Visual Studio 2022 Community to learn how to program using Visual Basic. I use a notebook with an Intel i7 processor, with 20GB of RAM and 480GB of storage in an SSD.

After creating the application and clicking on the PLAY button of the IDE, the form doesn´t appear although the compilation has been concluded with success. Instead of the form a DOS screen pops up with the message: "Press any key to continue..."

What could be happening? Can anyone help me to fix this problem?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,869 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,830 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
336 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,000 questions
0 comments No comments
{count} votes

Accepted answer
  1. KOZ6.0 6,300 Reputation points
    2023-10-21T09:06:26.3866667+00:00

    You selected Console App. Select Windows Forms App or WPF Application to display the window.

    Windows Forms App is recommended for beginners.

    winapp

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful