I am having problems interacting with flash objects (i.e., Adobe Flash Player
9) in web pages when using a System.Windows. Forms.WebBrowse r control. The
flash objects always seem to display correctly, but when I click on a link
within the flash object the WebBrowser often fails to navigate to the new
page. If I use IE6 (from outside by app) or an AxSHDocVw.AxWeb Browser
control (within my app) then everything works as expected.
You can try this out by creating an app with the following code:
Public Class Form1
Public Sub New()
InitializeCompo nent()
Me.Size = New Drawing.Size(60 0, 600)
Dim wb As New System.Windows. Forms.WebBrowse r
wb.Dock = DockStyle.Fill
wb.Url = New System.Uri("htt p://www.falcon-nw.com/")
Me.Controls.Add (wb)
End Sub
End Class
On the web site that opens I can normally navigate to one of the links
(e.g., “WHAT’S NEW”). After that the page usually won’t navigate to any of
the other links.
Note that using the AxWebBrowser control would be acceptable if I could
reproduce several of the methods, properties and events that are exposed by
the WebBrowser, such as DocumentText, ShowPageSetupDi alog, and NewWindow
(among others).
Thanks for any help!
Lance