question

Metox-2764 avatar image
0 Votes"
Metox-2764 asked TianyuSun-MSFT answered

Problem with starting program Visual studio

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?

vs-debugging
problem.png (95.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SimpleSamples avatar image
0 Votes"
SimpleSamples answered SimpleSamples commented

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)?

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

90977-problem2222.jpg


I canot use anything of this. I can only attachemnt run use.

0 Votes 0 ·
problem2222.jpg (53.7 KiB)

What kind of a project is your mp3 player project? You can update your original question with that information.

0 Votes 0 ·

I create this project for school. I am beginer in programing but i have search so many codes for this. Code is ok he dont have any problems, but I dont know what is problem ?

0 Votes 0 ·
Show more comments
TianyuSun-MSFT avatar image
0 Votes"
TianyuSun-MSFT answered

Hi @Metox-2764 ,

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.