[quote name='ratha' timestamp='1306477757' post='4816317']
[quote name='wqking' timestamp='1306477365' post='4816315']
Damn, forgot the very heavy libraries I said.
To open URL in default browser, try Win API ShellExecuteEx
I will do all your need.
Here is some example
I've already tried this. But I got the following error:
APPLICATION ERROR:
This error has occurred for one of the following reasons:
(i) You have kept the browser window idle for a long time. Your session has expired.
(ii) You have logged in from another browser window.
(iii) You are accessing the application URL from a saved or static page.
If I use,
CWebBrowser2::Navigate()
the same URL opens fine but not opening without IE. What else to do?
[/quote]
That error looks an awful lot like something the website is telling you, not your system at any level. I have a sneaking suspicion that whatever website you're trying to direct to has issues with browsers that are not Internet Explorer. Can you access the site fine without code? Simply going to the URL in your browser of choice that is not IE?
[/quote]
No. I can't access even with IE directly. It runs based on a session. How to open a URL that is based on a session with ShellExecute or is there any other way to open a URL that is based on a Session?