Visual Basic 2008 Tutorial - Automatic Program UpdateVISIT http://affordablecheats.com/ Visual Basic 2008 Tutorial - Automatic Program Update In this video ill be showing you how to check for updates globally and alert your clients when a new version is available. Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load CheckForUpdates() End Sub Public Sub CheckForUpdates() Dim file As String = Application.StartupPath & "/version.txt" Dim MyVer As String = My.Application.Info.Version.ToString If My.Computer.FileSystem.FileExists(file) Then My.Computer.FileSystem.DeleteFile(file) End If My.Computer.Network.DownloadFile("http://teamfearclan.com/version.txt", file) Dim LastVer As String = My.Computer.FileSystem.ReadAllText(file) If Not MyVer = LastVer Then MsgBox("Update Available") 'My.Computer.Network.DownloadFile("http://mysite.com/program.exe", "") Else MsgBox("Program is up to date") End If End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click CheckForUpdates() End Sub End Class Ignore these tags: how to computer tutorials hacks cmd never again will i be able to make money online with youtube ebay myspace hacks crack white black facebook he was so cute irfanview audacity photoshop retouching effects sony vegas platinum eight 8 1 2 3 4 5 6 7 8 9 10 lol he got owned everyone lets party like a rock star rockstar sean paul ownage hitting drunk these are my tags lol coming for pizza eating pig squealing technician techie making cash with your profile account on youtube haha charlie bit me smosh fred fred gets his finger bit off the song charlie the unicorn funny stuff to look at making cash online scratched chalk videos scratchedchalkvideos we own the tutorial making industry the how to masters code pour embarquer la vidéo : >>> http://www.youtube.com/embed/zMrvCfS7854 <<< |