C
Charles A. Lackman
Hello,
I have an app that has a process bar on it and it sends and retrieves data
back and forth to a web page using WebRequest and WebResponse. The stream
is received from the web page and written into a memorystream then written
to a file on the hard drive. When the app's start button is clicked the
first thing that happens is that the size of the file is displayed (i.e. 51
of 562 Downloaded) untile the download is complete. The problem is that
when you click on the cancel button (to stop the download) or if you click
around the form or outside of the form, the application stops responding,
the cancel buttons event does not fire when the steaming is happening.
Any suggestions will be greatly appreciated.
Chuck
I have an app that has a process bar on it and it sends and retrieves data
back and forth to a web page using WebRequest and WebResponse. The stream
is received from the web page and written into a memorystream then written
to a file on the hard drive. When the app's start button is clicked the
first thing that happens is that the size of the file is displayed (i.e. 51
of 562 Downloaded) untile the download is complete. The problem is that
when you click on the cancel button (to stop the download) or if you click
around the form or outside of the form, the application stops responding,
the cancel buttons event does not fire when the steaming is happening.
Any suggestions will be greatly appreciated.
Chuck