I have the same problem. The winsock control works fine in Jabaco runtime, but when compiled as HTML+Jar, it doesnot connect in web browser. Any help would be appreciated...
Here is my code...
Dim stConn As String
Public Sub Command1_Click()
Dim stParam As String
stParam="s=MSFT&e=%2ecsv&f=sl1d1t1c1ohgv"
stConn="POST /d/quotes.csv HTTP/1.0" & vbCrLf
stConn=stConn & "Host: download.finance.yahoo.com" & vbCrLf
stConn=stConn & "Content-Type: application/x-www-form-urlencoded" & vbCrLf
stConn=stConn & "Content-Length: " & Len(stParam) & vbCrLf & vbCrLf
stConn=stConn & stParam
MsgBox wsc.State
Applet1.wsc.Connect "download.finance.yahoo.com",80
MsgBox wsc.State
'wsc.Connect "http://finance.yahoo.com/rss/headline?s=yhoo,msft,tivo
End Sub
Public Sub wsc_Connect()
MsgBox "cONN"
applet1.wsc.SendData stconn
End Sub
Public Sub wsc_DataArrival(bytesTotal As Long)
'Debug.Print Applet1.wsc.GetData
MsgBox Applet1.wsc.GetData
End Sub