Results 1 to 5 of 5

Thread: how can i make a download button in visual basic

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2011
    Posts
    57

    how can i make a download button in visual basic

    ok what i want to do is add a download button to my project with a progress bar

    to download a file called eg my custom world at war zombie map.zip to

    C:\username\appdata\loacal\activation\codwaw\mods\mapname

    what i want is it to be installed in there but i dont what the user to have a choice i just what it to be installed there is that possible so when they click download it will download the file to that location

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: how can i make a download button in visual basic

    You can call My.Computer.Network.DownloadFile and, if you provide the appropriate arguments, it will display a progress dialogue as the file is downloaded. If you want to do it that way, please read the MSDN documentation for that method to learn what the appropriate arguments are.

    If you want to provide your own progress then follow the CodeBank link in my signature and check out my Asynchronous File Download thread.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2011
    Posts
    57

    Re: how can i make a download button in visual basic

    that sounds just what i would like to do but where do i find it on msdn i get confused on that site lmao can you provide a link if thats possible please

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: how can i make a download button in visual basic

    What am I, your servant? If you can't be bothered to type a few words into a search box then you can just do without the information. I'm here to help people learn but that doesn't include wiping noses and doing your web searches for you. That requires exactly zero programming knowledge and experience so you are just as capable of doing it as I am. If you try and fail then that's one thing but if you don't even try then you don't deserve to succeed.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: how can i make a download button in visual basic



    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

Tags for this Thread

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