🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CreateProcess question

#4463
From: Ed Mulroy
Date: Fri, 27 Jan 2006 16:25
25 lines
1907 bytes
Either of ShellExecute or ShellExecuteEx should be able to do that.

http://tinyurl.com/6ul68
http://tinyurl.com/dnba2

Or, if for some reason you don't want to use them, then FindExecutable 
should get you the path to WinWord

http://tinyurl.com/c73en

the above links in their long form

http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shellexecute.asp
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shellexecuteex.asp
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/findexecutable.asp

.  Ed

> David Ayre 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.
> Any suggestions would be welcome.
Technical Details
Message-ID: <43da48b2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.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: "Ed Mulroy" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43d9f601$1@newsgroups.borland.com>
Subject: Re: CreateProcess question
Date: Fri, 27 Jan 2006 11:25:16 -0500
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 66.57.117.102
Message-ID: <43da48b2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138378930 66.57.117.102 (27 Jan 2006 08:22:10 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.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