UGN Security
Posted By: Dark Phoenix Programing help - 05/12/04 08:11 AM
I would like to run a java program at start up on some windows XP machines, I need the program to come up and prevent the user from accessing the desktop of hiding the application until the program stops. Is there a way to set this up in batch files?
Posted By: pergesu Re: Programing help - 05/12/04 12:10 PM
I'm sure this is something nobody would ever expect to hear from me.

Don't use Java, you can't do what you want to with it. You're going to need to use C and Win32.
Posted By: Dark Phoenix Re: Programing help - 05/12/04 06:01 PM
I can't open a java program before the desktop loads? I don't want to use the java to stop the program I was hoping that I could open it from a batch file that would run at start-up and that the computer would wait until the program was closed before contimuing.
If that is impossiable, I could really use and really appreciate some help. Bascially When the user logs in i want to set up a quiz type program that has to run a minimum of 10 times or answered correctly. Then the computer goes as normal. Is there anyone that could offfer some advice, I can progam in java (not high level) so I have a basic understanding of some programing. Thanks, I reallly appreciate the help.
Posted By: pergesu Re: Programing help - 05/12/04 06:45 PM
You can write a program that requires the user to answer questions. The problem is denying the user access to the desktop. That simply isn't possible with Java. Perhaps you can write the batch file to handle that functionality, I have no clue. But as far as using strictly Java, you won't be able to do that. Like I said, your best bet is to write it in C and use the Win32 API. There are probably some programs out there that do something like this (lock up the desktop), so you can look at the source and just copy it.
Posted By: spaceman Re: Programing help - 05/12/04 09:12 PM
can you not start the program before you load the explorer shell??
Posted By: ? Re: Programing help - 05/13/04 03:22 AM
correct me if I'm wrong, but isn't it the boot.ini file which specifies what shell to load (explorer.exe) so if you write your own shell or edit explorer.exe and change the shell name in the boot.ini you should be able to do what you want, I'm not sure bout Java. if you want to disable the desktop you would probably have to edit a lot of reg keys. hit the irc and ask SilentRage, he knows more bout the Windows API.
Posted By: Dark Phoenix Re: Programing help - 05/13/04 07:42 AM
shame on me, but I have no idea how to locate him, could someone lemem know what the best method would be? (I'm barely literate in IRC world
Posted By: Gremelin Re: Programing help - 05/13/04 07:54 AM
Our IRC server is irc.undergroundnews.com (round robbin to all 3 servers).

Youcan also opt to use http://chat.undergroundnews.com/
Posted By: Dark Phoenix Re: Programing help - 05/13/04 08:49 AM
i really can't figure out how to talk to him can I have a few pointers on searching or someting
Posted By: Ntd Re: Programing help - 05/13/04 09:55 AM
To chat with him goto http://www.mirc.com and download there lastest version. Once downloaded open it a fill out all the stuff (nick and so on) and click ok. Then type /server irc.undergroundnews.com once on the server type /list and join #undergroundnews he will be on
Or just goto http://chat.undergroundnews.com/
Posted By: Gremelin Re: Programing help - 05/13/04 12:03 PM
http://chat.undergroundnews.com/ is easiest, all he has to do is make it connect and type "/join #undergroundnews" lol
Posted By: Ntd Re: Programing help - 05/13/04 02:14 PM
Yeah true however i think he might want to send and receive files too?
Posted By: Gremelin Re: Programing help - 05/14/04 04:27 AM
SR dcc something? yeh right lol
© UGN Security Forum