Results 1 to 3 of 3

Thread: How to get number of bytes of a file transferred over net?

  1. #1
    nikhil is offline VB.NET Forum Newbie
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Jun 2009
    Posts
    2
    Reputation
    0

    How to get number of bytes of a file transferred over net?

    Hi.

    From my VB.net client, I am invoking a web service to transfer a file along with some other details of the file. Now on the form, I would like to show the progress bar with the % completion. (i.e % of file sent across.) How would I be able to do this ?

    Thanks..
    - Niks

  2. #2
    HeroKing is offline VB.NET Forum Newbie
    .NET Framework
    .NET 3.5 (VS 2008)
    Join Date
    Sep 2009
    Posts
    5
    Reputation
    0
    see the properties of the progress bar and the downloadeventargs class in .net library

  3. #3
    jmcilhinney's Avatar
    jmcilhinney is offline VB.NET Forum Moderator
    .NET Framework
    .NET 4.0
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    13,773
    Reputation
    1703
    You can't provide feedback on progress to the user if you don't have that information yourself. How are you transferring the file and how are you calculating the progress?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •