|
-
Aug 9th, 2000, 09:27 PM
#1
Thread Starter
Lively Member
Is there a way when using the Internet transfer control that I can monitor how much of the file has been sent because I want to use a progress bar with my program telling me how much of the file has been sent so far??
-
Aug 9th, 2000, 09:55 PM
#2
Fanatic Member
Doesn't the control have a ProgressChange Property?
-
Aug 9th, 2000, 10:29 PM
#3
Thread Starter
Lively Member
internet transfer control
It has a StateChanged property but I don't really know if that could be used to track how much of a file has been sent.
-
Aug 9th, 2000, 10:41 PM
#4
New Member
Excuse me but I already view the code necessary but I don't remember where and when.
Although, there is this Microsoft code that use the GetChunck method to retrieve any kind of data, reading the data in blocks of 1024 bytes, where you can take the amount of bytes transfered.
Take a look at http://msdn.microsoft.com/library/de...fercontrol.htm and see the Using the State Event with the GetChunk Method section that it will be useful.
-
Aug 9th, 2000, 10:45 PM
#5
Thread Starter
Lively Member
internet transfer control
Isn't the GetChunk only used for data being received and not data being sent? How do you monitor how much data has been sent?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|