Hi @ all I want to open iexplorer from Jacva Runtime. I have tried to do Runtime.getRuntime().exec("iexplore.exe -k") but that does not work Exception: Could not invoke browser, command=iexplore.exe -k what can i do because i need to show an web site in fullscreen but i have to start the browser from a java programm Please help me
hi, I had a similar problem a while ago, check thisthread out, be sure to check out what Dirk posted, his solution was very helpfull. [ May 23, 2005: Message edited by: Dan Maples1 ]
This piece of code is what I have saved for a while ( I needed it for something). You can get the process id in return. Please check documentation what p.waitfor() does ( I don't recall it now)
You will probably be asked soon by a moderator to change your display name to ahere to the naming policy of the ranch. You can change your name here.
Now, if you post your code and the exact text of the error message, we'll try to help you more. Please be sure to surround your code with the code tags - you can get them from that nifty button just below the 'add post' button.
thanks! [ May 23, 2005: Message edited by: fred rosenberger ]
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
This is what I used. This opens the default browser of the system instead of a specific instance of internet explorer. If you ever plan to run your code on another machine, I would highly recomend using this.
-Dan
-Dan
Your buns are mine! But you can have this tiny ad: