🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Open With dialog

#3253
From: Ozan
Date: Tue, 08 Aug 2006 11:57
9 lines
1148 bytes

I want to show "openwith" dialog for unknown file types. I use shellexecute.

ShellExecute(NULL,"openas",file_name,...) like this.

But this gives error. "there is no application for given filename extension".

How can show this dialog? thanks for help.
Technical Details
Message-ID: <44d87c11$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a138a0993de9579,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ozan" <okusmen@aselsan.com.tr>
Sender: "Ozan" <okusmen@aselsan.com.tr>
Reply-To: "Ozan" <okusmen@aselsan.com.tr>
Subject: Open With dialog
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 195.142.239.2     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <44d87c11$1@newsgroups.borland.com>
Date: 8 Aug 2006 04:57:05 -0700
X-Trace: newsgroups.borland.com 1155038225 207.105.83.66 (8 Aug 2006 04:57:05 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail