Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi,

I am looking out for a clue to create a windows application with runs in background once it is installed in the PC.

Like displaying a MessageBox in an interval of 1 minute without starting the application. It should work from background.

How to go about it?

Thanks in advance
Posted
Comments
Salman622 21-Jan-16 8:18am    
My suggestion would be.
Instead of creating windows application you can create a windows service
you can achieve all you want.
OriginalGriff 21-Jan-16 8:41am    
A windows service cannot have a user interface: so his Messagebox cannot be displayed!
Sinisa Hajnal 21-Jan-16 9:48am    
Google system tray application - and focus on the windows version you plan to target the most (there are some differences).

Here is something to get you started: http://www.codeproject.com/Articles/290013/Formless-System-Tray-Application
https://www.simple-talk.com/dotnet/.net-framework/creating-tray-applications-in-.net-a-practical-guide/
Sergey Alexandrovich Kryukov 21-Jan-16 10:00am    
"Like displaying a MessageBox in an interval of 1 minute without starting the application." is nonsense. What application is showing this MessageBox then? Would you seriously show so many message boxes? :-)
—SA

1 solution

Create a setup that will register your application to the auto run list of windows so that it will be started automatically with windows - it's that simple :-)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900