Solved

Locking and unlocking the keyboard and mouse through java

Posted on 2001-07-31
4
1,210 Views
Last Modified: 2008-02-01
Hi.
I want to write a java program to lock and unlock the keyboard and mouse on winNT  using the java program. Please help me to do this. Atleast give me an idea how to proceed so that i can reach my goal.  
regards
Manish
0
Comment
Question by:m_ralekar
4 Comments
 
LVL 92

Assisted Solution

by:objects
objects earned 100 total points
ID: 6337247
DOn't know of any pure Java way of doing that.
You'll need to use JNI or some other native implementation.
0
 
LVL 3

Accepted Solution

by:
shyamkumarreddy earned 100 total points
ID: 6337258
Hey Ralekar

You Need a JNI is that is sure.
But i want to bring you a notice abt something regarding this.

If u still can implement this, but not all OS I mean even in Windows u can do this.

You can Lock your ur devices in 3.2,95,98
I know u cann't do it with Win2000 and not much i know abt NT.

Microsoft has removed a device control in 2000. In order to use this feature. U need to reboot the system to take place. This is special feature in 2000.

I don't know abt NT.
This is for your information

Shyam

0
 

Author Comment

by:m_ralekar
ID: 6339780
Hi . .
Can u tell me any native implementation for this. If u r having any native program to do it please send it to me it will be very much helpful to me.
Thank you.
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 9025716
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:


[split points between shyamkumarreddy and objects]


Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
sudhakar_koundinya
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post your concern in THIS thread.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to get all the API from website? 11 106
tomcat not starting 6 70
Java Restore security prompts not working 10 73
java mysql insert application 14 29
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This video teaches viewers about errors in exception handling.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question