vc++: navigating to a url with parameters, Shellexecute doesnt work
Posted on 2004-11-08
I have a link in my dialog which looks something like : "http://www.xyz.com?arg1=val1&arg2=val2" etc.
When I use Shellexecute it works well when the url is only "http://www.xyz.com". But when I make the get request with the parameters as in line 1, the website throws a page moved or expired page. Meanwhile when I paste the same url in the browser and go, it works fine, taking me to the next page.
I have tried using IWebbrowser2.navigate(url, null,null,null,null) also but same result. Please advise.