i am trying to start a form named login. i have changed my start up form in properties but different form start when i click debug. can you help me???

2 Years
Discussion Span
Last Post by Piolo_1

It could be happen for many reason.
Don't attempted to show logIn Form from other FormClass. Check and remove it if you do it from anywhere.

Show the logIn form as Modal. If you try to show it modelessly your project shows the first form you attached in your project with this lofIn form.

Edited by Shark_1


This has happened for me more than once. I usually do delete all the files in the debug folders and run it again, it works everytime. "Clean solution" on visual studio will do this for you i think.


open The folder of your project then Execute the .sln file. and then open the solution explorer
Project>applications>startup form. change it.
make sure the project you open is the project you are seeking for.
lesson learn that multiple solution in one project is not recommended.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.