Hi, I don't want my application to be stopped from running from being stopped using ctrl+alt+del.I also doesn't want my application to be stopped from running at startup.i.e the user can remove my application from the startup folder or from the run key in the registry.But I wnat my application to run at startup even if it is removed from these places,is it possible?Or can I place my application in some other place for general startup? Please reply as soon as possible. Happy middling with java. Netharam.
I don't believe this is possible. If the JVM is shut down from the windows task manager, there isn't much you can do about it. Preventing the user from disabiling it doesn't sound easy. What are you trying to write here, some sort of virus ?
Joined: Aug 09, 2001
Sorry I'm not tryin to write any virus,I want my application to take control over the system & watch what the client does & report it to the administrator.If the client is aware of my program & if he just quits it then I lose control over that client.This is the reason why I wish my application to keep running. Reply positively. Happy middling with java. Netharam.
This has been asked before and I have never seen anyone answer how to do it. Obviously you would have to make it operating system specific (what you describe probably already is). You would probably have to write some native code to grab the OS keyboard events before the OS decides what to do with them and reroute that keystroke sequence to your application.
"JavaRanch, where the deer and the Certified play" - David O'Meara
netharam Can you stop the user unplugging the power cord? Your general concepts are wrong! Your user should control how to use your software, not your software control the user or his/her computer. Unless you want to write some virus... Visit JavaChina on the web
Joined: Nov 14, 2000
JavaRanch will not dominate the world. Neither will your software!!!
Netharam Just tell them that it is on there and then tell them not to turn it off!! explain to the client hwat it is, and then tell them if they turn it off they must be hiding something and they will be fired.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com