Internet ExplorerClass Visible property not working when InternetExplorerClass is instantiated in a web serviceHello,<br>I'm trying to open a new Internet Explorer window each time a web method of a certain web service is called.<br>The window seems to be created as I can see the process iexplore.exe in the task manager, but is always invisible even if I set Visible property of InternetExplorerClass instance to true.<br>Below is the code I am using:<br><br><div style="overflow:auto;background-color:white;line-height:100% ! important;font-family:Courier New;font-size:11px"><table style="border-width:0px;margin:2px 0px;width:99%;border-collapse:collapse;background-color:rgb(255, 255, 255)" cellpadding=0 cellspacing=0><col style="font-family:Courier New;font-size:11px;padding-left:10px;white-space:nowrap"><tbody><tr><td><font style="font-size:11px"> [WebMethod] </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">    public string OpenIE() { </td></tr><tr><td>        ThreadStart <font style="color:red">ts</font><font style="font-size:11px"> = </font><font style="color:blue">delegate</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">                             { </td></tr><tr><td>                                 InternetExplorer <font style="color:red">ie</font><font style="font-size:11px"> = </font><font style="color:blue">new</font><font style="font-size:11px"> InternetExplorerClass(); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">                                 <font style="color:red">ie.Visible</font><font style="font-size:11px"> = </font><font style="color:blue">true</font><font style="font-size:11px">; </font></td></tr><tr><td>                                  </td></tr><tr><td style="background-color:rgb(247, 247, 247)">                             }; </td></tr><tr><td>        Thread <font style="color:red">t</font><font style="font-size:11px"> = </font><font style="color:blue">new</font><font style="font-size:11px"> Thread(ts); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">        t.SetApartmentState(ApartmentState.STA); </td></tr><tr><td>        t.Start(); </td></tr><tr><td style="background-color:rgb(247, 247, 247)">        t.Join(); </td></tr><tr><td>        return string.Empty; </td></tr><tr><td style="background-color:rgb(247, 247, 247)">    } </td></tr></tbody></table></div><br>The above code executes successfully and produces no exceptions.<br>Does anyone know what the problem could be?<br>Thanks<br><br> <hr class=sig>Kostas Papakonstantinou© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Feb 2009 11:11:11 Zec9422f0-6e48-4d57-b5e9-2c543a47f64dhttp://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#ec9422f0-6e48-4d57-b5e9-2c543a47f64dhttp://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#ec9422f0-6e48-4d57-b5e9-2c543a47f64dkpapahttp://social.microsoft.com/Profile/en-US/?user=kpapaInternet ExplorerClass Visible property not working when InternetExplorerClass is instantiated in a web serviceHello,<br>I'm trying to open a new Internet Explorer window each time a web method of a certain web service is called.<br>The window seems to be created as I can see the process iexplore.exe in the task manager, but is always invisible even if I set Visible property of InternetExplorerClass instance to true.<br>Below is the code I am using:<br><br><div style="overflow:auto;background-color:white;line-height:100% ! important;font-family:Courier New;font-size:11px"><table style="border-width:0px;margin:2px 0px;width:99%;border-collapse:collapse;background-color:rgb(255, 255, 255)" cellpadding=0 cellspacing=0><col style="font-family:Courier New;font-size:11px;padding-left:10px;white-space:nowrap"><tbody><tr><td><font style="font-size:11px"> [WebMethod] </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">    public string OpenIE() { </td></tr><tr><td>        ThreadStart <font style="color:red">ts</font><font style="font-size:11px"> = </font><font style="color:blue">delegate</font><font style="font-size:11px"> </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">                             { </td></tr><tr><td>                                 InternetExplorer <font style="color:red">ie</font><font style="font-size:11px"> = </font><font style="color:blue">new</font><font style="font-size:11px"> InternetExplorerClass(); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">                                 <font style="color:red">ie.Visible</font><font style="font-size:11px"> = </font><font style="color:blue">true</font><font style="font-size:11px">; </font></td></tr><tr><td>                                  </td></tr><tr><td style="background-color:rgb(247, 247, 247)">                             }; </td></tr><tr><td>        Thread <font style="color:red">t</font><font style="font-size:11px"> = </font><font style="color:blue">new</font><font style="font-size:11px"> Thread(ts); </font></td></tr><tr><td style="background-color:rgb(247, 247, 247)">        t.SetApartmentState(ApartmentState.STA); </td></tr><tr><td>        t.Start(); </td></tr><tr><td style="background-color:rgb(247, 247, 247)">        t.Join(); </td></tr><tr><td>        return string.Empty; </td></tr><tr><td style="background-color:rgb(247, 247, 247)">    } </td></tr></tbody></table></div><br>The above code executes successfully and produces no exceptions.<br>Does anyone know what the problem could be?<br>Thanks<br><br> <hr class=sig>Kostas PapakonstantinouWed, 17 Dec 2008 11:07:29 Z2008-12-17T11:08:18Zhttp://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#601aa40e-80dd-4d8c-9b32-fb11ff12b661http://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#601aa40e-80dd-4d8c-9b32-fb11ff12b661Edgar A Olougounahttp://social.microsoft.com/Profile/en-US/?user=Edgar%20A%20OlougounaInternet ExplorerClass Visible property not working when InternetExplorerClass is instantiated in a web serviceHi, <p>This forum is to support questions on Open Specifications.<br><br>There are very helpful communities of IE development on the MSDN forums that may be able to assist you with your solution. I suggest you consider posting your question in one of these forums:<br><br>Internet Explorer Development<br><a href="http://social.msdn.microsoft.com/Forums/en-US/category/iedevelopment/">http://social.msdn.microsoft.com/Forums/en-US/category/iedevelopment/</a><br><br>You should also search the forums in case someone has already asked a similar question.<br><br>MSDN forums<br><a href="http://social.msdn.microsoft.com/Forums/en-US/categories/"><font color="#0072bc">http://social.msdn.microsoft.com/Forums/en-US/categories/</font></a><br><br>TechNet forums<br><a href="http://forums.microsoft.com/TechNet/default.aspx?Site"><font color="#0072bc">http://forums.microsoft.com/TechNet/default.aspx?SiteID=17</font></a><br><br>Microsoft Newsgroups<br><a href="http://www.microsoft.com/communities/newsgroups/en-us/default.aspx"><font color="#0072bc">http://www.microsoft.com/communities/newsgroups/en-us/default.aspx</font></a></p> <p>Regards,<br>Edgar<br></p>Wed, 17 Dec 2008 16:40:13 Z2008-12-17T22:37:40Zhttp://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#02d3ea39-96f2-4ee6-a25e-b0acb1062153http://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#02d3ea39-96f2-4ee6-a25e-b0acb1062153Irritated Userhttp://social.microsoft.com/Profile/en-US/?user=Irritated%20UserInternet ExplorerClass Visible property not working when InternetExplorerClass is instantiated in a web service Maybe you can help me and email me at <a href="mailto:husker5625@aol.com">husker5625@aol.com</a>. I have had problems with connection problems ever since I downloaded one care. They dont respond and it is very hard to get help from them. I liked the product at first because it got rid of any virus, but now I have 2 computers less than a year old that are having hard drive problems and are linked to the compatibility of internet explorer and windows live one care. I am so frustrated because I purchased this stupid program. Thank you.<br><br>DanMon, 05 Jan 2009 19:09:40 Z2009-01-05T19:09:40Zhttp://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#4969f557-7bae-4f93-a173-0b6b71f7a107http://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#4969f557-7bae-4f93-a173-0b6b71f7a107Bill Wesse MSFThttp://social.microsoft.com/Profile/en-US/?user=Bill%20Wesse%20MSFTInternet ExplorerClass Visible property not working when InternetExplorerClass is instantiated in a web service Dan - I did significant searching concerning the problem you reported, but found nothing.<br><br>I apologize that my team can not help you with this problem (most importantly, we don't have expertise on One Care). So, I recommend posting at one of the below sites - especially the One Care Site.<br><br>Windows One Care<br><a href="http://forums.microsoft.com/WindowsOneCare/">http://forums.microsoft.com/WindowsOneCare/</a><br><br>Internet Explorer Web Development<br><a href="http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads/">http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads/</a><br><br><br>If all else fails, a call to technical support may be of help to you.<br> <ul> <li>Help &amp; Support Home' at <a class=externalLink href="http://support.microsoft.com/" rel=nofollow>http://support.microsoft.com/</a> (there are 'Self Support Options' available on this page). <li>'Select a Product for Assistance' at <a class=externalLink href="http://support.microsoft.com/gp/assistsupport" rel=nofollow>http://support.microsoft.com/gp/assistsupport</a> <li>The Microsoft Knowledge Base at <a class=externalLink href="http://support.microsoft.com/search/" rel=nofollow>http://support.microsoft.com/search/</a> </li></ul><br>Regards,<br>Bill Wesse<br>MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM<br><hr class="sig">Escalation EngineerMon, 19 Jan 2009 17:07:29 Z2009-01-19T17:07:29Zhttp://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#699f9d46-1fd0-42f6-b301-566dc259d5e9http://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#699f9d46-1fd0-42f6-b301-566dc259d5e9ranjith6833112http://social.microsoft.com/Profile/en-US/?user=ranjith6833112Internet ExplorerClass Visible property not working when InternetExplorerClass is instantiated in a web service ranjith<br>Wed, 25 Feb 2009 08:26:18 Z2009-02-25T08:26:18Zhttp://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#bce0f119-64d4-4e9e-89a2-1c41c97c0d8fhttp://social.microsoft.com/Forums/en-US/interopconversations/thread/ec9422f0-6e48-4d57-b5e9-2c543a47f64d#bce0f119-64d4-4e9e-89a2-1c41c97c0d8fBill Wesse MSFThttp://social.microsoft.com/Profile/en-US/?user=Bill%20Wesse%20MSFTInternet ExplorerClass Visible property not working when InternetExplorerClass is instantiated in a web service Hi Ranjith - did you post without content accidentally? Since this thread was started by kpapa, please submit a new post with your questions.<br><br>Regards,<br>Bill Wesse<br>MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM<br><hr class="sig">Escalation EngineerWed, 25 Feb 2009 11:11:02 Z2009-02-25T11:11:02Z