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. Locking a screening

Locking a screening

Scheduled Pinned Locked Moved C#
question
5 Posts 3 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.
  • D Offline
    D Offline
    Drathmar
    wrote on last edited by
    #1

    A client recently asked me if I could make a porgram that would have a fairly simple functionality, but with a catch. When the program is running he wants it to be the only program available. So a user couldn't alt tab and go to another program or minimize the program and open up a web broswer. To get out might require the user to hit escape and type in a password. I call it "Locking" but maybe there's already a phrase for this type of functionality. Is there? Drathmar

    C D 2 Replies Last reply
    0
    • D Drathmar

      A client recently asked me if I could make a porgram that would have a fairly simple functionality, but with a catch. When the program is running he wants it to be the only program available. So a user couldn't alt tab and go to another program or minimize the program and open up a web broswer. To get out might require the user to hit escape and type in a password. I call it "Locking" but maybe there's already a phrase for this type of functionality. Is there? Drathmar

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

      The program could make itself topmost, I guess. It could also grab the input focus whenever it loses it.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      1 Reply Last reply
      0
      • D Drathmar

        A client recently asked me if I could make a porgram that would have a fairly simple functionality, but with a catch. When the program is running he wants it to be the only program available. So a user couldn't alt tab and go to another program or minimize the program and open up a web broswer. To get out might require the user to hit escape and type in a password. I call it "Locking" but maybe there's already a phrase for this type of functionality. Is there? Drathmar

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

        This could be done, but it is better left to Group Policy to do this. There are LOTS of ways to get around this "lock", and your app won't be able to cover them all.

        Dave Kreskowiak Microsoft MVP - Visual Basic

        D 1 Reply Last reply
        0
        • D Dave Kreskowiak

          This could be done, but it is better left to Group Policy to do this. There are LOTS of ways to get around this "lock", and your app won't be able to cover them all.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          D Offline
          D Offline
          Drathmar
          wrote on last edited by
          #4

          When you say to leave it to Group Policy? I don't exactly follow, how would you do this with "Group Policy"?

          D 1 Reply Last reply
          0
          • D Drathmar

            When you say to leave it to Group Policy? I don't exactly follow, how would you do this with "Group Policy"?

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

            Pick up the Windows XP Resource Kit and you'll find out. It's covered in about half of the book. But, to give you a quick look-see, click Start, Run, then type gpedit.msc and Hit enter.

            Dave Kreskowiak Microsoft MVP - Visual Basic

            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