Article View: borland.public.jbuilder.java.language
Article #15504Re: Calling the default browser from an application
From: Omer Azhar Qureshi
Date: Wed, 02 Jun 1999 00:00
Date: Wed, 02 Jun 1999 00:00
16 lines
832 bytes
832 bytes
hi Laura
try using the
Process p = Runtime.getRuntime().exec(sCmdLine);
where cCmdLine is
- for windows95/98
"start http://mywebsite.com"
- for windowsNT
"cmd.exe /c start http://mywebsits.com
hope this helps
regards
Oaq
Technical Details
Message-ID:
<7j2hi6$him11@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7ijni3$4ma5@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b349be98f7bcde5e X-Google-Attributes: gidf74b3,public From: "Omer Azhar Qureshi" <oaq@systemeltd.com.pk> Subject: Re: Calling the default browser from an application Date: 1999/06/02 Message-ID: <7j2hi6$him11@forums.borland.com> X-Deja-AN: 484758962 References: <7ijni3$4ma5@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.language