vb.netuser-interfacevbc

VB.net program with no UI


I'm making a VB.net program via a text file and I'm compiling it using vbc.exe via command line. I'm trying to get just a simple program to run in the background of my computer. Problem is, it displays the annoying console window. How do I get nothing to show? No form, no console?


Solution

  • I think you need a form of some kind to keep the message loop going.

    Maybe a NotifyIcon type program. It would keep it away from the task bar and desktop areas.

    And then customize the NotifyIcon to "Only Show Notifications" from the "Customize" menu for your icon using Windows.