c# - Yahoo "White Screen" with WebBrowser object -


Microsoft. Using Net Webborder control sometimes goes to white screen Yahoo.com depends on your IE settings that is a great example of a website. I've found that by changing the Internet option in Internet Explorer, the same setting can affect the Web browser object and makes it possible to look for "Yahoo" properly for the webbrose object.

My question is, how to change the settings of Internet Explorer temporarily, and then have to change the code later? I know that there are all types of security concerns to play here. I just did not find a way to change settings for webbrowser object instance. It only works when I change security to a high world level. I might be interested to toggle the enabled protected mode bit globally if possible.

I do not care that it turns on security alerts in Vista. I mean, clearly the user must clear the program to access this type of setting.

Thank you!

- Chris.

Changing the IE security setting is not the right way; Apart from other things, units, security centers, and other things will complain, and the user will be at risk.

Instead, what you want to do is implement an IInternetSecurityManager and ask to use your web browser control. The Security Manager implemented by you will have your Procercercture Function called for each Security Decision. , And whatever results you can get (enabled / disabled / prompt) is most appropriate for your app.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -