Results 1 to 4 of 4
  1. #1
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107

    I need help with this updater

    i need help with this updater thing.

    https://www.youtube.com/watch?v=[YOUTUBE]WPS-Mcz76V4[/YOUTUBE]

    um i can get it to kinda work after I've been playing with that code for like 2 hours i went blank idk what to do. im just 100% out of ideas because no matter what it says that there is a new version available even if its the newest. and if some one helps me with that i want to make it so if there is as newer version it will show the dl link for the newest version plz.

  2. #2
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    We can't know what you are doing wrong without seeing the code,

    And just a side note, VB.net has a built in auto update feature


    And I can tell you one thing, I know using One_click is buggy when it comes to autoupdates and check for updates ( I didn't watch the tut, but if they use it...) Manually upload the files to the server via ftp client, Thats what I do.

    Last edited by NextGen1; 02-26-2010 at 10:44 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  3. #3
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107
    Quote Originally Posted by NextGen1 View Post
    We can't know what you are doing wrong without seeing the code,

    And just a side note, VB.net has a built in auto update feature


    And I can tell you one thing, I know using One_click is buggy when it comes to autoupdates and check for updates ( I didn't watch the tut, but if they use it...) Manually upload the files to the server via ftp client, Thats what I do.

    well to be honest... i don't get ftp's/ftp clients at all.
    but heres the code for the updater.

    button 1
    Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Button1.Enabled = False
            Label1.Text = "Checking For Updates"
            WebClient1.DownloadFileAsync(New Uri("*"), "Version.txt") 'replace * with Where file is E.G "https://cozmo195studios.*********/Version/update.txt"
        End Sub
    yes i have put my uri in the "" where the star is.

    Webclient
    Code:
        Private Sub WebClient1_DownloadFileCompleted(ByVal sender As System.Object, ByVal e As System.ComponentModel.AsyncCompletedEventArgs) Handles WebClient1.DownloadFileCompleted
            'note 1.00 would be 1.0.0
            Dim read As String = My.Computer.FileSystem.ReadAllText("Version.txt")
            If Not read = "2.00" Then
                If read = "" Then
                    Label1.Text = "Could not check for updates, Please try again later"
                Else
                    Label1.Text = "Newer Version Available!" & "(" & read & ")"
                End If
            Else
                Label1.Text = "Newer Version Available!" & "(" & read & ")"
            End If
        End Sub

  4. #4
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    ... Auto updates check a webclient, you are connecting via FTP using OneClick (in VS) or a FTP client, If you drag your compiled code to your ftp site, it will work, if you use oneclick to upload 80% of the time, it doesn't work


     


     


     



    The Most complete application MPGH will ever offer - 68%




Similar Threads

  1. [Help] i need help with this hacks....
    By idomix in forum Combat Arms Europe Hacks
    Replies: 2
    Last Post: 12-19-2009, 09:10 AM
  2. [Help] Need help with this game
    By holvis in forum Soldier Front General
    Replies: 1
    Last Post: 12-06-2009, 06:41 AM
  3. OPK need help with this .
    By lalobon in forum Combat Arms Hacks & Cheats
    Replies: 11
    Last Post: 08-24-2009, 01:11 AM
  4. I need help with this code in C#
    By trevor206 in forum Programming Tutorial Requests
    Replies: 0
    Last Post: 08-18-2009, 05:40 PM
  5. Need help with this error...
    By Screenlooker in forum Combat Arms Hacks & Cheats
    Replies: 6
    Last Post: 12-27-2008, 02:21 PM