Article View: borland.public.cppbuilder.internet.web
Article #89Re: calling default browser on windows
From: Remy Lebeau (TeamB)
Date: Fri, 27 Apr 2007 16:23
Date: Fri, 27 Apr 2007 16:23
16 lines
1244 bytes
1244 bytes
"Daniel F" <nopam@spamIsEvil.com> wrote in message
news:4631c649$1@newsgroups.borland.com...
> Should have searched the newsgroups before posted hehe.. sry
>
> char *msg = " start http://www.cnn.com";
> system(msg);
Use the Win32 API ShellExecute() function instead:
ShellExecute(NULL, "open", "http://www.cnn.com", NULL, NULL,
SW_SHOWNORMAL);
Gambit
Technical Details
Message-ID:
<46322394$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4631c336$1@newsgroups.borland.com> <4631c649$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,a6e9d3cf6054e910 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: <4631c336$1@newsgroups.borland.com> <4631c649$1@newsgroups.borland.com> Subject: Re: calling default browser on windows Date: Fri, 27 Apr 2007 09:23:32 -0700 Lines: 18 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: 75.82.60.244 Message-ID: <46322394$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1177691028 75.82.60.244 (27 Apr 2007 09:23:48 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail