F
filip stas
Doesn't asynchronous consuming of a webservice work with asp.net ?
i have following code
Private Sub LinkButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LinkButton1.Click
Dim cb As New AsyncCallback(AddressOf CBSmsSendfunction)
Dim header As New localhost.SMSheader
With header
..send_kopie = copy_send.Text
..show_status = display_status.Checked
..use_flash = use_flash.Checked
End With
sms.SMSheaderValue = header
sms.BeginSend(Textbox2.Text, TextBox1.Text, Textbox3.Text, u.GebruikerID, cb, 0)
Label1.Text = "Bezig met verzenden ..."
End Sub
Sub CBSmsSendfunction(ByVal res As IAsyncResult)
Label1.Text = sms.EndSend(res)
End Sub
i have following code
Private Sub LinkButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LinkButton1.Click
Dim cb As New AsyncCallback(AddressOf CBSmsSendfunction)
Dim header As New localhost.SMSheader
With header
..send_kopie = copy_send.Text
..show_status = display_status.Checked
..use_flash = use_flash.Checked
End With
sms.SMSheaderValue = header
sms.BeginSend(Textbox2.Text, TextBox1.Text, Textbox3.Text, u.GebruikerID, cb, 0)
Label1.Text = "Bezig met verzenden ..."
End Sub
Sub CBSmsSendfunction(ByVal res As IAsyncResult)
Label1.Text = sms.EndSend(res)
End Sub