Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
.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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 13th, 2007, 09:23 AM
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="http://blip.tv/scripts/flash/showplayer.swf?autostart=false&amp;
showplayerpath=http://blip.tv/scripts/flash/showplayer.swf&amp;
file=http://blip.tv/rss/479666&amp;brandname=Rocketboom&amp;
brandlink=http://www.rocketboom.com&amp;
showguidebutton=false&amp;showsharebutton=true"
allowfullscreen="true" id="showplayer" height="300" width="480">
<param name="movie" value="http://blip.tv/scripts/flash/showplayer.swf?autostart=false&amp;
showplayerpath=http://blip.tv/scripts/flash/showplayer.swf&amp;
file=http://blip.tv/rss/479666&amp;brandname=Rocketboom&amp;
brandlink=http://www.rocketboom.com&amp;
showguidebutton=false&amp;showsharebutton=true">
<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
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.