🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #823

Bad ShellExecute for new

#823
From: Artaud
Date: Wed, 08 Feb 2006 00:50
14 lines
1539 bytes
Hello,
I try to open an html file wiith the shellExecute method but I obtain 
nothing.
This is my code:
//----------------------------
AnsiString chem;
chem=ExtractFilePath(Application->ExeName)+"aide\\sommaire.html";
ShellExecute(0,"open",chem.c_str(),NULL,NULL,SW_SHOWNORMAL);
//------------------------------------------------------------
and when I click directly on the file it opens IE correctly
the folder "aide " is in the running directory
Could you help me please?Is tere another way?Where must I look?
I thank you very much
Patrick 
Technical Details
Message-ID: <43e93f94$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!easynet-quince!easynet.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,5cff43ecf81dd1ac,start
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Artaud" <patrick_artaud@aidealadecision.com>
From: "Artaud" <artaud.patrick@wanadoo.fr>
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Bad ShellExecute for new
Date: Wed, 8 Feb 2006 01:50:55 +0100
Lines: 16
Organization: Optisoft
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.228.58.174
Message-ID: <43e93f94$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1139359636 82.228.58.174 (7 Feb 2006 16:47:16 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!proxad.net!easynet-quince!easynet.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail