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. Writing a prog. that locks the comp.

Writing a prog. that locks the comp.

Scheduled Pinned Locked Moved Visual Basic
tutorial
4 Posts 4 Posters 21 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.
  • I Offline
    I Offline
    ik 0
    wrote on last edited by
    #1

    Hi! I want to know how to write a program in VB 6 That locks the computer if you dont know the password. Thanks

    M M 2 Replies Last reply
    0
    • I ik 0

      Hi! I want to know how to write a program in VB 6 That locks the computer if you dont know the password. Thanks

      M Offline
      M Offline
      Martin Relstic
      wrote on last edited by
      #2

      IK, Well to tell you the truth I've been wanting to write one of theese for myself for quite some time. Heres what you do: - Prevent escape keystrokes (CTRL ALT DEL, ALT F4 ect) - Size the window to full screen and prevent the user from using the start menu -have the program start at system startup to prevent the computer from being restarted in order to access the system It's that simple! As for hiding the start menu/taskbar, thats as far as I got, I dont know how to do that. Maby I could send you someting by e-mail if anyone else hasen't already done this in VB. -- Marty

      L 1 Reply Last reply
      0
      • M Martin Relstic

        IK, Well to tell you the truth I've been wanting to write one of theese for myself for quite some time. Heres what you do: - Prevent escape keystrokes (CTRL ALT DEL, ALT F4 ect) - Size the window to full screen and prevent the user from using the start menu -have the program start at system startup to prevent the computer from being restarted in order to access the system It's that simple! As for hiding the start menu/taskbar, thats as far as I got, I dont know how to do that. Maby I could send you someting by e-mail if anyone else hasen't already done this in VB. -- Marty

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        hi IK u can do that using some of the API's and some changes to the registry now i don't remember all of them but next time i will send u an Email which will cover all of the details ,u can get help from System Policy Editor.:mad:

        1 Reply Last reply
        0
        • I ik 0

          Hi! I want to know how to write a program in VB 6 That locks the computer if you dont know the password. Thanks

          M Offline
          M Offline
          Masoud Samimi
          wrote on last edited by
          #4

          Hi, I have not done this coz I never needed it! But you can do it using MACRO Programming which is basically VB coding! One link to the M$ Web is this for general use: http://msdn.microsoft.com/library/ddkdoc/win95ddk/keycnt_4iif.htm Or for Microsoft Word: http://support.microsoft.com/support/kb/articles/Q192/3/20.ASP Which I think you may be able to use in VB! Try and Error! You'll discover the best way soon! Or better yet, do a search on the keyword "Disable Keyboard" while on the M$ site and you will find a very lot of hits! :) Enjoy! :) "Silence is golden, but my eyes still see." -- Masoud Samimi Website: www.geocities.com/samimi73

          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