🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ShellExecute - IE

#16827
From: bcb
Date: Fri, 25 Apr 2003 15:33
19 lines
1486 bytes
Hi,

You can use one of IE's command line parameters, -new to tell it to open in
a new window.

ShellExecute(Handle,"open", "iexplore.exe", "-new www.av.com", NULL,
SW_NORMAL);

Its simple if you don't need all the info returned by CreateProcess.

"Mehmet" <mehmet@hotmail.com> wrote in message
news:3ea1ca4b@newsgroups.borland.com...
>         When I call an internet address via ShellExecute, address is
opening
> in opened IE window. How can I open it in a new IE window?
>
> ShellExecute (NULL,"open", "www.av.com", NULL,NULL,SW_RESTORE);
>
>
Technical Details
Message-ID: <3ea95595@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ea1ca4b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4cd242a568b4bc9c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-25 08:39:17 PST
From: "bcb" <noemail@sorry.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ea1ca4b@newsgroups.borland.com>
Subject: Re: ShellExecute - IE
Date: Fri, 25 Apr 2003 11:33:41 -0400
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 172.168.64.26
Message-ID: <3ea95595@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051284885 172.168.64.26 (25 Apr 2003 08:34:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail