Results 1 to 5 of 5

Thread: progress bar

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    114
    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??

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523
    Doesn't the control have a ProgressChange Property?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    114

    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.

  4. #4
    New Member
    Join Date
    Jul 2000
    Location
    São Paulo/Brazil
    Posts
    13
    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.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    114

    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
  •  



Click Here to Expand Forum to Full Width