🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CreateProcess question

#4464
From: Remy Lebeau (TeamB)
Date: Fri, 27 Jan 2006 18:19
13 lines
1348 bytes
"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: <43da63a0$6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.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>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,33673318d7ab5f9b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43d9f601$1@newsgroups.borland.com>
Subject: Re: CreateProcess question
Date: Fri, 27 Jan 2006 10:19:03 -0800
Lines: 16
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: 68.69.17.41
Message-ID: <43da63a0$6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138385824 68.69.17.41 (27 Jan 2006 10:17:04 -0700)
Path: arc1-ca.pugleaf.net!g2news1.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