wood burning stoves 2.0*
The moose likes Java in General and the fly likes rundll problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "rundll problem" Watch "rundll problem" New topic

rundll problem

Narendran Nair
Ranch Hand

Joined: Sep 25, 2003
Posts: 35
hello every one
i am having a small problem
in my java program i need to open a webpage
i used the rundll command as shown below
rundll32 url.dll,FileProtocolHandler www.javaranch.com
while running this command a browser window opens up when there is no browser open on the desktop. but the problem is if there is a explorer window already and then u run the command , instead of opening in a new window the site is opened in the existing window itself.
what i wanted was to open the window as a new one
can any one suggest me in this
i searched with google and came empty handed in this particular issue
hoping for the reply

Narendran J S<br />SCJP 1.4<br /><a href="http://narendranj.blogspot.com" target="_blank" rel="nofollow">http://narendranj.blogspot.com</a><br /><a href="http://narendranj.blogspot.com" target="_blank" rel="nofollow">http://techboom.blogspot.com</a><br /><a href="http://bookmarks-share.blogspot.com" target="_blank" rel="nofollow">http://bookmarks-share.blogspot.com</a>
S Rubia

Joined: Apr 06, 2003
Posts: 23
Well Narendran
Runtime.getRuntime().exec("Iexplore [url=http://www.javaranch.com");]http://www.javaranch.com");[/url]
It Will open a new window with given url ..
Atleast opens on my computer.
Don't get me started about those stupid light bulbs.
subject: rundll problem
Similar Threads
Opening a Browser From Java
How to capture events from vbs script in java
Thread-safe on HttpSession Object
Open file using default editor