Results 1 to 3 of 3
  1. #1
    chyrl is offline Senior Member
    Join Date
    Mar 2010
    Location
    Manila, Philippines
    Posts
    257
    Rep Power
    5

    Exclamation How to enable Windows Lock?

    I am developing a system to enable Windows Lock on platforms (XP and Win7).

    For example, I want to lock the computer's screen using Java?
    Is this possible? If I am going to use JNI?
    What methods I am to utilize using C/C++ native library?

    Thanks.
    Every project, package, class, method, variable, syntax, algorithm, etc.
    are registered in my memory bank. Thanks to this thread.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,353
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by chyrl View Post
    I am developing a system to enable Windows Lock on platforms (XP and Win7).

    For example, I want to lock the computer's screen using Java?
    Is this possible? If I am going to use JNI?
    What methods I am to utilize using C/C++ native library?

    Thanks.
    Locking a computer (or its screen) is not an application's task. Of course there's some vague API available in MS Windows so you can try the JNI route but I find it a strange functionality. Why do you people want to implement those preposterous functionalities anyway? Just for kicks? It is a system functionality. I can hardly wait until someone comes in with hardly any computer knowledge at all who wants to do it remotely (from a cell phone preferably).


    kind regards,

    Jos

  3. #3
    chyrl is offline Senior Member
    Join Date
    Mar 2010
    Location
    Manila, Philippines
    Posts
    257
    Rep Power
    5

    Exclamation

    Quote Originally Posted by JosAH View Post
    Locking a computer (or its screen) is not an application's task. Of course there's some vague API available in MS Windows so you can try the JNI route but I find it a strange functionality. Why do you people want to implement those preposterous functionalities anyway? Just for kicks? It is a system functionality. I can hardly wait until someone comes in with hardly any computer knowledge at all who wants to do it remotely (from a cell phone preferably).
    Then count me as one.
    I am trying to do develop a CyberCafePro like system using Java as it's programming language.
    Every project, package, class, method, variable, syntax, algorithm, etc.
    are registered in my memory bank. Thanks to this thread.

Similar Threads

  1. Lock a folder
    By nchouhan15@gmail.com in forum New To Java
    Replies: 4
    Last Post: 03-13-2012, 08:33 AM
  2. Logger and file lock
    By segolas in forum Advanced Java
    Replies: 3
    Last Post: 01-14-2010, 04:02 PM
  3. 3x wrong password will lock the system
    By ashin in forum SWT / JFace
    Replies: 0
    Last Post: 07-11-2009, 04:03 PM
  4. lock a file
    By flaca in forum New To Java
    Replies: 3
    Last Post: 08-19-2008, 03:00 PM
  5. object lock question
    By simon in forum New To Java
    Replies: 2
    Last Post: 08-01-2007, 04:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •