r/visualbasic • u/free_spam • Apr 22 '21
Windows Forms Application without console windows
I am currently creating a Windows Forms application for work.
Whenever I execute the app it not only opens the form itself but also a console window.
I've found out the apparently switching the type of the application from "console application" to "Windows Application" should result in the desired behaviour. But unfortunately it still persists.
Is there anything else that I might have to set to disable the console?
Thank you all in advance.
5
Upvotes
2
u/thalrok Apr 22 '21
You might want to look at your project settings. I don't think changing the application type automatically updates the projects "start object".
My guess is the "start object" is still the "main" procedure and you'll need to change it to the form.