Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Hide or make my peocess invisible in task manager?

Hide or make my peocess invisible in task manager?

Scheduled Pinned Locked Moved C#
question
9 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sbscb
    wrote on last edited by
    #1

    I want to make my program invisible in the task manager while it runs some background functions to later be returned to the visible state in the task manager, since I don't want the user to kill the process while it is still working. I know there is a project already on here somewhere which runs in the system tray and lists all processes and has a button that can make a process invisible to the task manager but I don't remember the link to it on this site.

    S C 2 Replies Last reply
    0
    • S sbscb

      I want to make my program invisible in the task manager while it runs some background functions to later be returned to the visible state in the task manager, since I don't want the user to kill the process while it is still working. I know there is a project already on here somewhere which runs in the system tray and lists all processes and has a button that can make a process invisible to the task manager but I don't remember the link to it on this site.

      S Offline
      S Offline
      Saksida Bojan
      wrote on last edited by
      #2

      Imposible to hide process. You can hide window, But not process.

      1 Reply Last reply
      0
      • S sbscb

        I want to make my program invisible in the task manager while it runs some background functions to later be returned to the visible state in the task manager, since I don't want the user to kill the process while it is still working. I know there is a project already on here somewhere which runs in the system tray and lists all processes and has a button that can make a process invisible to the task manager but I don't remember the link to it on this site.

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        If someone kills your process, they are on their own. And no, you can't hide it.

        Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

        S 1 Reply Last reply
        0
        • C Christian Graus

          If someone kills your process, they are on their own. And no, you can't hide it.

          Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

          S Offline
          S Offline
          sbscb
          wrote on last edited by
          #4

          I'm 100% sure it can be done because I have done it before in C# but don't have the full code but it has something to do with using APIs and sending a message to the process ID which causes it to be hidden in the task manager, here is the c++ project: Driver to Hide Processes and Files[^]

          C 1 Reply Last reply
          0
          • S sbscb

            I'm 100% sure it can be done because I have done it before in C# but don't have the full code but it has something to do with using APIs and sending a message to the process ID which causes it to be hidden in the task manager, here is the c++ project: Driver to Hide Processes and Files[^]

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            OK, you can hook the process that enumerates processes ? Interesting...

            Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

            S 1 Reply Last reply
            0
            • C Christian Graus

              OK, you can hook the process that enumerates processes ? Interesting...

              Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

              S Offline
              S Offline
              sbscb
              wrote on last edited by
              #6

              You can do that I believe but the last time I simply used SendMessage to the process with a special code and it made it invisible. I know the code was published somewhere but I still can't find it.

              D 2 2 Replies Last reply
              0
              • S sbscb

                You can do that I believe but the last time I simply used SendMessage to the process with a special code and it made it invisible. I know the code was published somewhere but I still can't find it.

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                Good luck with that. There is no legitimate reason to do that.

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007, 2008

                1 Reply Last reply
                0
                • S sbscb

                  You can do that I believe but the last time I simply used SendMessage to the process with a special code and it made it invisible. I know the code was published somewhere but I still can't find it.

                  2 Offline
                  2 Offline
                  22over7
                  wrote on last edited by
                  #8

                  I can't find it in C#, but you might be able to port this from VB... Good luck.

                  D 1 Reply Last reply
                  0
                  • 2 22over7

                    I can't find it in C#, but you might be able to port this from VB... Good luck.

                    D Offline
                    D Offline
                    Darki699
                    wrote on last edited by
                    #9

                    It can be done with App-Init DLL... Take a look at this: Easy way to set up global API hooks[^]

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups