Thread: c# timer from

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    2

    Post c# timer from

    i want a c# form with a timer to run in background in windows (not even visible on taskbar) and run another program after the timer stops..
    can u plz help me hw to do it??

  2. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    2
    i mean tell me the code that will help me call another program after time completes and how du i hide dat from taskbar n other places..

  3. #3
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Read about System.Diagnostics.Process.Start, and don't create a window and you won't see the application (if you do a console app you will always get the black window, so do a windows app).
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  4. #4
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Yay for malicious script kiddies!

    Give us a good, legitimate reason why you need to hide your program "from taskbar n [sic] other places"
    Can u du dat?

  5. #5
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853
    Post some code so we can help at least with the timer part

    edit: I would also believe that you cannot simply do that. Except by installing some driver-like software or changing some core functions or in general changing the way the OS registers the processes.
    Last edited by C_ntua; 04-10-2010 at 03:42 PM.

  6. #6
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    look into services. there is good support for service control in the .Net framework.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. hi-res vs. normal timer
    By MK27 in forum C Programming
    Replies: 0
    Last Post: 12-02-2009, 08:53 PM
  2. SIGALRM and timer
    By nkhambal in forum C Programming
    Replies: 1
    Last Post: 06-30-2008, 12:23 AM
  3. tic tac toe crashes :(
    By stien in forum Game Programming
    Replies: 4
    Last Post: 05-13-2007, 06:25 PM
  4. Need help with a count down timer
    By GUIPenguin in forum C# Programming
    Replies: 0
    Last Post: 07-07-2006, 04:18 PM

Tags for this Thread