Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Anyone want to help design this?

Anyone want to help design this?

Scheduled Pinned Locked Moved C#
designhelptutorialquestionannouncement
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alex Korchemniy
    wrote on last edited by
    #1

    I want to make an automatic update system. Here is my simple plan for one: At the begining of application init, the application will go into the updater block. //////// Updater block psedo code settings = Load application settings; if (user wants auto updates) { //creat an instance of the updater from a library Updater.dll Updater myUpdater = new Updater(); // updater goes online and check for updates UpdaterFeedback = myUpdater.StartUpdater(); if (updaterfeedback == updatefound) { if (settings.totallyautomatic == true) { updater.doupdater } else { // ask user if they want to update & tell them about the update // also give them some info on it if (userWantsToUpdate == true) { updater.DoUpdate(); } } } } else { continue with the application startup } //////// End updater block ---------------------------- If you have any ideas, please post them I have not a clue how to do the internet update check, if you have any ideas please post them. Thanks

    N P E 3 Replies Last reply
    0
    • A Alex Korchemniy

      I want to make an automatic update system. Here is my simple plan for one: At the begining of application init, the application will go into the updater block. //////// Updater block psedo code settings = Load application settings; if (user wants auto updates) { //creat an instance of the updater from a library Updater.dll Updater myUpdater = new Updater(); // updater goes online and check for updates UpdaterFeedback = myUpdater.StartUpdater(); if (updaterfeedback == updatefound) { if (settings.totallyautomatic == true) { updater.doupdater } else { // ask user if they want to update & tell them about the update // also give them some info on it if (userWantsToUpdate == true) { updater.DoUpdate(); } } } } else { continue with the application startup } //////// End updater block ---------------------------- If you have any ideas, please post them I have not a clue how to do the internet update check, if you have any ideas please post them. Thanks

      N Offline
      N Offline
      Nnamdi Onyeyiri
      wrote on last edited by
      #2

      :)well you could use the WebRequest classes to read a txt file from the net that has the latest version number for the app, and if not, downmload the new file. i cannot offer any more help on the matter, and next time, try thinking about it, istead of asking someone to write it for you, if you get stuck on a particular aspect of it, then we'll be more than happy to help.


      :suss: Email: theeclypse@hotmail.com   URL: http://www.onyeyiri.co.uk
      :suss:"All programmers are playwrights and all computers are lousy actors."

      1 Reply Last reply
      0
      • A Alex Korchemniy

        I want to make an automatic update system. Here is my simple plan for one: At the begining of application init, the application will go into the updater block. //////// Updater block psedo code settings = Load application settings; if (user wants auto updates) { //creat an instance of the updater from a library Updater.dll Updater myUpdater = new Updater(); // updater goes online and check for updates UpdaterFeedback = myUpdater.StartUpdater(); if (updaterfeedback == updatefound) { if (settings.totallyautomatic == true) { updater.doupdater } else { // ask user if they want to update & tell them about the update // also give them some info on it if (userWantsToUpdate == true) { updater.DoUpdate(); } } } } else { continue with the application startup } //////// End updater block ---------------------------- If you have any ideas, please post them I have not a clue how to do the internet update check, if you have any ideas please post them. Thanks

        P Offline
        P Offline
        Paul Riley
        wrote on last edited by
        #3

        You could have a web service that you send the current version and if it has something more recent, it can send you the URL to the files you need. Paul

        P 1 Reply Last reply
        0
        • P Paul Riley

          You could have a web service that you send the current version and if it has something more recent, it can send you the URL to the files you need. Paul

          P Offline
          P Offline
          Paul Ingles
          wrote on last edited by
          #4

          I did find example code for an Automatic Updater on GotDotNet.com once, although I've since lost the URL and couldn't find it last time I looked. It was a good solution though, and used a web service to provide details about the latest versions of components etc. -- Paul "I need the secure packaging of Jockeys. My boys need a house!" - Kramer, in "The Chinese Woman" episode of Seinfeld MS Messenger: paul@oobaloo.co.uk Sonork: 100.22446

          1 Reply Last reply
          0
          • A Alex Korchemniy

            I want to make an automatic update system. Here is my simple plan for one: At the begining of application init, the application will go into the updater block. //////// Updater block psedo code settings = Load application settings; if (user wants auto updates) { //creat an instance of the updater from a library Updater.dll Updater myUpdater = new Updater(); // updater goes online and check for updates UpdaterFeedback = myUpdater.StartUpdater(); if (updaterfeedback == updatefound) { if (settings.totallyautomatic == true) { updater.doupdater } else { // ask user if they want to update & tell them about the update // also give them some info on it if (userWantsToUpdate == true) { updater.DoUpdate(); } } } } else { continue with the application startup } //////// End updater block ---------------------------- If you have any ideas, please post them I have not a clue how to do the internet update check, if you have any ideas please post them. Thanks

            E Offline
            E Offline
            ez2
            wrote on last edited by
            #5

            Here is the webpage running on gotdotnet regarding an updater component http://www.gotdotnet.com/team/windowsforms/appupdater.aspx

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups