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 › [HELP]Updater[Solved]

[HELP]Updater[Solved]

Posts 1–9 of 9 · Page 1 of 1
.C
.Celtics
[HELP]Updater[Solved]
I know there are lots for tuts here for an updater, but they just check if its updated or not.

I want it to check if its updated or not, if its not, it will download it

Can you give me a tut? /yea

Thanks!

P.S. Congratz to NextGen1 for becoming a mod
#1 · edited 16y ago · 16y ago
Blubb1337
Blubb1337
Tip: Net.WebClient
#2 · 16y ago
Jason
Jason
Well how much more do you need? Just do what all the tuts say and then if it's out of date, download the new file from the internet (it'll need to be a static address or have a online reader or some crap)

Then just do

[php]
If OutOfDate = True then
My.Computer.Network.DownloadFile("www.yoursire.com/NewVersion.zip")
End if
[/php]

or something like that.
#3 · 16y ago
Blubb1337
Blubb1337
What you need:

  • Button
  • Progressbar(Make it show text, see properties)
  • Label
  • Backgroundworker


[php]#Region "Declarations"
'new webclient to for downloading
WithEvents webC As New Net.WebClient

Private apppath As String = Application.StartupPath & "\"
Private filename As String
'avoid the same filename twice
Private i As Integer = 1

'received/total bytes
Private total, current As Integer

'links
Private Const _version As String = "http://version.txt"
Private Const _FileToDL As String = "http://Recorder.exe"
Private Const _log As String = "http://changelog.txt"

#End Region

#Region "Download/Progress"

Private Sub cmdDownload_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdDownload.Click
If cmdDownload.Text = "Download" Then
bgwDownload.RunWorkerAsync()
Else
Process.Start(filename)
Application.Exit()
Me.Close()
End If
End Sub

Private Sub webC_DownloadFileCompleted(ByVal sender As Object, ByVal e As System.ComponentModel.AsyncCompletedEventArgs) Handles webC.DownloadFileCompleted
MsgBox("Download complete." & vbNewLine & vbNewLine _
& "Saved at: " & filename)

cmdDownload.Text = "Start Recorder"
cmdDownload.Enabled = True
End Sub

Private Sub webC_DownloadProgressChanged(ByVal sender As Object, ByVal e As System.Net.DownloadProgressChangedEventArgs) Handles webC.DownloadProgressChanged
current = e.BytesReceived 'bytes i dled already
total = e.TotalBytesToReceive 'total bytes it has to dl

If total <> current Then
cmdDownload.Enabled = False
End If

pbProgress.Value = e.ProgressPercentage
pbProgress.Text = CInt(current / 1024) & "/" & CInt(total / 1024) & " KB received | " & e.ProgressPercentage & " %"
End Sub

Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles bgwDownload.DoWork
webC.DownloadFileAsync(New Uri(_FileToDL), filename)
End Sub

#End Region

#Region "Startup"

Private Sub UpdateApp_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Control.CheckForIllegalCrossThreadCalls = False

Dim cl As New Threading.Thread(AddressOf changelog)
cl.Start()

lblCurV.Text &= Application.ProductVersion

Do While IO.File.Exists(apppath & "Recorder_Updated - " & i & ".exe")
i += 1
Loop

filename = apppath & "Recorder_Updated - " & i & ".exe"
End Sub

Private Sub changelog()
txtChangelog.Text = loadPage(_log)
End Sub

Private Sub newversion()
lblNewV.Text &= loadPage(_version)
End Sub

Private Sub UpdateApp_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
Dim checkv As New Threading.Thread(AddressOf newversion)
checkv.Priority = Threading.ThreadPriority.Highest
checkv.Start()
End Sub

#End Region [/php]

Fully self-written. Taken from my macro-recorder.



Network.Download Choobs
#4 · 16y ago
Jason
Jason
Quote Originally Posted by Blubb1337 View Post

Network.Download Choobs
Lol I use WebClient, but I cbf explaining about adding controls to a form and all that crap so i just said do the old fashioned way of Network.DownloadFile.
#5 · 16y ago
Blubb1337
Blubb1337
http://www.mpgh.net/forum/33-visual-...ownloader.html
#6 · 16y ago
Lolland
Lolland
Is this solved?
#7 · 16y ago
.C
.Celtics
Yea its solved

thanks guys
#8 · 16y ago
Lolland
Lolland
Okay marked accordingly then.
#9 · 16y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • Please help me solve the hackers!By j148148 in Alliance of Valiant Arms (AVA) Help
    2Last post 15y ago
  • Client Issue - Updated - SolvedBy Wyo in CrossFire Hacks & Cheats
    1Last post 16y ago
  • [Help]Updater?By Mikhail Kalashnikov in Visual Basic Programming
    4Last post 18y ago
  • [Help]Progressbar[Solved]By Shocker2010 in Visual Basic Programming
    2Last post 16y ago
  • Need help updating to 1.7...By Rico760 in Call of Duty 4 - Modern Warfare (MW) Hacks
    1Last post 18y ago

Tags for this Thread

None