Progress Bar for transfering a large amount of data to a Web Service.
From: nk (nkz_at_discord.net)
Date: 03/02/04
- Next message: Kenneth Lewis: "Re: How to "attach" a .NET Control to a HWND?"
- Previous message: Tim Jarvis: "Re: Setting Parent for a C# .NET Form"
- Messages sorted by: [ date ] [ thread ]
Date: 2 Mar 2004 13:29:54 -0800
Hello all,
I have a windows forms app that uploads one or more files to a
webservice (as an array of bytes) I'm trying to put in a progress bar.
I've gotten the asynchronous calls working, but that doesn't let me
find out how much data has been transmitted. I've considered doing
callbacks or having a checkstatus webservice, but the problem is that
while the data is in transit, the webservice doesn't have control. By
the time the code in the service is actually running, the file is
already uploaded.
If i was reading the file from a stream and passing it to the
webservice, I could do the progressbar, but I don't think i can pass
a stream to a web service. I'm thinking the solution might have to do
with somehow hooking into the soap proxy....
Any ideas?
Thanks,
nkz
- Next message: Kenneth Lewis: "Re: How to "attach" a .NET Control to a HWND?"
- Previous message: Tim Jarvis: "Re: Setting Parent for a C# .NET Form"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|