🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15601

Re: Open with dialog

#15601
From: Adam Versteegen
Date: Sun, 22 Jun 2003 05:36
33 lines
2450 bytes
Remy Lebeau (TeamB)  wrote:

> "Adam Versteegen" <No@email.com> wrote in message
> news:3ef4140b@newsgroups.borland.com...
>
> > It seems odd that the openas verb would
> > return 'no association' seeing as thats the
> > whole point behind passing in 'openas'.
>
> It makes sense when you understand what is actually happening behind the
> scenes.  The "openas" verb is still a verb like any other, and as such
must
> still have the appropriate Registry settings in place to support it.  It
> turns out that the "openas" verb is associated only with the "Unknown"
> subkey, in other words is only for file extensions that don't actually
exist
> in the registry at all.  If you pass in a filename with an extension that
> does exist in the Registry but simply doesn't have the "open" and "openas"
> associations set up for itself, then that would explain the symptoms that
> you are seeing.  If, however, you pass in a filename with a truely unknown
> extension, then "openas" should be triggered correctly.

Hello Remy,

While that makes sense, its doesn't seem to be whats happening. If I attempt
it with a file with any random extension I have just made up (eg,
myfile.asdfasdf or myfile.pzz etc) it still comes up as no associate/unknown
association. Yet if I double click that file in explorer it brings up the
open with dialog.

Any more ideas?

Vesty.
Technical Details
Message-ID: <3ef54060$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ef23b06@newsgroups.borland.com> <3ef248f7$1@newsgroups.borland.com> <3ef2a89b@newsgroups.borland.com> <3ef2ab8c$1@newsgroups.borland.com> <3ef4140b@newsgroups.borland.com> <3ef51615$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,863d8bda245bcc45
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-21 22:42:56 PST
From: "Adam Versteegen" <No@email.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ef23b06@newsgroups.borland.com> <3ef248f7$1@newsgroups.borland.com> <3ef2a89b@newsgroups.borland.com> <3ef2ab8c$1@newsgroups.borland.com> <3ef4140b@newsgroups.borland.com> <3ef51615$1@newsgroups.borland.com>
Subject: Re: Open with dialog
Date: Sun, 22 Jun 2003 15:36:45 +1000
Lines: 35
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: 202.174.228.150
Message-ID: <3ef54060$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056260192 202.174.228.150 (21 Jun 2003 22:36:32 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail