Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have following code in C# to open particular report in Report Builder 3.0

string createUrl = http://"server"/"site"/reportserver/reportbuilder/ReportBuilder_3_0_0_0.application?ReportPath="path to my report";

object o = null;
SHDocVw.InternetExplorer ie = new SHDocVw.InternetExplorer();
IWebBrowserApp wb = (IWebBrowserApp)ie;
wb.Visible = true;
wb.Navigate(createUrl, ref o, ref o, ref o, ref o);


this is working fine in windows 7 and 8 with IE10 where IE tab opens then it automatically navigates to given URL and then IE tab closes instantly and report is opening successfully

while in windows 8.1 with IE 11 report is opening successfully but Blank IE tab remains open in background.

can anybody please tell me what can be the possible configuration i have to do to resolve this issue without changing any code.

i don't want to use wb.Quit(); at the end to close browser tab because it is working fine in win 7 & 8.
Posted
Updated 3-Jun-15 1:51am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900