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
Odpovědi
- 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- Označen jako odpověďAlex MorrillMSFT, Moderátor17. prosince 2008 22:37
- UpravenýAlex MorrillMSFT, Moderátor17. prosince 2008 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- Označen jako odpověďAlex MorrillMSFT, Moderátor22. ledna 2009 22:31
- Navržen jako odpověďBill Wesse MSFTModerátor19. ledna 2009 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- Označen jako odpověďBill Wesse MSFTModerátor25. února 2009 11:11
Všechny reakce
- 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- Označen jako odpověďAlex MorrillMSFT, Moderátor17. prosince 2008 22:37
- UpravenýAlex MorrillMSFT, Moderátor17. prosince 2008 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- Označen jako odpověďAlex MorrillMSFT, Moderátor22. ledna 2009 22:31
- Navržen jako odpověďBill Wesse MSFTModerátor19. ledna 2009 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- Označen jako odpověďBill Wesse MSFTModerátor25. února 2009 11:11

