Hack Forums
[.NET] [#001] DownloadProgress to Progressbar - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] [#001] DownloadProgress to Progressbar (/showthread.php?tid=4373630)



[#001] DownloadProgress to Progressbar - CYNTEX - Aug 2, 2014

Hey Guys 🤗

Today i will post my Tutorial how to show the download Progress on a Progressbar ✌

Screenshoot
[img]http://www11.pic-upload.de/02.08.14/2li719blin8.png[/img]
Download
Click!
Virustotal
/1nXEkSo ]Click!
Note
I hope you like it 🤝


* - Pretzels - Aug 2, 2014

I recommend you add a virus scan to this (even though it is the source), and maybe a GIF showing how it works.


* - CYNTEX - Aug 2, 2014

(Aug 2, 2014 11:21 AM)WhatsApp Wrote:  I recommend you add a virus scan to this (even though it is the source), and maybe a GIF showing how it works.

Virustotal Added 🤝
Thanks


* - SIM-1456245 - Aug 2, 2014

From when did tutorials became unknown download links with a random screenshot on them ?


* - $lick - Aug 2, 2014

Save your time downloading shit, Here.

Virus Scan of exe, Seems to be safe.

PHP Code

<?php 
Imports System
.Net
Public Class TuT_1
    Dim WithEvents WC 
As New WebClient
    
Private Sub TuT_1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
      WC
.DownloadFileAsync(New Uri("DownloadLink"), "Path")
    
End Sub
    
Private Sub WC_DownloadProgressChanged(ByVal sender As Object, ByVal e As DownloadProgressChangedEventArgs) Handles WC.DownloadProgressChanged
      DownloadProgress
.Value = e.ProgressPercentage
      DonwloadProgressText
.Text = "Progress:" & e.ProgressPercentage & "%" & "(" & e.BytesReceived & "/" & e.TotalBytesToReceive & ")"
    
End Sub
End 
Class 

P.s. OP this is NOT a tutorial, It's a source.

You explained nothing.


* - Geekie - Aug 2, 2014

ZOMG, THIS IS THE BEST TUTORIAL OP.... IT TOOK ME POINT 4 SECS TO DO THIS... YOU'RE SO AWSOME....

NOTTTTTT