🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Start and stop application

#8050
From: Sam S. Firouz
Date: Fri, 26 Nov 2004 17:34
19 lines
1503 bytes
use API call ShellExecute like this:
ShellExecute(Handle, "open", Your_File_Path, NULL, NULL, SW_SHOWNORMAL);

Sam

"Alexander Aliev" <ali@isa.ru> wrote in message
news:41a74000@newsgroups.borland.com...
> Mark,
>
> your code works but it is not exactly what I need.
> I'd like to know a regular way how to find out associated
> application for ANY extension.
>
> For example, I face the same problem for .xls files.
>
> Regards,
> Alexander
>
>
Technical Details
Message-ID: <41a768e3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41a713ab@newsgroups.borland.com> <41a72ef0@newsgroups.borland.com> <41a74000@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,44eef0c11b4047c0
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Sam S. Firouz" <sfirouz@Hotmail.com>
From: "Sam S. Firouz" <sfirouz@Hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41a713ab@newsgroups.borland.com> <41a72ef0@newsgroups.borland.com> <41a74000@newsgroups.borland.com>
Subject: Re: Start and stop application
Date: Fri, 26 Nov 2004 12:34:35 -0500
Lines: 21
Organization: P.T.F.S.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 132.250.186.165
Message-ID: <41a768e3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101490403 132.250.186.165 (26 Nov 2004 09:33:23 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail