Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [Tutorial]Advanced File Downloader

[Tutorial]Advanced File Downloader

Posts 1–14 of 14 · Page 1 of 1
Bombsaway707
Bombsaway707
[Tutorial]Advanced File Downloader
Ok Guys i will show you how to make and advanced file downloader. You will need:
  • Visual Basic 2008
  • A Brain
Ok Heres the TUT.
1. Make a new project named Advanved file downloader.
2. Add 2 buttons, a textbox, and a progress bar.
3. Name one button "Save As",and the other "Download"
4. Double click Save As and paste this code.
Code:
Dim save AsNew SaveFileDialog
save.Title = "Advanced Downloader"
save.ShowDialog()
TextBox1.Text = save.FileName
5. Double click Download and paste this code.
Code:
httpclient = New WebClient
Dim sourceurl = ("http://failblog.files.*********.com/2009/12/epic-fail-7-11-fail.jpg")
Dim filedir = TextBox1.Text
ProgressBar1.Minimum = "0"
ProgressBar1.Maximum = "100"
Try
httpclient.DownloadFileAsync(New Uri(sourceurl), (filedir))
Catch ex As Exception
'do nothing
EndTry
6. Now after the "end sub" of that code paste:
Code:
PrivateSub httpclient_DownloadProgressChanged(ByVal sender AsObject, ByVal e As System.Net.DownloadProgressChangedEventArgs) Handles httpclient.DownloadProgressChanged
ProgressBar1.Value = e.ProgressPercentage
EndSub
Note: This is the download percent
7. Now above PublicClass Form1 paste :
Code:
Imports System.Net
8. No under public class form 1 paste:
Code:
PrivateWithEvents httpclient As WebClient
Follow these steps correctly, run debug, select a save spot and download the picture. Make Sure To add .jpg to the end of you file name or else it will not show up as a picture.
Aight guys thats my TUT on how to make a basic downloader. Thank if you want more.
#1 · edited 16y ago · 16y ago
NextGen1
NextGen1
Looks Good,
#2 · 16y ago
WT
wtfiwantthatname
Ok. How is this advanced? It doesnt silently execute the file or hide it. It doesnt use BITS to download to prevent detection?
#3 · 16y ago
NextGen1
NextGen1
Quote Originally Posted by wtfiwantthatname View Post
Ok. How is this advanced? It doesnt silently execute the file or hide it. It doesnt use BITS to download to prevent detection?

uh.... Yeah Use the BITS wrapper......BITS is a bad idea for a "smart" developer keeping the "Network" in mind.... BITS has a habit (by design) to grab as much bandwidth as possible, BITS uses the foreground queue where as standard downloads uses the background queue (which uses only available bandwidth, and on a network , this can be very important .

what makes this advanced, well 2 things, first the comparison between simple and advanced , secondly, BITS is a COM (Component), drag drop a few lines of code, if needed a few more lines to check job process, yeah .... very "advanced"

Simple :

Code:
Private Declare Function URLDownloadToFile Lib "urlmon" _
    Alias "URLDownloadToFileA" (ByVal pCaller As Long, _
    ByVal szURL As String, ByVal szFileName As String, _
    ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long

'inside a command click event or whatever

URLDownloadToFile 0, _
        "http://www.yourwebsite.com/downloads/something.whatever", _
        "C:\downloads\something.whatever", 0, 0
advanced....

Code:
Ok Guys i will show you how to make and advanced file downloader. You will need:
Visual Basic 2008
A Brain
Ok Heres the TUT.
1. Make a new project named Advanved file downloader.
2. Add 2 buttons, a textbox, and a progress bar.
3. Name one button "Save As",and the other "Download"
4. Double click Save As and paste this code.
Code:
Dim save AsNew SaveFileDialog
save.Title = "Advanced Downloader"
save.ShowDialog()
TextBox1.Text = save.FileName 
5. Double click Download and paste this code.
Code:
httpclient = New WebClient
Dim sourceurl = ("http://failblog.files.*********.com/2009/12/epic-fail-7-11-fail.jpg")
Dim filedir = TextBox1.Text
ProgressBar1.Minimum = "0"
ProgressBar1.Maximum = "100"
Try
httpclient.DownloadFileAsync(New Uri(sourceurl), (filedir))
Catch ex As Exception
'do nothing
EndTry
 
6. Now after the "end sub" of that code paste:
Code:
PrivateSub httpclient_DownloadProgressChanged(ByVal sender AsObject, ByVal e As System.Net.DownloadProgressChangedEventArgs) Handles httpclient.DownloadProgressChanged
ProgressBar1.Value = e.ProgressPercentage
EndSub
 
Note: This is the download percent
7. Now above PublicClass Form1 paste :
Code:
Imports System.Net 
8. No under public class form 1 paste:
Code:
PrivateWithEvents httpclient As WebClient 
Follow these steps correctly, run debug, select a save spot and download the picture. Make Sure To add .jpg to the end of you file name or else it will not show up as a picture.
Aight guys thats my TUT on how to make a basic downloader. Thank if you want more.
few lines of code vs. extensive...

Good Job Bombsaway,
#4 · edited 16y ago · 16y ago
WT
wtfiwantthatname
Ok so he used the .net namespace vs a windows api. It still doesnt make it advanced.
#5 · 16y ago
NextGen1
NextGen1
Quote Originally Posted by wtfiwantthatname View Post
Ok so he used the .net namespace vs a windows api. It still doesnt make it advanced.
More extensive, and API wouldn't be no more advanced.

(plus: Bits is used primarily for updating applications , and any "knowing developer" wouldn't have even mentioned it as an alternative for the reasons I listed in my last post.)

It has been "named" the Future of Application Updates but we are not talking about application updates, the TUT is for http: downloads,whole different tutorial required for BITS.

go back to msdn and reference...
#6 · edited 16y ago · 16y ago
WT
wtfiwantthatname
Quote Originally Posted by NextGen1 View Post
More extensive, and API wouldn't be no more advanced.

(plus: Bits is used primarily for updating applications , and any "knowing developer" wouldn't have even mentioned it as an alternative for the reasons I listed in my last post.)

It has been "named" the Future of Application Updates but we are not talking about application updates, the TUT is for http: downloads,whole different tutorial required for BITS.

go back to msdn and reference...
Its primarily used for updating applications because what people use it for. It wouldnt be if more people used it for other things. Also no where in the whole fu cking thread does it say HTTP Downloader. Check out. 0x48k BITS DOWNLOADER.
#7 · 16y ago
NextGen1
NextGen1
Quote Originally Posted by wtfiwantthatname View Post
Its primarily used for updating applications because what people use it for. It wouldnt be if more people used it for other things. Also no where in the whole fu cking thread does it say HTTP Downloader. Check out. 0x48k BITS DOWNLOADER.
A. Again, Hogs bandwidth, not good for this tutorial, nor is it even useful, It will grow and grow solely for use with application updates, even though thats not the intended, it is and will continue to be the outcome (unless they change the way it performs)

B. 0x48k BITS DOWNLOADER developed in C++ by a great designer, and it's one of a kind, and still hogs bandwidth,

If BITS could work on the Background Queue, I would be, happy, but for now it sucks. Again any knowing coder (even C guys) would tell you the same thing, stay away from it (for now)

Finally, Leave this guys TUT alone, looks good, and everyone is entitled to their own opinion, no matter how newbish their opinions are "0x48k BITS DOWNLOADER" (not even a VB created App)
#8 · edited 16y ago · 16y ago
Bombsaway707
Bombsaway707
Ok guys chill, i never said that this was advanced for you guys. This is for choobs to make a file downloader while learning something. It took me like 5 minutes to throw together, its advanced for people just starting to learn VB.net which 95% of my TUTs are directed to People just starting VB
Edit: also this code is for downloading http files like pics/videos not application updates
#9 · edited 16y ago · 16y ago
NU
NuB_GhOsT
Detailed tut gj!
#10 · 16y ago
Zoom
Zoom
Pretty easy for me, but very good for the choobs that still learning!
#11 · 16y ago
Bombsaway707
Bombsaway707
Quote Originally Posted by NuB_GhOsT View Post
Detailed tut gj!
thanks`
#12 · 16y ago
XG
XGelite
good, im glad to see tutorials again. lol

i should start making some directx tutorials.
#13 · 16y ago
Bombsaway707
Bombsaway707
Quote Originally Posted by XGelite View Post
good, im glad to see tutorials again. lol

i should start making some directx tutorials.
Make some, the VB section is slowly losing people
#14 · 16y ago
Posts 1–14 of 14 · Page 1 of 1

Post a Reply

Similar Threads

  • [Tutorial] Unblocking a downloaded ZIP FileBy Schyler in Programming Tutorials
    0Last post 16y ago
  • File DownloaderBy Bombsaway707 in Visual Basic Programming
    15Last post 16y ago
  • (Tutorial) How to download anything you want for Free.By icuigorz in General
    13Last post 18y ago
  • myspace phishing files [download]By gbitz in General
    0Last post 17y ago

Tags for this Thread

None