>>>Yes, it will run the IE, but Reza wants to be run with DEFAULT browser not with IE :-)
>>
>>Actually, why would it have to open in a browser, default or not? He could just open a new form with browser control in it, and have a report-web-preview
inside the app. And open a new instance of this form for every page - or a new tab on that form, whichever suits him better. So the user doesn't leave the app, which I figure creates fewer focus problems.
>
>Because Reza wants that :o)
>But I think you should suggest him that solution. This this is better, in my opinion.
Well, it's an option - and may give him more control over the browser. ShellExecute() just spawns a process, where you can only pass a few parameters and then it's gone beyond your reach, more or less. Browser control is, well, controllable :).