Article View: borland.public.cppbuilder.nativeapi
Article #15664Re: Open with dialog
From: Adam Versteegen
Date: Fri, 20 Jun 2003 06:24
Date: Fri, 20 Jun 2003 06:24
23 lines
1655 bytes
1655 bytes
Remy Lebeau (TeamB) wrote: > An alternative I have seen posted before, but have not tried myself, is to > just call ShelExecute() with "open" regardless, and then call it with > "openas" only if "open" failed: > > if( ShellExecute(NULL, "open", ...) <= 32 ) > ShellExecute(NULL, "openas", ...); > > > Gambit Hello Remy, I tried those and didn't have much luck... I then went to look for some info on the 'openas' verb and couldn't find it anywhere. Where abouts is that documented? The only ones I could see were edit, explore, find, open, print or NULL. The problem could lie elsewhere, but I thought I would look for a bit more info on openas first. Thanks, Vesty.
Technical Details
Message-ID:
<3ef2a89b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ef23b06@newsgroups.borland.com> <3ef248f7$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-19 23:30:25 PST From: "Adam Versteegen" <no@email.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ef23b06@newsgroups.borland.com> <3ef248f7$1@newsgroups.borland.com> Subject: Re: Open with dialog Date: Fri, 20 Jun 2003 16:24:23 +1000 Lines: 26 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: <3ef2a89b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1056090267 202.174.228.150 (19 Jun 2003 23:24:27 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail