Announcement

Collapse
No announcement yet.

Lock pc - problems

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Lock pc - problems

    Hi,

    I'm trying to find a way to remotely lock my Win7 notebook. I have tryed with LWIN+l in the remotekbd.vb script but nothing happens. Connection is fine, tested with an open notepad.

    Anyone?

    /Mav

    #2
    If you google for "VB.NET lock computer" or "c# lock computer", you 'll find a good number of samples.

    It looks like there is a function in user32.dll to do this.

    PHP Code:
    Private Declare Function LockWorkStation Lib "user32.dll" () As Integer
    LockWorkStation
    () 
    --
    stipus

    Comment

    Working...
    X