Auto start C# application

Status
Not open for further replies.

ZoneFire

In Runtime
Messages
154
do anyone here know how to start a C# application automatically?
just like an alarm clock, the application will start by itself and pop-up as set by the user.
for example, the Norton Antivirus will start scanning virus itself on the time on the time set by the user...
can C# perform the same operation?
do anyone know about that?
thank you :)
 
You should be able to just have a loop running that will keep checking the time with the C# time function and then just have an if statement that triggers whatever operation you want when the trigger is set.
 
but how can i trigger the application to start and pop-up by itself?
any commands that can do so?
thanks for your guidance...
 
Yes, either have it running in a loop in the background, and use an event to trigger the pop up. Or you could add it to the startup menu so that it starts when windows does. Or you could have a little dummy program that sits in the backgroun and whenever a certain event happens it starts up your main application.
 
Status
Not open for further replies.
Back
Top Bottom