Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 13th, 2007, 09:23 AM
Registered User
Join Date: Nov 2007
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="http://blip.tv/scripts/flash/showplayer.swf?autostart=false&amp;
allowfullscreen="true" id="showplayer" height="300" width="480">
<param name="movie" value="http://blip.tv/scripts/flash/showplayer.swf?autostart=false&amp;
<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.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webbrowser content vincentvdm BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 0 January 12th, 2008 10:52 AM
Build a flash web site with content from mysql timmaher Flash (all versions) 2 March 1st, 2007 08:48 PM
Sub Main makes me feel subnormal bogeybrown Beginning VB 6 6 October 11th, 2006 04:37 PM
PlaySound makes wierd noise darthziv C# 2 April 5th, 2006 02:52 AM
SQL Server 2005 webBrowser problem misterC SQL Server 2005 0 February 3rd, 2006 11:54 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.