Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

rundll problem

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Naren
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well Narendran
Try
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic