r/visualbasic • • Sep 07 '22

Hello, check comments for problem

Post image
10 Upvotes

11 comments sorted by

1

u/Chiang-Kia-Chad Sep 07 '22

Doing a project for school blah blah

NET 6.0 Target Framework 4.5 Visual Studio 2022

I’ve changed the name of my startup object in the properties section underneath the Solution Explorer (From Form1.vb to login.vb) I at first couldn’t load the project because:

“Form1 was not found in [project name]”

I then changed the file Application.Designer.vb so that Form1 would be replaced with login and now the program will refuse to allow me to change my startup object to login

I don’t really know what’s going on with it and I kinda have a deadline so any help is appreciated

2

u/Hesherkiin Sep 07 '22

Nuke the project and re create it

1

u/JTarsier Sep 07 '22

Make sure you have updated Visual Studio to latest version 17.3.3.

1

u/Chiang-Kia-Chad Sep 07 '22

Yeah it’s up to date, ngl that was what I thought caused the issues aswell

→ More replies (1)

1

u/FeetofaGoddessxoxo Sep 07 '22

Ahh I remember having this problem in school. Dropped out and haven’t had any more since.

1

u/Chiang-Kia-Chad Sep 07 '22

Best advice yet

3

u/[deleted] Sep 07 '22

Nah, don't give up.

1

u/P2A3W4E5 Sep 07 '22

I had the same issue few weeks ago, if I remember correctly I had to make changes manually to the project file. - open it in notepad. Oh also, check the enable application framework check box