Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Running the program in background
 

Running the program in background

I developed an application that counts how long a user remains
logged-in. The application should be launched when the Windows
boots up and it should run in the background (the application
should not show up in the Task Bar or System Tray).

I used Registry Editor to add my app to the Windows Registry
(HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run).
This method successfully launches my application when the computer
boots up, however it is not running in the background (i.e the user
can see my application in the System Tray).
I am using Windows XP O/S.

How can I prevent the user from seeing my application.
It is even better if anyone could provide a manually adding method.

Advance Thanks.

Giritharan  Monday, January 28, 2008 5:50 AM

I don't think there's anything the installer can do to achieve this, so you might get better results in another forum.

But wouldn't it be sufficient if your application didn't create a window?

Stefan Krueger  Monday, January 28, 2008 4:07 PM

We are changing the issue type to “Comment�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Thank you!

Yu Guo â€?MSFT  Friday, February 01, 2008 1:46 AM

You can use google to search for other answers

Custom Search

More Threads

• need code for custom update checking...
• COM registration issue with ClickOnce
• How to add a start menu icon for my ClickOnce deployed application ?
• ClickOnce installer fails to get app
• Help me please(Deployment)
• Publish encrypted C# Application using Post-build event failed
• Project deployment basics
• ClickOnce app using DCOM
• VS 2005 general question: deployment project
• MIME settings