What's the code for a program to run in Task manager, under the processes tab

This is a discussion on What's the code for a program to run in Task manager, under the processes tab within the Windows Programming forums, part of the Platform Specific Boards category; What's the code for a program to run in Task manager, under the processes tab under windows 2000/xp? i want ...

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    3

    What's the code for a program to run in Task manager, under the processes tab

    What's the code for a program to run in Task manager, under the processes tab under windows 2000/xp?

    i want this certain program (in C) to run in the background, like it won't show up in the taskbar or the tray, it's just running as a service, is there and independant source code(that i can just insert my program code and combine the 2) that will make me be able to do this?

    also the only way to exit the program is by ctrl+alt+delete, processes, then end task

    thanks for taking your time to read this, all help is appreciated


    i have no idea what this thing i want to do is called, i tried searching, and i've been looking into some c programming books for about 4 days straight in my own time, but no luck, and this is the only place i can think of where i can get c programming help, sorry for the ignorance

  2. #2
    Unleashed
    Join Date
    Sep 2001
    Posts
    1,765
    Try the windows board for such a question.

    FWIW..
    WinExec("Your program", SW_HIDE);
    The world is waiting. I must leave you now.

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    3
    it doesn't work, i know i'm probably doing this wrong...when i double click the file a the program window still pops up

    like:

    i want the "process code" to hide the program that it's "on" in the processes tab

    so when you double click the file, it automatically moves itself to the processes tab, and disappears out of site
    Last edited by newbie1; 04-16-2003 at 07:27 PM.

  4. #4
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Doesn't all programs show up in the taskmanager? At least mine do (I know since sometimes they crash soooo hard ).

    If you don't want a window to show up, don't create one. With no window, it won't show up in the taskbar either (bottom of the screen).
    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.

  5. #5
    Registered User
    Join Date
    Apr 2003
    Posts
    3
    yeah i'm not creating a window, it does that by default, any suggestions?

  6. #6
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Originally posted by newbie1
    it does that by default
    Visual basic?

    How does that happen? What do you use? Try creating an empty project instead of starting off some template. Or remove all CreateWindow() / CreateDialog().
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Re-doing a C program to run in Win2000 or XP
    By fifi in forum C Programming
    Replies: 5
    Last Post: 08-17-2007, 06:32 PM
  2. Help me with my basic program, nothing I create will run
    By Ravens'sWrath in forum C Programming
    Replies: 31
    Last Post: 05-13-2007, 03:35 AM
  3. Letting a program run as a task ( background )
    By GanglyLamb in forum C# Programming
    Replies: 5
    Last Post: 12-01-2005, 08:52 AM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 06:06 PM
  5. Trying to make rand different per program run
    By Dreamerv3 in forum C++ Programming
    Replies: 6
    Last Post: 01-18-2002, 03:26 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21