Internet ExplorerClass Visible property not working when InternetExplorerClass is instantiated in a web service
- Hello,
I'm trying to open a new Internet Explorer window each time a web method of a certain web service is called.
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.
Below is the code I am using:[WebMethod] public string OpenIE() { ThreadStart ts = delegate { InternetExplorer ie = new InternetExplorerClass(); ie.Visible = true; }; Thread t = new Thread(ts); t.SetApartmentState(ApartmentState.STA); t.Start(); t.Join(); return string.Empty; }
The above code executes successfully and produces no exceptions.
Does anyone know what the problem could be?
Thanks
Kostas Papakonstantinou
答案
- Hi,
This forum is to support questions on Open Specifications.
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:
Internet Explorer Development
http://social.msdn.microsoft.com/Forums/en-US/category/iedevelopment/
You should also search the forums in case someone has already asked a similar question.
MSDN forums
http://social.msdn.microsoft.com/Forums/en-US/categories/
TechNet forums
http://forums.microsoft.com/TechNet/default.aspx?SiteID=17
Microsoft Newsgroups
http://www.microsoft.com/communities/newsgroups/en-us/default.aspxRegards,
Edgar- 已标记为答案Alex MorrillMSFT, 版主2008年12月17日 22:37
- 已编辑Alex MorrillMSFT, 版主2008年12月17日 22:37removed Windows ref. - forum is for general interoperability
- Dan - I did significant searching concerning the problem you reported, but found nothing.
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.
Windows One Care
http://forums.microsoft.com/WindowsOneCare/
Internet Explorer Web Development
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads/
If all else fails, a call to technical support may be of help to you.
- Help & Support Home' at http://support.microsoft.com/ (there are 'Self Support Options' available on this page).
- 'Select a Product for Assistance' at http://support.microsoft.com/gp/assistsupport
- The Microsoft Knowledge Base at http://support.microsoft.com/search/
Regards,
Bill Wesse
MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
Escalation Engineer- 已标记为答案Alex MorrillMSFT, 版主2009年1月22日 22:31
- 已建议为答案Bill Wesse MSFT版主2009年1月19日 17:07
- Hi Ranjith - did you post without content accidentally? Since this thread was started by kpapa, please submit a new post with your questions.
Regards,
Bill Wesse
MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
Escalation Engineer- 已标记为答案Bill Wesse MSFT版主2009年2月25日 11:11
全部回复
- Hi,
This forum is to support questions on Open Specifications.
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:
Internet Explorer Development
http://social.msdn.microsoft.com/Forums/en-US/category/iedevelopment/
You should also search the forums in case someone has already asked a similar question.
MSDN forums
http://social.msdn.microsoft.com/Forums/en-US/categories/
TechNet forums
http://forums.microsoft.com/TechNet/default.aspx?SiteID=17
Microsoft Newsgroups
http://www.microsoft.com/communities/newsgroups/en-us/default.aspxRegards,
Edgar- 已标记为答案Alex MorrillMSFT, 版主2008年12月17日 22:37
- 已编辑Alex MorrillMSFT, 版主2008年12月17日 22:37removed Windows ref. - forum is for general interoperability
- Maybe you can help me and email me at husker5625@aol.com. 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.
Dan - Dan - I did significant searching concerning the problem you reported, but found nothing.
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.
Windows One Care
http://forums.microsoft.com/WindowsOneCare/
Internet Explorer Web Development
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/threads/
If all else fails, a call to technical support may be of help to you.
- Help & Support Home' at http://support.microsoft.com/ (there are 'Self Support Options' available on this page).
- 'Select a Product for Assistance' at http://support.microsoft.com/gp/assistsupport
- The Microsoft Knowledge Base at http://support.microsoft.com/search/
Regards,
Bill Wesse
MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
Escalation Engineer- 已标记为答案Alex MorrillMSFT, 版主2009年1月22日 22:31
- 已建议为答案Bill Wesse MSFT版主2009年1月19日 17:07
- ranjith
- Hi Ranjith - did you post without content accidentally? Since this thread was started by kpapa, please submit a new post with your questions.
Regards,
Bill Wesse
MCSE, MCTS / Senior Escalation Engineer, US-CSS DSC PROTOCOL TEAM
Escalation Engineer- 已标记为答案Bill Wesse MSFT版主2009年2月25日 11:11

