I seem to have a problem with GetAsynchronously
I can see it arrives in the HTTP ResponseSuccess with the correct TalkId but for some reason it does not raise the event ImageResponse_StreamFinish
Sub ImageResponse_StreamFinish (Success As Boolean, TaskId As Int)
If Success = False Then
Msgbox(LastException.Message, "Error")
Return
End If
'set the image
imgProfile.Bitmap=LoadBitmap(File.DirInternalCache, "profile.jpg")
End Sub
End when it arrives in ResponseSuccess I do:
Response.GetAsynchronously("ImageResponse", File.OpenOutput(File.DirInternalCache , "profile.png",False), True, TaskId)
Any suggestions?
I can see it arrives in the HTTP ResponseSuccess with the correct TalkId but for some reason it does not raise the event ImageResponse_StreamFinish
Sub ImageResponse_StreamFinish (Success As Boolean, TaskId As Int)
If Success = False Then
Msgbox(LastException.Message, "Error")
Return
End If
'set the image
imgProfile.Bitmap=LoadBitmap(File.DirInternalCache, "profile.jpg")
End Sub
End when it arrives in ResponseSuccess I do:
Response.GetAsynchronously("ImageResponse", File.OpenOutput(File.DirInternalCache , "profile.png",False), True, TaskId)
Any suggestions?