Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

check for updates functionality

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?
0
netslt
Asked:
netslt
  • 2
  • 2
2 Solutions
 
armoghanCommented:
netslt,

Also see some autoupdater components
http://www.stargeek.com/item/98376.html
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
netsltAuthor Commented:
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.
0
 
Éric MoreauSenior .Net ConsultantCommented:
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!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now