Login Register






Thread Rating:
  • 1 Vote(s) - 5 Average


Tutorial Auto Update Checker [VB.NET] filter_list
Author
Message
Auto Update Checker [VB.NET] #1
This tutorial is created to show you how to make an auto-update checker in Visual Basic.NET.

Right, how this works is by checking a website for a certain string, and if it contains that string, then it'll continue, but if it's something different, it'll open up a link to the new version. Let's get started!

All you have to do is make a few changes to the following code and put it in your Form1_Load:
Code:
Dim webclient as New WebClient
Dim Response as webclient.DownloadString("http://yourwebsite.com/update.txt") 'Change this link to one of your choice

If Response = "2.0" Then
MsgBox("A NEW UPDATE IS AVAILABLE!", vbInformation, "Update")
Process.Start("http://yourdownloadlink.com/program.exe") 'Enter your download link here :)
End if


Have your text document/html documents or anything as plain text with the text "1.0" (without quotation marks) and whenever you have an update out, just change your document to "2.0" (without quotation marks) and it'll automatically display the message box and open a link to your program. Make sure you have the link of what the program is going to be already in the program when you release it, or this'll be pointless.

Enjoy!
[Image: F4Z9Dqw.png]

Reply





Messages In This Thread
Auto Update Checker [VB.NET] - by BreShiE - 02-02-2013, 10:23 PM
RE: Auto Update Checker [VB.NET] - by BreShiE - 02-03-2013, 12:21 PM
RE: Auto Update Checker [VB.NET] - by i0xIllusi0n - 02-06-2013, 02:20 PM
RE: Auto Update Checker [VB.NET] - by SQLi - 03-16-2013, 07:13 PM
RE: Auto Update Checker [VB.NET] - by cxS - 03-17-2013, 04:57 AM



Users browsing this thread: 1 Guest(s)