Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Visual Basic Computer password and PC lock


  • Please log in to reply

#1
atlantica

atlantica

    Member

  • Member
  • PipPip
  • 39 posts
I'm trying to make a form that can't be clicked on out side of it.
I want to lock the computer basicly.

For that lack of information detail, an example i have is when you go to turn of your computer. It gives you three options, shutdown, stand by or restart. Outside That window you can not click anything nore use the windows keys or really anything. I want a vb form like that but where i can type in a password and then if the password is right, it would unlock everything.
  • 0

Advertisements


#2
Neil Jones

Neil Jones

    Member 5k

  • Member
  • PipPipPipPipPipPipPipPip
  • 8,476 posts
The Shut Down screen isn't totally "click one of these or click nothing at all" because it is possible for something to happen in the background that would effectively cancel it. As far as I'm aware there is no such option in XP - the closest equivalent would be the User Account Control in Vista/Windows 7.

Anyway it might be me but I thought Windows already had its own ability to lock the computer with user account password - Hold down the Windows key and press L.
  • 0

#3
atlantica

atlantica

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
ok, is there any way to make a form with the abilities to lock the back ground and not allow ctrl+alt+Del and the windows key? Basicly i just want the computer locked from anyone using it unless the type in a pasword but i also i want it to be a vb form. I know windows can already do that by logging out or by pressing windows key+L.

Needs to be a vb form!

Edited by atlantica, 16 June 2009 - 10:02 PM.

  • 0

#4
diabillic

diabillic

    Member 1K

  • Member
  • PipPipPipPip
  • 1,370 posts
Group Policy.

gpedit.msc from the run line

http://support.microsoft.com/kb/307882

Much easier then a VB script. Are you trying to do this in a domain environment?

Edited by diabillic, 16 June 2009 - 10:04 PM.

  • 0

#5
atlantica

atlantica

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
woha, I checked the link out and i got really puzzled???
What? sorry, i just have no idea what that is. :) :) :) :) :)

Anyway, answer to your question is, when you say "domain environment" you meen like on a admin account?
  • 0

#6
diabillic

diabillic

    Member 1K

  • Member
  • PipPipPipPip
  • 1,370 posts
According to your profile your using XP Home. So scratch the Group Policy idea.

You may want to try this out: http://www.dougknox....rityconsole.htm
  • 0

#7
atlantica

atlantica

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
well for this form in vb, i just wanted it to to pop up at startup and stop the user from navigating the account.
  • 0

#8
diabillic

diabillic

    Member 1K

  • Member
  • PipPipPipPip
  • 1,370 posts
Just make limited accounts.
  • 0

#9
atlantica

atlantica

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
No, i want to make a form.
  • 0

#10
diabillic

diabillic

    Member 1K

  • Member
  • PipPipPipPip
  • 1,370 posts
Are you trying to do this on an XP Home machine?
  • 0

Advertisements


#11
atlantica

atlantica

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
Yes, I am. Windows Xp Home Edition service pack 3. The computer i have is Emachines.
  • 0

#12
diabillic

diabillic

    Member 1K

  • Member
  • PipPipPipPip
  • 1,370 posts
The only way to "lock out" any keys at all, including ctrl+alt+delete, would be using Group Policy which is not supported in XP Home. I dont think any kind of VBScript will do that, and if it does, will not yield the results you want.
  • 0

#13
atlantica

atlantica

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
is there way to change what a key will do if pressed?
  • 0

#14
diabillic

diabillic

    Member 1K

  • Member
  • PipPipPipPip
  • 1,370 posts
Not that im aware of.
  • 0

#15
atlantica

atlantica

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
Also, is there way then to disable the task bar, or at least hide when the form is open and even if windows key is pressed, it won't pop up?
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP