Asynchronous comsuming

Discussion in 'ASP .Net Web Services' started by filip stas, Jul 10, 2003.

  1. filip stas

    filip stas Guest

    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
     
    filip stas, Jul 10, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Amir

    asynchronous design

    Amir, Oct 10, 2003, in forum: VHDL
    Replies:
    3
    Views:
    609
  2. Jamie
    Replies:
    13
    Views:
    7,630
    Renaud Pacalet
    Oct 23, 2003
  3. Jamie
    Replies:
    4
    Views:
    1,039
    Thomas Stanka
    Oct 22, 2003
  4. Georges Konstantinidis

    asynchronous counter an Xilinx FPGA for a newbie

    Georges Konstantinidis, Jan 30, 2004, in forum: VHDL
    Replies:
    12
    Views:
    5,963
  5. HUANG Huan
    Replies:
    2
    Views:
    683
    Dave Higton
    Feb 24, 2004
Loading...

Share This Page