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 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
                      • H hrishiS

                        thanks but how to kill explore.exe?

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

                        S Offline
                        S Offline
                        Skymir
                        wrote on last edited by
                        #21

                        It's a situation that, if you have to ask, you shouldn't be told. Because the way to replace explorer can also make a system nearly unusable. Which means by the time you know how to deal with not having explorer, you'll also find out how to replace it. Until then, start reading up on the windows resource kits. They'll let you enable security policies that can do what you're looking for in a safe manner.

                        The true man wants two things: danger and play. For that reason he wants woman, as the most dangerous plaything.

                        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