ogress bar with download?
welcome to Game-Tuts.com - Register
Results 1 to 4 of 4
  1. #1
    VIP

    Join Date
    Nov 2009
    Posts
    125
    Thanks
    10
    Gamertag
    iTz Blak3

    Default ogress bar with download?

    so say im downloading something on my app how do i make a progress bar stay in sync with the download?
    like ummmm.................. firefox!!! their download thing, how it tells you how long it will take!

  2. #2
    Infamous Member
    Join Date
    Apr 2009
    Location
    California
    Age
    18
    Posts
    756
    Thanks
    179
    Last edited by Cali Alec; 10-11-2010 at 09:22 PM.

  3. The Following 3 Users Say Thank You to Cali Alec For This Useful Post:

    328i (10-11-2010), iTz Blak3 (10-12-2010), Kelso32 (10-12-2010)

  4. #3
    Modio Tool Developer

    Join Date
    Mar 2010
    Location
    UK
    Age
    20
    Posts
    1,800
    Thanks
    418
    Gamertag
    MrJoshuaT

    Default Re: ogress bar with download?

    You need to manage the webfiledownloader

    add sub to handle the webfiledownloader amount changed and error in download

    its pretty simple I did it for the Nand Tool
    Server / Desktop / Mobile Device developer. I use a Mac . Typos are my speciality.

    Taylor Gang or die.

    Prison Break is the best TV show ever.

  5. #4
    VIP
    Join Date
    Mar 2009
    Location
    USA
    Posts
    397
    Thanks
    78

    Default Re: ogress bar with download?

    LOL @ that picture. XD

    Anyways, you need to use the async web client download method:
    WebClient.DownloadFileAsync(new Uri(DownloadLink), "LocalPath");

    Make sure you have an event hander linked to WebClient_DownloadProgressChanged.
    And you should put something like this in there:
    ProgressBar.Progress = e.ProgressPercentage.


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  
visit GameTuts on these social networking sites