Problem with starting program Visual studio

Metox 6 Reputation points
2021-04-24T17:50:36.9+00:00

Hello I have problem with running my Visual Basic source code in Visual Studio.
When I make my mp3 player in visual studio before I have save project I have running him with start button (f5)
but when I have save him and I canot see my design form for my project when I running my program with attachment button.90942-problem.png

How to run program normal?

Developer technologies Visual Studio Debugging
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sam of Simple Samples 5,546 Reputation points
    2021-04-24T19:10:40.693+00:00

    Click on the Debug menu. You will see Start Debugging (F5) and Start Without Debugging (Ctrl+F5). It is not normal to use the Attach button. What happens when you use Start Debugging (F5) or Start Without Debugging (Ctrl+F5)?


  2. Tianyu Sun-MSFT 34,436 Reputation points Microsoft External Staff
    2021-04-26T12:33:30.683+00:00

    Hi @Metox ,

    Welcome to Microsoft Q&A forum.

    Do you open a whole project or solution(.sln/.xxproj file) in Visual Studio? Sometimes this issue will happen if you only open one file. To run/debug a project you need to open a whole project (File > Open > Project/Solution).

    If you also have some other projects in your solution, please try to set the project which you want to run as startup project. (right-click the project > choose set as StartUp Project)

    Perhaps you can share us the screenshot about your project structure in Solution Explorer in Visual Studio to confirm this.

    Best Regards,
    Tianyu

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.