Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 07-11-2005, 10:46 PM   #1 (permalink)
 
True Techie

Join Date: Sep 2004

Posts: 156

ZoneFire

Default Auto start C# application

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
__________________
The important thing is not to stop questioning...
Albert Einstein
ZoneFire is offline  
Old 07-12-2005, 12:59 AM   #2 (permalink)
 
True Techie

Join Date: May 2005

Posts: 141

Something Sexy

Send a message via AIM to Something Sexy
Default

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.
Something Sexy is offline  
Old 07-12-2005, 03:10 AM   #3 (permalink)
 
True Techie

Join Date: Sep 2004

Posts: 156

ZoneFire

Default

but how can i trigger the application to start and pop-up by itself?
any commands that can do so?
thanks for your guidance...
__________________
The important thing is not to stop questioning...
Albert Einstein
ZoneFire is offline  
Old 07-12-2005, 09:23 AM   #4 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

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.
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On