Click here to Skip to main content
15,896,153 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOpening URL in default browser Pin
mariuszpopiolek25-Nov-02 3:30
mariuszpopiolek25-Nov-02 3:30 
GeneralRe: Opening URL in default browser Pin
dabs25-Nov-02 3:45
dabs25-Nov-02 3:45 
GeneralRe: Opening URL in default browser Pin
mariuszpopiolek25-Nov-02 4:09
mariuszpopiolek25-Nov-02 4:09 
GeneralRe: Opening URL in default browser Pin
Roman Fadeyev25-Nov-02 3:59
Roman Fadeyev25-Nov-02 3:59 
GeneralRe: Opening URL in default browser Pin
mariuszpopiolek25-Nov-02 4:11
mariuszpopiolek25-Nov-02 4:11 
GeneralRe: Opening URL in default browser Pin
Stephane Rodriguez.25-Nov-02 6:34
Stephane Rodriguez.25-Nov-02 6:34 
GeneralRe: Opening URL in default browser Pin
mariuszpopiolek25-Nov-02 8:28
mariuszpopiolek25-Nov-02 8:28 
GeneralRe: Opening URL in default browser Pin
Stephane Rodriguez.25-Nov-02 8:53
Stephane Rodriguez.25-Nov-02 8:53 
mariuszpopiolek wrote:
I tried to find (via search option) verb opennew in MSDN, but I haven't found anything connected with shellexecute

Open the windows explorer \ tools \ folder options \ file types. Then find the .HTML filetype, and click on Advanced. This should open the file association window with the list of known verbs for the .HTML extension. And there you should find open and opennew.

That's how things work underneath.

The assumption for the use of these verbs is you know the file extension of the url. If you don't, this won't work as expected.

You also have another solution : start a new default iexplore.exe instance (createprocess). Wait this process is running. Then do the ::ShellExecute. The document will open on the newly created process.
GeneralRe: Opening URL in default browser Pin
mariuszpopiolek25-Nov-02 9:26
mariuszpopiolek25-Nov-02 9:26 
GeneralTile childwindow Pin
isCode25-Nov-02 3:06
isCode25-Nov-02 3:06 
GeneralRe: Tile childwindow Pin
Mike Nordell25-Nov-02 11:46
Mike Nordell25-Nov-02 11:46 
GeneralRe: Tile childwindow Pin
Cactus266-Sep-23 4:27
Cactus266-Sep-23 4:27 
GeneralC++.net book Pin
E. Bonizzoni25-Nov-02 2:58
E. Bonizzoni25-Nov-02 2:58 
GeneralRe: C++.net book Pin
Christian Graus25-Nov-02 11:12
protectorChristian Graus25-Nov-02 11:12 
QuestionFixed Button in a listbox (client control)? Pin
Anonymous25-Nov-02 2:27
Anonymous25-Nov-02 2:27 
AnswerRe: Fixed Button in a listbox (client control)? Pin
dabs25-Nov-02 3:53
dabs25-Nov-02 3:53 
GeneralRe: Fixed Button in a listbox (client control)? Pin
Anonymous25-Nov-02 4:29
Anonymous25-Nov-02 4:29 
GeneralCaching and Data Structures Pin
Heath Stewart25-Nov-02 2:25
protectorHeath Stewart25-Nov-02 2:25 
GeneralRe: Caching and Data Structures Pin
Not Active25-Nov-02 2:36
mentorNot Active25-Nov-02 2:36 
GeneralAbout image editing Pin
Chanda.com25-Nov-02 2:23
Chanda.com25-Nov-02 2:23 
GeneralInstaller Modules Pin
Blade[DMS]25-Nov-02 1:53
Blade[DMS]25-Nov-02 1:53 
GeneralAny free zip/unzip library... Pin
Nish Nishant25-Nov-02 0:23
sitebuilderNish Nishant25-Nov-02 0:23 
GeneralRe: Any free zip/unzip library... Pin
Vasudevan Deepak Kumar25-Nov-02 0:45
Vasudevan Deepak Kumar25-Nov-02 0:45 
GeneralRe: Any free zip/unzip library... Pin
Christian Graus25-Nov-02 1:25
protectorChristian Graus25-Nov-02 1:25 
GeneralRe: Any free zip/unzip library... Pin
Gero Gerber25-Nov-02 1:59
Gero Gerber25-Nov-02 1:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.