webbrowser control doesn't work with a radio site (VB6)
- From: " Linus Schroeder" <nix@xxxxx>
- Date: Sat, 15 Mar 2008 10:58:08 +0100
Hi all,
I use the wb control with VB 6. Basically things are working well, but
with http://www.jango.com it doesn't play the radio. Looks like some
scripts do not work correctly. Does anybody have an idea what to do? I'd
be happy for any suggestion.
Thanks Linus
P.S. For those who like to reproduce this problem: Place a text box
named txtURL and a webbrowser control named objBrowser on the form and
place the code below in the form's code area. When the program runs
enter a return into the text box to make the webbrowser control visit
the site.
Private Sub Form_Load()
objBrowser.Navigate "about:blank", , , , "Accept: */*" & vbCrLf
txtURL = "http://www.jango.com"
End Sub
Private Sub Form_Resize()
txtURL.Move 0, 0, ScaleWidth
objBrowser.Move 0, txtURL.Height, ScaleWidth, ScaleHeight -
txtURL.Height
End Sub
Private Sub txtURL_KeyPress(KeyAscii As Integer)
If KeyAscii = VK_RETURN Then
KeyAscii = 0
objBrowser.Navigate txtURL
End If
End Sub
.
- Prev by Date: Toggle IE toolbar button image
- Next by Date: BHO Script call fails on IE7 Vista (0x80020006)
- Previous by thread: Toggle IE toolbar button image
- Next by thread: BHO Script call fails on IE7 Vista (0x80020006)
- Index(es):