Article View: borland.public.cppbuilder.nativeapi
Article #15602Re: Open with dialog
From: Remy Lebeau (TeamB)
Date: Sun, 22 Jun 2003 08:11
Date: Sun, 22 Jun 2003 08:11
19 lines
1717 bytes
1717 bytes
"Adam Versteegen" <No@email.com> wrote in message news:3ef54060$1@newsgroups.borland.com... > Any more ideas? The only workaround I can suggest at this time would be to just go into the Registry and extract the actual command line for invoking the "open with" dialog, and then invoke it directly. The command is stored in the following key: HKEY_CLASSES_ROOT\Unknown\shell\openas\command In the extracted command line, replace "%1" with the actual filename before you then invoke the command. I would usggest using CreateProcess() for that instead of ShellExecute(). Gambit
Technical Details
Message-ID:
<3ef563d5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<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> <3ef54060$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-22 01:11:34 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.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> <3ef54060$1@newsgroups.borland.com> Subject: Re: Open with dialog Date: Sun, 22 Jun 2003 01:11:54 -0700 Lines: 21 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: 207.175.226.26 Message-ID: <3ef563d5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1056269269 207.175.226.26 (22 Jun 2003 01:07:49 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail