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. Visual Basic
  4. How to disable PrintScreen button

How to disable PrintScreen button

Scheduled Pinned Locked Moved Visual Basic
tutorial
4 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.
  • E Offline
    E Offline
    emadkemo
    wrote on last edited by
    #1

    is there any way to disable the print screen button

    C I 2 Replies Last reply
    0
    • E emadkemo

      is there any way to disable the print screen button

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

      A system wide hook, perhaps ?

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

      E 1 Reply Last reply
      0
      • C Christian Graus

        A system wide hook, perhaps ?

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

        E Offline
        E Offline
        emadkemo
        wrote on last edited by
        #3

        Thanks a lot for your reply but I don't Know what you mean by A system wide hook

        1 Reply Last reply
        0
        • E emadkemo

          is there any way to disable the print screen button

          I Offline
          I Offline
          IqbalVB
          wrote on last edited by
          #4

          You can unplug the keyboard cable, or don't press the prinscreen button. Ha ha that's a joke. Actually, you can handle it by add some action like showing a message when user press it and delete the image file from picture taken, by this:Private Sub formname_keydown(Byval sender as object, byval e as system.keycode) If e.keycode=key.printscreen = true then msgbox("Sorry, you can't print the screen for a reason","Warning",vbcritical) system.clipboard.clear End If End Sub

          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