View Single Post
  #1 (permalink)  
Old November 13th, 2007, 09:23 AM
nina_garacha nina_garacha is offline
Registered User
Join Date: Nov 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Flash content in WebBrowser makes a problem

Hi all,

I'm currently developping a .netcf 2.0 application(Rss feed reader) for wm 6.0 devices.

I've embedded a webbrowser control within a form but it seams I have one problem with it when HTML (got from feed) that is to be displayed contains flash content, such as:

<object type="application/x-shockwave-flash" data=";
allowfullscreen="true" id="showplayer" height="300" width="480">
<param name="movie" value=";
<param name="allowScriptAccess" value="always">
</object><br style="clear: both;" /><br />

So, when the form with WebBrowser is to be shown with the stated content, the "Security dialog form" arises, due to security settings in the Internet Explorer with an information that some content cannot be displayed. This form also contains an OK Button, CheckBox with "Do not show this message again" text and Minimize ControlBox on the right side of the caption bar. When I click OK button, or check the check box, everything's fine, but if I (read a potential user) click on the Minimize box, Security dialog form hides, and hides the WebBrowser form too. After few openinigs (creation/show) of the Webbrowser form with unsecure content, and following arisings of the Security dialog form which I minimize, I get the StackOverflow Exception.

Is there any known workaround for this problem, except changing the security settings in the Internet Explorer, which will totally disable arising of security form.

Thanks in advance.

Reply With Quote