Results 1 to 12 of 12

Thread: Progress bar for downloading with inet[solved]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Utah
    Posts
    397

    Progress bar for downloading with inet[solved]

    Ive never used a progress bar before so i have no clue how they work or how to get them work.

    I have a auto-update thing for one of my programs and it downloads 2 files off the internet to replace with the older versions of them on the users computer, how can i add a progress bar to tell the user the progress on the 2 files the update program is downloading?
    Last edited by Narfy; Dec 22nd, 2003 at 11:23 AM.

  2. #2
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    If you are using the INet control, you can't do it, you have to use winsock to display a progress bar.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Utah
    Posts
    397
    thats not good, im using inet
    if its not possible using a progress bar, how would I show a percentage or like a 23kb/928kb thingy?
    Last edited by Narfy; Dec 21st, 2003 at 12:33 AM.

  4. #4
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    I'm not sure on the Winsock way, i could never get it to work personally. If the file is only small, all i do is have a little animation running while it says Downloading Update... that way you can still use the Inet control and it keeps the user occupied
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  5. #5
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431
    Does the Inet control save a file as it downloads?
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

  6. #6
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    It must cache it somewhere, but where is unknown. I've looked everywhere but i've never found an answer to this problem.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Utah
    Posts
    397
    bump

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Utah
    Posts
    397
    I finally found the answer

    http://www.visualbasicforum.com/t20422.html

  9. #9
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    That's cool, do you recon you'd be able to attach it to this thread, i don't really wanna sign up for that one just to download that file.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

  10. #10
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    send it

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Utah
    Posts
    397
    sure
    Attached Files Attached Files

  12. #12
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718
    Cool, thanks Narfy.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

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