Results 1 to 3 of 3
  1. #1
    TheGRimPunisher12's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    1
    My Mood
    Amazed

    Lightbulb [VB.NET]Downloader Tutorial Hardness: Easy

    Visual Basic Downloader Tutorial
    So In This Tutorial We Are Going To Make A Downloader Cuse Aparently I Need 25 or 20 Posts To Add Links And I Want To Share My Knowladge With You

    So Let's Get Started

    1. Creating The Forum

    Ok So We Need To Make A Forum We We Are Using Visual Studio/Basic To Make The Program So Create A Forum And Add 2 Labels, 2 TextBoxes, 1 Save File Dialog, 1 Progress Bar And 3 Buttons

    And Put Them Like This:


    Next Double Press On The Exit Button And Type: End
    Next All The Way On Top Put Above Public Class Form1 This: Imports System.Net
    Next Double Click On The Browse Button And Type This In:
     
    SaveFileDialog1.ShowDialog()
    TextBox2.Text = SaveFileDialog1.FileName

    Next Double Click On The Download Button And Put This Above Button Sub Of Downloader Button:
     
    Public WithEvents download As WebClient

    Next In The Button Sub Of Download Button Write This In:
     
    download = New WebClient
    download.DownloadFileAsync(New Uri(TextBox1.Text), TextBox2.Text)

    Next Under The Tabs Press And Select download And Next To It There Is Another Combo Box There Find And Press On Download Progress Changed
    The Write In This Code:
     
    ProgressBar1.Value = e.ProgressPercentage

    And There You Go Full Code Here:
     
    Imports System.Net
    Public Class Form1

    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    End
    End Sub

    Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
    SaveFileDialog1.ShowDialog()
    TextBox2.Text = SaveFileDialog1.FileName
    End Sub

    Public WithEvents download As WebClient
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    download = New WebClient
    download.DownloadFileAsync(New Uri(TextBox1.Text), TextBox2.Text)
    End Sub

    Private Sub download_DownloadProgressChanged(sender As Object, e As DownloadProgressChangedEventArgs) Handles download.DownloadProgressChanged
    ProgressBar1.Value = e.ProgressPercentage
    End Sub
    End Class
    Attached Thumbnails Attached Thumbnails
    1.png  


  2. The Following User Says Thank You to TheGRimPunisher12 For This Useful Post:

    RotiHangus HC (12-03-2013)

  3. #2
    ~Syphox's Avatar
    Join Date
    May 2012
    Gender
    male
    Location
    The Third Reich
    Posts
    1,307
    Reputation
    337
    Thanks
    344
    My Mood
    Angelic
    Quote Originally Posted by TheGRimPunisher12 View Post
    1. Creating The Forum

    Ok So We Need To Make A Forum We We Are Using Visual Studio/Basic To Make The Program So Create A Forum And Add 2 Labels, 2 TextBoxes, 1 Save File Dialog, 1 Progress Bar And 3 Buttons
    What the hell are you talking about?!

    A forum is something like MPGH you dumbass

  4. #3
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
     

    "Next Under The Tabs Press And Select download And Next To It There Is Another Combo Box There Find And Press On Download Progress Changed"

    ie. here


    The magic that makes it all happen:
    WebClient.DownloadFileAsync(New Uri(TextBox1.Text), TextBox2.Text)
    Last edited by abuckau907; 09-02-2013 at 04:02 PM.
    'Some things that can be counted, don't matter. And some things that matter, can't be counted' - A.E.
    --
     

    My posts have some inaccuracies/are wrong/wrong keyword(s) used.
    They're (maybe) pretty close, and I hope they helped you, not created confusion. Take with grain of salt.

    -if you give rep, please leave a comment, else it means less.

  5. The Following User Says Thank You to abuckau907 For This Useful Post:

    RotiHangus HC (12-03-2013)

Similar Threads

  1. Replies: 13
    Last Post: 02-18-2014, 06:04 PM
  2. [VB.NET] Downloader - Hardness Level: Easy
    By TheGRimPunisher12 in forum Visual Basic Programming
    Replies: 0
    Last Post: 08-29-2013, 08:54 AM
  3. [Tutorial]How to make a Youtube Video Downloader
    By o0OpurezO0o in forum Programming Tutorials
    Replies: 9
    Last Post: 11-06-2010, 09:03 PM
  4. [Tutorial]Advanced File Downloader
    By Bombsaway707 in forum Visual Basic Programming
    Replies: 13
    Last Post: 01-13-2010, 07:39 PM

Tags for this Thread