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일 수요일 오후 10:37
- 편집됨Alex MorrillMSFT, 중재자2008년 12월 17일 수요일 오후 10: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일 목요일 오후 10:31
- 답변으로 제안됨Bill Wesse MSFT중재자2009년 1월 19일 월요일 오후 5: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일 수요일 오후 10:37
- 편집됨Alex MorrillMSFT, 중재자2008년 12월 17일 수요일 오후 10: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일 목요일 오후 10:31
- 답변으로 제안됨Bill Wesse MSFT중재자2009년 1월 19일 월요일 오후 5: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

