VB.NET programs do not have a UI

I am making a VB.net program from a text file, and I am using vbc.exe to compile it through the command line. I am trying to run a simple program in the background of the computer. The problem is, It shows an annoying console window. Why am I not showing anything? No form, no console?
I think you need some form to keep the message loop.

Maybe one NotifyIcon type program. It will keep it away from the taskbar and desktop area.

Then use Windows to customize the NotifyIcon for your icon from the “Customize” menu to “Only display notifications”.

I am making a VB.net program from a text file, and I am using vbc.exe to compile it through the command line. I am trying to run a simple program in the background of the computer. The problem is , It shows an annoying console window. Why am I not showing anything? No form, no console?

I think you need some form to keep the message loop.

Maybe a NotifyIcon type program. It will keep it away from the taskbar And the desktop area.

Then use Windows to customize the NotifyIcon for your icon from the “Customize” menu to “Only display notifications”.

Leave a Comment

Your email address will not be published.