🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CreateProcess question

#4465
From: David Ayre
Date: Fri, 27 Jan 2006 18:28
25 lines
1550 bytes
Thanks both of you. ShellExecute() works fine.

Cheers,

David


"Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> wrote:
>
>"David Ayre" <davidcayre@ntlworld.com> wrote in message
>news:43d9f601$1@newsgroups.borland.com...
>
>> I want to start WinWord.exe from my application and display an rtf file.
>> Could someone tell me how this can be done. I know the path to the file
>> I want to display, but not the path to WinWord.
>
>Use ShellExecute() instead.  When passed just a filename, the default viewer
>for the file type is launched automatically.
>
>
>Gambit
>
>
>
Technical Details
Message-ID: <43da746f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43d9f601$1@newsgroups.borland.com> <43da63a0$6@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,33673318d7ab5f9b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "David Ayre" <davidcayre@ntlworld.com>
Sender: "David Ayre" <davidcayre@ntlworld.com>
Reply-To: "David Ayre" <davidcayre@ntlworld.com>
Subject: Re: CreateProcess question
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 62.252.224.18     
X-Forwarded-For: 82.24.203.202
References: <43d9f601$1@newsgroups.borland.com> <43da63a0$6@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <43da746f$1@newsgroups.borland.com>
Date: 27 Jan 2006 11:28:47 -0700
X-Trace: newsgroups.borland.com 1138390127 207.105.83.66 (27 Jan 2006 11:28:47 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail