Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107

    how do i update my program automatically

    how do i update my visual basic 2008 program automatically.
    like so if they have it on there computer and its V1.2 and they have V1.1 when they press like a update button it updates it?
    If possible.

    If i need to be more clear just ask.

  2. #2
    Pixipixel_'s Avatar
    Join Date
    Oct 2009
    Gender
    male
    Location
    VCExpress.exe || France :D
    Posts
    2,087
    Reputation
    27
    Thanks
    742
    My Mood
    Cool
    Use the search button in the future please.

    Here you go :
    https://www.mpgh.net/forum/33-visual-...er-vb-net.html

  3. #3
    wtfiwantthatname's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    260
    Reputation
    10
    Thanks
    39
    My Mood
    Bored
    Host a webserver. Have it connect and download a log file with the current version. If the two versions dont match have it download the new one and execute the new one and delete the old one.
    "I don't believe in an afterlife, so I don't have to spend my whole life fearing hell, or fearing heaven even more. For whatever the tortures of hell, I think the boredom of heaven would be even worse." - Isaac Asimov

  4. #4
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    I can provide a webserver (Like wtfiwantthatname said you need)

  5. #5
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    In VB.net (2008)

    1. Open your program
    2. Expand (or goto) your Solution Explorer
    3. Right_Click the first item there (should be the name of your program)
    4. Click Properties
    5. Click the bottom button (Publish)
    - this will allow you to change how you publish your software -
    6. Tick (check) Automatically increment revision
    - this will increase your version (.1) every time you save your program
    - or you can manually do this as well, just be sure to do this, or the software won't update)
    7. Click the Updates button to the right
    8. tick (check) this software should check for updates
    9. Choose before or after software loads (I prefer before, otherwise the user has to wait till it updates, then closes then restart the software, if it updates before, the user is ready to go when it starts.)
    10. Make sure you have upped the revision
    11. Click Publish Now, go through the wizard and include the domain (with hosting) you will be using to store the files where it says "this software will check for updates on...)
    use an exisitng domain if you have one , just create a directory call updates or something (ex: yourdomain.com/updates)
    12. Load CoreFTP (or your favorite FTP client) upload the files in your published folder (all of them)

    Now when anyone opens your software, it will update as long as you remember to upload and overwrite files every time

    I do not suggest you use the built in ftp Microsoft's has in place, I have personally had a lot of issues with it. (like updates not working, even though the files are there, when you manually upload, it seems fine)

    Hope this helps

    Edit: This seems alot longer then it actually is, its more then worth learning and understanding, and there is no reason for log files, VB2008 has it built in. (no offense to wtfiwantthatname, obviously the OP has little understanding about VB2008 , why use log files and host a web server.... )
    Last edited by NextGen1; 12-27-2009 at 11:19 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  6. #6
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107
    Quote Originally Posted by PixieCorp View Post
    I can provide a webserver (Like wtfiwantthatname said you need)
    i would like if u did cause im kinda lost idk wtf a ftp server is let alone how to make one.


    Quote Originally Posted by NextGen1 View Post
    In VB.net (2008)

    1. Open your program
    2. Expand (or goto) your Solution Explorer
    3. Right_Click the first item there (should be the name of your program)
    4. Click Properties
    5. Click the bottom button (Publish)
    - this will allow you to change how you publish your software -
    6. Tick (check) Automatically increment revision
    - this will increase your version (.1) every time you save your program
    - or you can manually do this as well, just be sure to do this, or the software won't update)
    7. Click the Updates button to the right
    8. tick (check) this software should check for updates
    9. Choose before or after software loads (I prefer before, otherwise the user has to wait till it updates, then closes then restart the software, if it updates before, the user is ready to go when it starts.)
    10. Make sure you have upped the revision
    11. Click Publish Now, go through the wizard and include the domain (with hosting) you will be using to store the files where it says "this software will check for updates on...)
    use an exisitng domain if you have one , just create a directory call updates or something (ex: yourdomain.com/updates)
    12. Load CoreFTP (or your favorite FTP client) upload the files in your published folder (all of them)

    Now when anyone opens your software, it will update as long as you remember to upload and overwrite files every time

    I do not suggest you use the built in ftp Microsoft's has in place, I have personally had a lot of issues with it. (like updates not working, even though the files are there, when you manually upload, it seems fine)

    Hope this helps

    Edit: This seems alot longer then it actually is, its more then worth learning and understanding, and there is no reason for log files, VB2008 has it built in. (no offense to wtfiwantthatname, obviously the OP has little understanding about VB2008 , why use log files and host a web server.... )
    im sure this will make more sense once i get started.

  7. #7
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Heres a vid, Made it , took a few seconds, Hope it helps.

    For Trevor206

    Ill be honest, quality sucks, but can't expect much when I am not taking my time.

    ....just squint -,-

    Edit: If it warrants, Ill take my time and make a HQ one. Just let me know
    Last edited by NextGen1; 12-28-2009 at 04:32 PM.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  8. #8
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    Quote Originally Posted by PixieCorp View Post
    I can provide a webserver (Like wtfiwantthatname said you need)


    @NextGen1

    ive never gotten that method to work
    Last edited by XGelite; 12-29-2009 at 09:53 AM.

  9. #9
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    It will work 100% of the time, as long as there is a revision, and as long as you manually upload the files, maybe a setting or using the auto revision, try manually changing the revision, that may help, But one thing that is hard to get working is allowing VB to upload the files for you, It's a mess


     


     


     



    The Most complete application MPGH will ever offer - 68%




  10. #10
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    Quote Originally Posted by NextGen1 View Post
    It will work 100% of the time, as long as there is a revision, and as long as you manually upload the files, maybe a setting or using the auto revision, try manually changing the revision, that may help, But one thing that is hard to get working is allowing VB to upload the files for you, It's a mess
    awww now i fixed it. YOu forgot to including something in your tut

    YOu have to have all the folders uploaded to your site


    You need the folder www.yourdomain/Updates/Application Files/ProgramName_revision/

    and you have to have the .deploy extension!
    Last edited by XGelite; 12-29-2009 at 10:33 AM.

  11. #11
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Can't edit to include it, but thanks, thats what I meant by all files btw, All = every single one, I should have clarified, VB tries to do this for you and fails, big time.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  12. #12
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107
    Quote Originally Posted by NextGen1 View Post
    Heres a vid, Made it , took a few seconds, Hope it helps.

    For Trevor206

    Ill be honest, quality sucks, but can't expect much when I am not taking my time.

    ....just squint -,-

    Edit: If it warrants, Ill take my time and make a HQ one. Just let me know
    thanks for making it but i can't pause it can u just give me a download link to the original video file.(i mean the avi or wmv or w/e type it is).
    Thanks

  13. #13
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    Ill upload the avi to my server sometime soon,

    Its uploading now, done in about 15 mins from the time of the post, it will be the same link, just download it.


     


     


     



    The Most complete application MPGH will ever offer - 68%




  14. #14
    trevor206's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    324
    Reputation
    12
    Thanks
    107
    Quote Originally Posted by NextGen1 View Post
    Ill upload the avi to my server sometime soon,

    Its uploading now, done in about 15 mins from the time of the post, it will be the same link, just download it.
    i got everything up to the ftp part i don't have a website and using stuff like webs doesn't work.(i tried)

  15. #15
    NextGen1's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Not sure really.
    Posts
    6,312
    Reputation
    382
    Thanks
    3,019
    My Mood
    Amazed
    If you want users to download your updates, you need a website, use a free hosting company, it doesn't matter.

    Google search X10 hosting

    sign up, and upload your files to that server, use a free domain they give you like,
    myvbapp.x10hosting.com

    nobody needs to the domain, that should do it for you


     


     


     



    The Most complete application MPGH will ever offer - 68%




Page 1 of 2 12 LastLast

Similar Threads

  1. [Help] Automaton can not be used. Automatic machine how to skip update?
    By fzxwzleo in forum Mission Against Terror Discussions
    Replies: 4
    Last Post: 05-01-2011, 06:45 PM
  2. Replies: 13
    Last Post: 12-28-2009, 01:13 AM
  3. [INFO] Make your Program automatically run as Administrator in VB08
    By CoderNever in forum Visual Basic Programming
    Replies: 13
    Last Post: 11-24-2009, 08:06 PM
  4. [TUT]How to make a notepad program
    By stevethehacker in forum Visual Basic Programming
    Replies: 9
    Last Post: 11-15-2009, 07:41 PM
  5. [Development Update] Crosshair Program
    By bug_NOT_ME in forum Combat Arms Hacks & Cheats
    Replies: 26
    Last Post: 08-23-2009, 11:18 PM