🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Opening files in other Apps.

#2788
From: James Cook
Date: Tue, 28 Mar 2000 00:00
38 lines
1550 bytes
I would direct you first to read up on the Java Activation Framework (JAF).
It's a full fledged API from Sun (www.javasoft.com). I'm not sure if it
accomplishes what you wish.

Secondly, the quick and dirty technique, is to launch the program with
exec(). If your program supports the passing of a "file to open" you can
include that parameter in the exec() call.

jim

Hasan Tuncay <htuncay@_NOSPAM_quoka.com> wrote in message
news:38E057D9.ECBA47E9@_NOSPAM_quoka.com...
> Hello,
>
> does somebody know, how I can tell the OS with Java, to open a file with
>
> the according program.
>
> Like this:
>
> Wan't to tell MacOS to open a Photoshop Dokument with Photoshop 5.5.
> Or a QuarkXPress Dokument with the QuarkXPress Application.
> --
>
> Hasan Tuncay
> IT-Developer
> Quoka AG - Germany
>
> htuncay@_NOSPAM_quoka.com
> www.quoka.com
>
> PS. Please delete "_NOSPAM_" out of my email adress to use it correctly.
>
>
>
>
>
>
Technical Details
Message-ID: <38e0e66d.0@news.dot.state.oh.us>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38E057D9.ECBA47E9@_NOSPAM_quoka.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,8a46c54f417763e4
X-Google-Attributes: gid1089d0,public
From: "James Cook" <jimcook.spaminator@remove.for.spam.iname.com>
Subject: Re: Opening files in other Apps.
Date: 2000/03/28
Message-ID: <38e0e66d.0@news.dot.state.oh.us>
X-Deja-AN: 603478433
References: <38E057D9.ECBA47E9@_NOSPAM_quoka.com>
X-Trace: 28 Mar 2000 12:05:49 -0500, dotfw001-dmz.dot.state.oh.us
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.api
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300