🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2934

Re: Help

#2934
From: Alan
Date: Fri, 26 Feb 1999 00:00
31 lines
1227 bytes
No probs all sorted it myelf

basically to fire a browser in windows with a url us the following code

  try
  {
  LaunchBrowser = Runtime.getRuntime.exec("rundll32
url.dll,FileProtocolHandler http://www.ekat.freeserve.co.uk ");
  }
  catch(Exception ioe)
  {

  }

  }

obviously make the params in the exec process variables for re-use

arr1@cant.ac.uk



Alan wrote in message <7aua8r$klm$1@news4.svr.pol.co.uk>...
>Hi All
>
>I am new to java to.
>
>I am writing an application (not applet) and want to pass a url to a
>browser.  Can anyone help please!!!!
>
>
Technical Details
Message-ID: <7b4pt1$sfe$1@news5.svr.pol.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7aua8r$klm$1@news4.svr.pol.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,114e4b7e7535fcd4
X-Google-Attributes: gid1089d0,public
From: "Alan" <alan@ekat.freeserve.co.uk>
Subject: Re: Help
Date: 1999/02/26
Message-ID: <7b4pt1$sfe$1@news5.svr.pol.co.uk>
X-Deja-AN: 448518706
References: <7aua8r$klm$1@news4.svr.pol.co.uk>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Complaints-To: abuse@theplanet.net
X-Trace: news5.svr.pol.co.uk 919988961 29166 62.136.47.221 (26 Feb 1999 00:29:21 GMT)
Organization: Customer of Planet Online
NNTP-Posting-Date: 26 Feb 1999 00:29:21 GMT
Newsgroups: borland.public.jbuilder.java.api