Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Sat, 15 Mar 2008 10:58:08 +0100,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


webbrowser control doesn't work with a radio site (VB6)   
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
date: Sat, 15 Mar 2008 10:58:08 +0100   author:   Linus Schroeder

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us