Jump to content


how do you make an updater in visual basic 6.0 or 2005


2 replies to this topic

#1 jeremy6996

    New Member

  • Members
  • PipPip
  • 25 posts

Posted 23 November 2006 - 11:15 PM

Can enyone here tell me how to create and updater in visual basic 2005 or 6.0

#2 Reedbeta

    DevMaster Staff

  • Administrators
  • 4782 posts
  • LocationBellevue, WA

Posted 24 November 2006 - 02:51 AM

What do you mean by an updater?
reedbeta.com - developer blog, OpenGL demos, and other projects

#3 cypher543

    Member

  • Members
  • PipPip
  • 74 posts

Posted 24 November 2006 - 06:34 AM

When the application loads, generate a hash from the data files, then compare it with a hash that you have stored on an update server. If the hashes are different, download the new data files from the update server and replace the old ones on the local machine.

You'll need to use a mix of the System.Cryptography and System.Net classes for that type of thing (assuming you are using VB2005). VB6 will need Sockets and I'm not sure if VB6 has an MD5 algorithm built-in. Plus, you'll have to build a simple server to listen for requests, compare hashes, and serve data files for download.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users