Dart Home | PowerTCP Web Enterprise for ActiveX | Custom Development | Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
Author | Forum: PowerTCP Web Enterprise for ActiveX Topic: Non blocking method in VB.NET |
drpepper71 From: newcastle, Australia Posts: 1 Member Since: 02/25/04 |
posted February 25, 2004 8:32 AM I can't seem to access downloaded data using a non-blocking method in VB.NET (blocking method works fine) I've adapted the code from the example (see below) and I know the request is successful because the trace file shows the downloaded data but DownloadResponse is null Private Sub RequestWatchList() ' Set up non-blocking method myAxWebASP.Timeout = 0 myAxWebASP.Request.Url = "http://www.site.com/page.html" AddHandler myAxWebASP.Progress, AddressOf myAxWebASP_Progress myAx WebASP.Get() End Sub Private Sub MyAxWebASP_Progress(ByVal sender As Object, ByVal e As AxDartWebASP._IWebASPEvents_ProgressEvent) ' Check to see if GET completed ok and display text when it does If e.method = webGet And e.status = webOk Then Dim DownloadResponse As String = myAxWebASP.Response.Body.ReadString MsgBox(DownloadResponse) End If End Sub |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted February 25, 2004 9:12 AM I want to send you a beta DLL to try, but I can't find a record of you downloading or purchasing. Please write in to support@dart.com and provide your contact info so we get the beta out to you. Thanks. |
Reply | PowerTCP Web Enterprise for ActiveX Topics | Forums |
This site is powered by
![]() |