I wanted to have an application run in the System Tray. This application is a Visual basic exe and I want it to be residing in the System Tray. I searched the net and couldn't find anything related to it. I could find many articles that showed how to display an icon in the System Tray, but I was wondering how to reside the whole application in the System Tray?

The Shell_NotifyIcon API function can create an icon in the system tray, is there any API function that would reside the whole application in the System Tray?

Any help would be greatly appreciated.