Article View: borland.public.jbuilder.java.language
Article #7995Re: Getting Def
From: John McGrath TeamB
Date: Tue, 08 May 2001 05:53
Date: Tue, 08 May 2001 05:53
26 lines
2012 bytes
2012 bytes
On Mon, 7 May 2001 18:26:20 +0200, Valentino Kyriakides wrote:
> "Erwin Olaerts" <erwin.olaerts@idp.be> schrieb im Newsbeitrag
> > Is there a way to find out if no program is linked with a
> > certain type of files.
> You can use a try/catch block similar to the following shown code fragments:
I tried this, and unfortunately rundll32 does not return any sort of
error code. Instead, it shows a dialog titled "Problem with Shortcut"
with the message 'Unable to open "filename.xyz"'.
I also tried the CMD START mechanism and it does not return an error
code either. Instead, it displays the Windows "Open With..." dialog.
I don't know any way of determining this without resorting to native
code.
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.15614d3fed6b82598a1a3@forums.borland.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!feeds.vnews.net!nntp.cifnet.net!feed2.onemain.com!feed1.onemain.com!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!nntp.CS.Uni-Magdeburg.De!PeerFeed.KWeb.on.ca!dnewsReferences:
<3af165f4_2@dnews> <MPG.155bfe5339e0223c98a18f@forums.borland.com> <3af29d21_2@dnews> <MPG.155d66295a54734398a19a@forums.borland.com> <MPG.155d7bb8708a9f3e98a19f@forums.borland.com> <3af64909_1@dnews> <3af6cd62_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,23c4ef4f8da51747 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-05-07 23:04:03 PST From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Newsgroups: borland.public.jbuilder.java.language Subject: Re: Getting Def Date: Tue, 8 May 2001 01:53:24 -0400 Message-ID: <MPG.15614d3fed6b82598a1a3@forums.borland.com> References: <3af165f4_2@dnews> <MPG.155bfe5339e0223c98a18f@forums.borland.com> <3af29d21_2@dnews> <MPG.155d66295a54734398a19a@forums.borland.com> <MPG.155d7bb8708a9f3e98a19f@forums.borland.com> <3af64909_1@dnews> <3af6cd62_2@dnews> X-Newsreader: MicroPlanet Gravity v2.30 NNTP-Posting-Host: 209.92.40.60 X-Trace: dnews 989301203 209.92.40.60 (7 May 2001 22:53:23 -0700) Lines: 26 X-Authenticated-User: jpmcgrath Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!feeds.vnews.net!nntp.cifnet.net!feed2.onemain.com!feed1.onemain.com!fr.clara.net!heighliner.fr.clara.net!news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!nntp.CS.Uni-Magdeburg.De!PeerFeed.KWeb.on.ca!dnews