Hiding programs

This is a discussion on Hiding programs within the Windows Programming forums, part of the Platform Specific Boards category; Can anyone explain a simple method to load your program at startup, and hide it from being in the taskbar.... ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    7

    Question Hiding programs

    Can anyone explain a simple method to load your program at startup, and hide it from being in the taskbar.... I know I should add the program to the AUTOEXE.BAT file in Windows 98, but how do I keep it hiddin, but loaded.
    For example, when windows starts, it loads the Security port scanner, and hides in the back ground, scanning the localhost ports to make sure there are none open that arent suppose to be. How would I do this? Any help is appreciated.

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    It will only work in the Autoexec if its a dos program....

    Why would you want to do this? Is this for a virus or trojan? If so, your question has no place here, and if I see this thread going allong those lines I will close it.

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    7

    LOL

    Heh, if i wanted to write a trojan, I would visit a hacking board, not a C board. LOL. The REASON WHY i want to know this information was cleary posted above. When the user starts his computer, the local port scanner scans HIS computer for open ports, and closes them if they need not be open. But, to keep from cluttering the taskbar, i want it running in the background.

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    go to msdn and look up the information on writing a service. In win95 family its a bit different but info at msdn for that too.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I usually hide programs under my bed. Or when I don't want it on the task bar, I make a dialog instead of a window.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 07:32 AM
  2. Hiding programs ...
    By twomers in forum C++ Programming
    Replies: 8
    Last Post: 01-20-2006, 11:35 AM
  3. How come Dev C++ cant run some programs??
    By Sephiroth in forum C Programming
    Replies: 41
    Last Post: 09-17-2005, 06:35 AM
  4. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 05:42 AM
  5. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 04:12 AM

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