I've written a program that is supposed to show information from a number of different URLs simultaneously. I do this by calling:-
This call is inside a loop which replaces szURL with a different address each time. Sure enough, IE pops up, but only the last address used in the call is shown.Code:ShellExecute(hwnd, NULL, szURL, NULL, NULL, SW_SHOW);
It seems that each call is being sent out to the single window IE has created, whereas I want each call to open a new window. Seeing as you can't have parameters when opening documents the only way I can see this working is to hard-code IE usage (Refer directly to iexplore.exe), although I would prefer it to work for any browser. Any ideas?