Background Application
-
I was wondering how you would make an application run in the background when minimized to the system tray. I just mean when you pull up the task manager i want it to be running in the process window not the Application window. If it is possible i would like the code for both 6.0 and .NET. Thank You
-
I was wondering how you would make an application run in the background when minimized to the system tray. I just mean when you pull up the task manager i want it to be running in the process window not the Application window. If it is possible i would like the code for both 6.0 and .NET. Thank You
Run the "application" as a service and start another application that controls a NotifyIcon that can observe and control the service. There are numerous examples on CP and other places of how to write a service in .NET; for VB6, you might look at the Desaware NT Service Toolkit.
-
I was wondering how you would make an application run in the background when minimized to the system tray. I just mean when you pull up the task manager i want it to be running in the process window not the Application window. If it is possible i would like the code for both 6.0 and .NET. Thank You
Sorry for the hasty response earlier -- here is another simpler solution: instead of minimizing the window, make set Visible to false and set ShowInTaskBar to false, as well. It won't show in the task manager (at least not in Win2K/XP) and it won't display in the task bar either.