资 源 简 介
由于程序的需要,我需要做一个使程序自动更新的小程序,找了找网上,介绍的都不够详细,这里我给出一个完整的自动更新的程序!
此程序为外部升级程序(需要主程序的调用),具体代码这里就不罗列了,还是自己看源代码吧.此程序主要的思路是通过读取服务器文件获得升级版本及升级地址,有新版本则下载 如果想做成内部升级程序(在主程序内部自动检测及自动升级),只需要在主程序启动时相关的代码即可,大家不仿试试,主要的思路与这个是差不多的,不同之处是怎么处理主程序的自动关闭与启动问题.
-procedures needed, I need to do a procedure to enable automatic updating of small procedures, finding the Internet to find, introduced the detailed enough, and here I give a complete automatic update procedures! This procedure for external promotion procedures (need to call the main program), the specific code is not listed here , or your own source code to see it. The procedure is thinking through the server the document is read updates and upgrades address, the new version will have to download if they wish to create internal promotion procedures (in the main program of internal automatic detection and automatic updates), the main program needs only activated when the code can be we try not imitation, the main idea with this is similar to the dif