VB.NET: Using a WebClient to Track Downloads (Visual Basic 2008,2010,2012)

Поділитися
Вставка
  • Опубліковано 5 лют 2025
  • By popular request, I will discuss how to track downloads using a progressbar and label in this tutorial. This is done through the usage of the WebClient object, which handles asynchronous downloads very well. I still don't know what the program freeze was, though. Maybe one of you could shed some light on the topic!
    Thanks for watching!
    brandonsoft.com
    Discuss:
    bpforums.info
    Follow me on Twitter:
    / brandonio21
    Like me on Facebook:
    / brandonioproductions

КОМЕНТАРІ • 30

  • @JACOBFLARSEN
    @JACOBFLARSEN 10 років тому

    I don't know how all your tutorials aren't the most viewed ones. The quality, your voice and the explanations are definitely the best ones on UA-cam. Thanks a lot!

    • @BrandonioProductions
      @BrandonioProductions  10 років тому

      JACOBFLARSEN Thanks so much for your comments! I really appreciate them! It wouldn't be possible without viewers like you, so thanks for watching!

  • @MCsupernova22
    @MCsupernova22 5 років тому

    Ik this video is a while ago but its actually really helpful to this day, and you explain everything

  • @popsmikehull
    @popsmikehull 9 років тому

    Excellent tutorial Brandon, i'm in the process of watch quite a few of them so keep them coming !!!

  • @GerNekonika
    @GerNekonika 7 років тому

    Thank you so much. Even the first 2:18 minutes helped ^^. You are the best.

  • @lapao2539
    @lapao2539 7 років тому

    I'm wondering that if I could take the link from the browser and it will download, not the direct download link (Normally I have to Inspect that page to find the direct download link :/)

  • @Pradipta190
    @Pradipta190 Рік тому

    Can you make video progressbar with percentage (%) download zip files and after completion download progress bar get 0 % (auto reset) and extract location?

  • @mohammedalshereif3973
    @mohammedalshereif3973 10 років тому

    Thank you very much about your video.
    I have one question, How to calculate transfer rate to this file?
    Best Regards;
    Mr. Mohammed.Alshereif

  • @sniperghostwarrior1
    @sniperghostwarrior1 9 років тому

    Nice tutorial, keep it up.
    Another thing i would like to know is how can you tell if there was an obstruction in net connection or the download failed or the link is no longer valid to give a msgbox respectively.

    • @BrandonioProductions
      @BrandonioProductions  9 років тому

      +sniperghostwarrior1 Thank you very much! And thanks for watching.
      One way to tell if there is a net obstruction is to implement a timer that watches the progress of the download. If the progress hasn't changed in x amount of time (say, 10 seconds), there must be a network issue. A constant ping to a known source may also be a good way of retrieving whether the network is available.

    • @sniperghostwarrior1
      @sniperghostwarrior1 9 років тому

      +BrandonioProductions Thanks for your reply. It will be nice if you can provide a sample code for what you suggested.

  • @herthikprathaban1848
    @herthikprathaban1848 11 років тому +1

    I have another question. How to get the download transfer rate?

    • @herthikprathaban1848
      @herthikprathaban1848 10 років тому

      Helvecio Neto Thank You It Worked. I just tweaked your idea and it worked. Thanks Again for your response.

  • @web9889
    @web9889 11 років тому

    i guess it takes longer because you used a "/" in the download location. normally you have to use a "\" for a windows path. and in the debug mode it has to create a virtual download directory as well

  • @rollercoaster1111
    @rollercoaster1111 11 років тому +1

    It actually doesn't stop responding when I use it on my computer.

    • @BrandonioProductions
      @BrandonioProductions  11 років тому +2

      Really? Well this is great to hear! It was probably just something funky with my machine then. I will wait to see what other viewers report before making any assertions, however. Thanks for watching!

  • @herthikprathaban1848
    @herthikprathaban1848 10 років тому

    Hey, can u tell me how to get the time left. Just give any idea. I will try that.

    • @herthikprathaban1848
      @herthikprathaban1848 10 років тому

      Currently i uninstalled Visual Basics because of some errors. So I will try your method next week when i download it again. Where ever you are thank you BRO.

  • @hxrriet02
    @hxrriet02 10 років тому

    How do u do a url box for a download?

  • @supercraftmcproductions7703
    @supercraftmcproductions7703 5 років тому

    where does it download to?

  • @n.s.1184
    @n.s.1184 5 років тому

    Where is it saved?

  • @serubi
    @serubi 11 років тому

    Great tutorial!

    • @BrandonioProductions
      @BrandonioProductions  11 років тому

      Thanks a lot! More importantly, thanks for taking the time to watch this tutorial!

  • @manjeetnandal1
    @manjeetnandal1 5 років тому

    Superb

  • @KRFile
    @KRFile 8 років тому

    Thx, perfect works

  • @ManyMansStudio
    @ManyMansStudio 10 років тому

    NOT DOWNLOADING!

  • @AuraBOI
    @AuraBOI 11 років тому

    144p?

    • @AuraBOI
      @AuraBOI 11 років тому

      It was 144p max when I saw it.

  • @ManyMansStudio
    @ManyMansStudio 10 років тому

    SHIT!

  • @ManyMansStudio
    @ManyMansStudio 10 років тому

    SHIT!