Article View: borland.public.cppbuilder.nativeapi
Article #12973Re: Executing file with API
From: Bob Gonder
Date: Sat, 01 Nov 2003 16:28
Date: Sat, 01 Nov 2003 16:28
22 lines
1555 bytes
1555 bytes
Nightshade wrote: >I want to start an html and I used WinExec with this command line >"start c:\myfolder\mywebpage.html" Works better with double slashes "\\" >ExecInfo.lpVerb = "open"; >ExecInfo.lpFile = "start"; No, the page is the file. ExecInfo.lpFile = htmlfilename.c_str(); ExecInfo.lpDirectory = //set this to the directory portion of the file name. >ExecInfo.lpParameters = htmlfilename.c_str(); Don't use >ExecInfo.nShow = SW_HIDE; Do you want to see the page or not? >if(!ShellExecuteEx(&ExecInfo))
Technical Details
Message-ID:
<1an7qv47ic0ci1gk5b3h6pefovf4254bkg@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<pan.2003.11.01.15.08.48.891099@tiscalinet.it>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f690616b7b87a8b6 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-01 08:36:25 PST From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Executing file with API Date: Sat, 01 Nov 2003 08:28:39 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <1an7qv47ic0ci1gk5b3h6pefovf4254bkg@4ax.com> References: <pan.2003.11.01.15.08.48.891099@tiscalinet.it> X-Newsreader: Forte Agent 1.91/32.564 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.31.165.177 X-Trace: newsgroups.borland.com 1067704125 67.31.165.177 (1 Nov 2003 08:28:45 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail