G
Guest
i have 2 object function.
s.onSendprogress(byte_Sent , byte_Remaining)
s.SendData(Data)
how do i use application.doevents in such way that i have to make sure the
SendData function finish sending the data. I know i can check the
byte_Remaing values but i do not know whether the following is correct?
s.OnSendProgress(bytesent, byteremaining)
s.SendData(Chunk)
If byteremaining <> 0 Then
Do
Application.DoEvents()
Loop Until byteremaining = 0
End If
Does the above work? Do Application.DoEvents only affect s.SendData or both
functions?
s.onSendprogress(byte_Sent , byte_Remaining)
s.SendData(Data)
how do i use application.doevents in such way that i have to make sure the
SendData function finish sending the data. I know i can check the
byte_Remaing values but i do not know whether the following is correct?
s.OnSendProgress(bytesent, byteremaining)
s.SendData(Chunk)
If byteremaining <> 0 Then
Do
Application.DoEvents()
Loop Until byteremaining = 0
End If
Does the above work? Do Application.DoEvents only affect s.SendData or both
functions?