(VB.NET) How can I hide/prevent the console window of a console application?


New member
I'm making a file uploader. I've got the original basic windows app written and working, but I decided that just having a windows context menu option to upload would be more useful. I've managed to get that working by making a console application that takes the parameter file path and uploads it. It works a treat but it's popping up the blank console window while it works away, which is really ugly.

My question is, does anyone know how do I can stop that console window coming up?

Many thanks
Make it a Windows Application instead of a Console Application and then set the startup object to Sub Main.