| Joined: May 2004 Posts: 5 Junior Member | OP Junior Member Joined: May 2004 Posts: 5 | 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?
I'm not goth, i just look good in black
| | | | Joined: Mar 2002 Posts: 1,136 UGN Elite Poster | UGN Elite Poster Joined: Mar 2002 Posts: 1,136 | 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. | | | | Joined: May 2004 Posts: 5 Junior Member | OP Junior Member Joined: May 2004 Posts: 5 | 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.
I'm not goth, i just look good in black
| | | | Joined: Mar 2002 Posts: 1,136 UGN Elite Poster | UGN Elite Poster Joined: Mar 2002 Posts: 1,136 | 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. | | | | Joined: Apr 2004 Posts: 11 Junior Member | Junior Member Joined: Apr 2004 Posts: 11 | can you not start the program before you load the explorer shell??
please don't read this, if u do i will dissapea.....
| | | | Joined: Apr 2002 Posts: 135 UGN Member | UGN Member Joined: Apr 2002 Posts: 135 | 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.
I KNOW EVERYTHING. ASK ME.
| | | | Joined: May 2004 Posts: 5 Junior Member | OP Junior Member Joined: May 2004 Posts: 5 | 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
I'm not goth, i just look good in black
| | | | Joined: Feb 2002 Posts: 7,203 Likes: 11 Community Owner | Community Owner Joined: Feb 2002 Posts: 7,203 Likes: 11 | Our IRC server is irc. UnderGroundNews.com (round robbin to all 3 servers). Youcan also opt to use http://chat.undergroundnews.com/ | | | | Joined: May 2004 Posts: 5 Junior Member | OP Junior Member Joined: May 2004 Posts: 5 | i really can't figure out how to talk to him can I have a few pointers on searching or someting
I'm not goth, i just look good in black
| | | | Joined: Jan 2003 Posts: 217 Member | Member Joined: Jan 2003 Posts: 217 | Yeah true however i think he might want to send and receive files too? | | | | Joined: Feb 2002 Posts: 7,203 Likes: 11 Community Owner | Community Owner Joined: Feb 2002 Posts: 7,203 Likes: 11 | SR dcc something? yeh right lol | | |
Posts: 207 Joined: June 2002
| | Forums41 Topics33,840 Posts68,858 Average Daily Posts0 | Members2,176 Most Online3,253 Jan 13th, 2020 | | | | | | | | | | | Doom 3 by Cyrez - 09/11/14 08:58 PM
| | | | | | | | | | | | | | | | | | |