Article View: borland.public.cppbuilder.internet.web
Article #824Re: Bad ShellExecute for new
From: Remy Lebeau (TeamB)
Date: Wed, 08 Feb 2006 02:35
Date: Wed, 08 Feb 2006 02:35
20 lines
1434 bytes
1434 bytes
"Artaud" <artaud.patrick@wanadoo.fr> wrote in message news:43e93f94$1@newsgroups.borland.com... > I try to open an html file wiith the shellExecute method but I obtain > nothing. What is the return value of ShellExecute()? What is the return value of GetLastError()? > 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 Did you verify in the Registry that the "open" verb is actually registered for the ".htm" file extension? Gambit
Technical Details
Message-ID:
<43e958f5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<43e93f94$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,5cff43ecf81dd1ac X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <43e93f94$1@newsgroups.borland.com> Subject: Re: Bad ShellExecute for new Date: Tue, 7 Feb 2006 18:35:33 -0800 Lines: 22 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: <43e958f5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1139366133 68.69.17.41 (7 Feb 2006 18:35:33 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail