Ok...I think this can be done in Java but I have no clue how. What I want is a small application for Windows XP that would make it so that if a user clicks shutdown (from the start menu or from the welcome page) it will as for the correct password (which would need to be able to be reset) and I could manage little things like that and it would be availble through the System Tray (next to the time). I have no clue where to start with this and don't know any of the coding...where should I start?

-Computerpros

>You'd be better off writing that sort of thing in C++ or Delphi with maybe some Assembler code as well.

Can you even use windows commands from java? Like shutdown,'n' stuff?

[edit]
Just found this


I guess java is just accessing the commands for shut-down, which are platform specific anyway?

Sorry to hijack this thread with a different question altogether :-)
[/edit]

So then...can this be coded in Java or not?? Let me know so that I can post in another board if nessesary.

-Computerpros

I am pretty sure you cannot. Trying to intercept the shutdown call,
seems to me, to be a pretty system-level function, and Java is not
intended, or designed, for that type of functionality.

>What I want is a small application for Windows XP that would make it so that if a user clicks shutdown (from the start menu or from the welcome page) it will as for the correct password (which would need to be able to be reset)

This sounds more like a windows hack anyway.

>What I want is a small application for Windows XP that would make it so that if a user clicks shutdown (from the start menu or from the welcome page) it will as for the correct password (which would need to be able to be reset)


This sounds more like a windows hack anyway.

So then...can this be coded in Java or not?? Let me know so that I can post in another board if nessesary.

-Computerpros

How about doing your own research?

This article has been dead for over six months. Start a new discussion instead.