check for updates functionality

Posted on 2004-11-24
Last Modified: 2012-05-05
How do you implement a "check for updates" functionality in a windows application? I guess you check a file on a webserver containing a version number, compare that to the running version of the app, let the user know the result and provide download link.

Does someone have complete sample code?
Question by:netslt
    LVL 18

    Assisted Solution

    LVL 18

    Expert Comment


    Also see some autoupdater components
    LVL 69

    Accepted Solution


    Author Comment

    I see these solutions work for dll and exe, would it also work to update just some binary database files (.dat files) that are part of the application, or would I need another solution for this?

    Like this I could just update the .dat files (that change monthly) instead of updating the complete application.
    LVL 69

    Expert Comment

    by:Éric Moreau
    I have created my own application (inspired from the link I gave you) that copies all the files (and subfolders) of a source folder. Your imagination is the limit!

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Article by: jpaulino
    XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String ( Literal, only instead of starting and ending with w…
    Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now