Dealing with default browser
Posted on 2006-04-16
In our application, written in Java,
we launch Help System as .html file using default system browser.
The code used:
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);
There are two problems with this code that we don't know how to solve.
1. Each time Help is Launched, new browser window is opened.
We would like each subsequent help topic to go to the same browser window
if it is opened already.
2. We would like to close browser window with the Help Topic upon
closing our application.
Any suggestions are appreciated. (michael)