🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

open / execute

#385
From: Ralph Steins
Date: Thu, 23 Oct 2003 20:36
13 lines
1265 bytes
Hi,

I need a functionality similar to the "open" function in the
(windows)explorer. "open" a file with the corresponding application. Is
there something?

I can use Runtime.exec() only with the application name. I would favour a
more flexible way because at programming time are not all types of
applications known.
(btw: is it possible to get registered applications from the os (like Word
for *.doc, *.dot)?)

Ralph
Technical Details
Message-ID: <3f983bd0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,4c173bc4a0f787e9,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-10-23 13:39:45 PST
From: "Ralph Steins" <steinsrst@aol.com>
Newsgroups: borland.public.jbuilder.java.api
Subject: open / execute
Date: Thu, 23 Oct 2003 22:36:33 +0200
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 145.254.132.17
Message-ID: <3f983bd0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1066941392 145.254.132.17 (23 Oct 2003 13:36:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail