Hi,
I am currently driving myself mad with this one. I have a VS add-in
that has embedded in it a WebBrowser control that is running Java
applets (well actually a WebBrowser control inside anther control
inside the addin). The problem is, is that every time the Java applet
tries to run I get the "To help protect your security,.... Click here
for options" and then I have to manually Allow Blocked Content.
Now here is the thing. I open up the same control in a tstcon32
session and all is fine. I open the same page (with embedded Java
applet) in a normal IE and all is fine. As soon as the control sits
in msdev, it prompts for the security.
I have also tried using the http://www.codeproject.com/useritems/csEXWB.asp
to get a hold on ProcessUrlAction - I've tried running ALLOW for the
url in question but the behavior is to bring up a different security
banner which doesn't give you the option to allow blocked content.
I've also set the options/Environment/Add-in/Macros Security in the
msdev options to allow anything.
Does anyone know how to solve this?
Those little things that eat up days!
Daniel
Daniel - 28 Mar 2007 16:04 GMT
Hah.
We finally fixed it. Turns out it was to do with the html embedding
the applet. We put in the "<!-- saved from url " tag and got rid of
the "codebase=" attribute and it now works.
Blimey.
Daniel