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
  1. Home
  2. General Programming
  3. Visual Basic
  4. hiding windows taskbar

hiding windows taskbar

Scheduled Pinned Locked Moved Visual Basic
help
21 Posts 9 Posters 22 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.
  • H Offline
    H Offline
    hrishiS
    wrote on last edited by
    #1

    Hi, Could anyone please help me with hiding the task bar when application runs. I did that with some code. But when I run another process from a button click, the task bar reappears. I want to disable the windows button too.. Thanks

    C I 2 Replies Last reply
    0
    • H hrishiS

      Hi, Could anyone please help me with hiding the task bar when application runs. I did that with some code. But when I run another process from a button click, the task bar reappears. I want to disable the windows button too.. Thanks

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

      You can't hide the taskbar. You CAN make your application sit on top of it, and it can also be made topmost. This is VERY hostile behaviour unless you're writing a kiosk style app.

      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 )

      H 1 Reply Last reply
      0
      • C Christian Graus

        You can't hide the taskbar. You CAN make your application sit on top of it, and it can also be made topmost. This is VERY hostile behaviour unless you're writing a kiosk style app.

        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 )

        H Offline
        H Offline
        hrishiS
        wrote on last edited by
        #3

        a sincere thnaks for your reply. All I want is that he shouldnot be able to access the start bar(to open my computer) and the taskbar(to open task manager). If I make my application sit on top of it, Will it serve my purpose? thnaks

        S M T C 4 Replies Last reply
        0
        • H hrishiS

          a sincere thnaks for your reply. All I want is that he shouldnot be able to access the start bar(to open my computer) and the taskbar(to open task manager). If I make my application sit on top of it, Will it serve my purpose? thnaks

          S Offline
          S Offline
          Samir Ibrahim 0
          wrote on last edited by
          #4

          himangshuS wrote:

          (to open task manager)

          Task Manager can be opened by right click >> task manager, or by pressing ctrl+alt+del Do you want to Disable any one from going to Task Manager? or Do you want your form application to cover all the screen including the Start bar of Window?

          Like car accidents, most hardware problems are due to driver error. Samir R. Ibrahim

          H 1 Reply Last reply
          0
          • H hrishiS

            a sincere thnaks for your reply. All I want is that he shouldnot be able to access the start bar(to open my computer) and the taskbar(to open task manager). If I make my application sit on top of it, Will it serve my purpose? thnaks

            M Offline
            M Offline
            Mycroft Holmes
            wrote on last edited by
            #5

            CG comment lead me to this article [^]it may be useful

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            • H hrishiS

              a sincere thnaks for your reply. All I want is that he shouldnot be able to access the start bar(to open my computer) and the taskbar(to open task manager). If I make my application sit on top of it, Will it serve my purpose? thnaks

              T Offline
              T Offline
              Tom Deketelaere
              wrote on last edited by
              #6

              Yes and No For the average user placing your application topmost will be enough, for the more advanced user there is NOTHING you can do (at least not legally). There is always a way to get the task manager at least if this is a app controlled with the keyboard (touchscreen is different).

              T 1 Reply Last reply
              0
              • S Samir Ibrahim 0

                himangshuS wrote:

                (to open task manager)

                Task Manager can be opened by right click >> task manager, or by pressing ctrl+alt+del Do you want to Disable any one from going to Task Manager? or Do you want your form application to cover all the screen including the Start bar of Window?

                Like car accidents, most hardware problems are due to driver error. Samir R. Ibrahim

                H Offline
                H Offline
                hrishiS
                wrote on last edited by
                #7

                exactly i want my application to cover all screen including start bar. If user press the startbar also he shouldnot able to view or select any option (or to click My Computer) Could you please tell me how to achieve that thanks

                S 1 Reply Last reply
                0
                • H hrishiS

                  exactly i want my application to cover all screen including start bar. If user press the startbar also he shouldnot able to view or select any option (or to click My Computer) Could you please tell me how to achieve that thanks

                  S Offline
                  S Offline
                  Samir Ibrahim 0
                  wrote on last edited by
                  #8

                  himangshuS wrote:

                  houldnot able to view or select any option (or to click My Computer)

                  Should not be able to click on my computer? Is that security needed? I doubt. I guess you will find your answer in WeLoveVirusAPI()

                  Like car accidents, most hardware problems are due to driver error. Samir R. Ibrahim

                  H 1 Reply Last reply
                  0
                  • S Samir Ibrahim 0

                    himangshuS wrote:

                    houldnot able to view or select any option (or to click My Computer)

                    Should not be able to click on my computer? Is that security needed? I doubt. I guess you will find your answer in WeLoveVirusAPI()

                    Like car accidents, most hardware problems are due to driver error. Samir R. Ibrahim

                    H Offline
                    H Offline
                    hrishiS
                    wrote on last edited by
                    #9

                    that is purely a security needed. All I want is that user shouldn't be able to access any of the computer's saved files or other data accept the access to my application.

                    S D 2 Replies Last reply
                    0
                    • H hrishiS

                      that is purely a security needed. All I want is that user shouldn't be able to access any of the computer's saved files or other data accept the access to my application.

                      S Offline
                      S Offline
                      Samir Ibrahim 0
                      wrote on last edited by
                      #10

                      himangshuS wrote:

                      that is purely a security needed. All I want is that user shouldn't be able to access any of the computer's saved files or other data accept the access to my application.

                      Sorry, This is still suspicious to me. If I suppose that what your are saying is 100% true, it is TOTALLY WRONG APPROACH. I am not gonna help you regarding this any more. Sorry.

                      Like car accidents, most hardware problems are due to driver error. Samir R. Ibrahim

                      H 1 Reply Last reply
                      0
                      • H hrishiS

                        that is purely a security needed. All I want is that user shouldn't be able to access any of the computer's saved files or other data accept the access to my application.

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

                        You cannot accomplish this task entirely from your code. This requires configuring Windows policies to handle most of this stuff. All of this is covered in the "Windows Resource Kit", under running Windows in a Kiosk mode. Get a copy from Amazon.com.

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

                        1 Reply Last reply
                        0
                        • T Tom Deketelaere

                          Yes and No For the average user placing your application topmost will be enough, for the more advanced user there is NOTHING you can do (at least not legally). There is always a way to get the task manager at least if this is a app controlled with the keyboard (touchscreen is different).

                          T Offline
                          T Offline
                          TheMrProgrammer
                          wrote on last edited by
                          #12

                          what if i want to hide the task bar so as to create a game ,you know, like fifa etc what do they do

                          TheMrProgrammer

                          T D 2 Replies Last reply
                          0
                          • T TheMrProgrammer

                            what if i want to hide the task bar so as to create a game ,you know, like fifa etc what do they do

                            TheMrProgrammer

                            T Offline
                            T Offline
                            Tom Deketelaere
                            wrote on last edited by
                            #13

                            As far as I know they don't do what you are trying to do, yes the task bar is 'hidden' but you can still access it (pres windows button or ctrl-escape). The reason its hidden is because the game is played full screen (maximized + topmost). I don't play many games but I'v never played one where the game prevented me from accessing my start menu (or anything else on my pc) if I had that game would have been uninstalled faster than I can type this message :). I didn't say you can't hide the taskbar, I said you can't make it so that the user can't access it. Out of curiosity will the user have a keyboard or will it be touchscreen? (I ask because when its touchscreen you can do this (for the most part) since then you control what the user can press)

                            1 Reply Last reply
                            0
                            • T TheMrProgrammer

                              what if i want to hide the task bar so as to create a game ,you know, like fifa etc what do they do

                              TheMrProgrammer

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

                              Those games don't use Windows the same way you do in your app. They pretty much take over the video card using DirectX and render everything themselves. You can still get to the Task Manager and Start bar though, with a simple Alt-Tab.

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

                              1 Reply Last reply
                              0
                              • H hrishiS

                                Hi, Could anyone please help me with hiding the task bar when application runs. I did that with some code. But when I run another process from a button click, the task bar reappears. I want to disable the windows button too.. Thanks

                                I Offline
                                I Offline
                                I am BATMAN
                                wrote on last edited by
                                #15

                                kill explorer.exe !

                                D H 2 Replies Last reply
                                0
                                • H hrishiS

                                  a sincere thnaks for your reply. All I want is that he shouldnot be able to access the start bar(to open my computer) and the taskbar(to open task manager). If I make my application sit on top of it, Will it serve my purpose? thnaks

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

                                  If you set the window state to topmost then yes, it will stay on top of the taskbar.

                                  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 )

                                  1 Reply Last reply
                                  0
                                  • I I am BATMAN

                                    kill explorer.exe !

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

                                    <Dr. Evil voice>Riiiiiiiiiiiiiiiiiiiight.</Dr. Evil voice> :wtf:

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

                                    modified on Monday, May 4, 2009 11:20 PM

                                    1 Reply Last reply
                                    0
                                    • S Samir Ibrahim 0

                                      himangshuS wrote:

                                      that is purely a security needed. All I want is that user shouldn't be able to access any of the computer's saved files or other data accept the access to my application.

                                      Sorry, This is still suspicious to me. If I suppose that what your are saying is 100% true, it is TOTALLY WRONG APPROACH. I am not gonna help you regarding this any more. Sorry.

                                      Like car accidents, most hardware problems are due to driver error. Samir R. Ibrahim

                                      H Offline
                                      H Offline
                                      hrishiS
                                      wrote on last edited by
                                      #18

                                      thnaks Samir, not a problem. But to be clear m telling again, its no related with any of the threats. Its just my clients need.. Anyway, thanks for the help

                                      ----------------------------- I am a beginner

                                      1 Reply Last reply
                                      0
                                      • I I am BATMAN

                                        kill explorer.exe !

                                        H Offline
                                        H Offline
                                        hrishiS
                                        wrote on last edited by
                                        #19

                                        thanks but how to kill explore.exe?

                                        ----------------------------- I am a beginner

                                        D S 2 Replies Last reply
                                        0
                                        • H hrishiS

                                          thanks but how to kill explore.exe?

                                          ----------------------------- I am a beginner

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

                                          Don't listen to him. You do NOT want to kill Explorer.exe.

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

                                          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