文件名称:vbsj
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [Basic/ASP] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 27kb
- 下载次数:
- 0次
- 提 供 者:
- gua****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
详细说明:
1.在MainPrg.vbp中有以下两个常数定义
Const INIFILENAME = "MainPrg.ini" //配置文件,记载了需要升级的文件信息
Const szURL = "http://172.18.6.70/update/" //需改成调试环境中存放更新文件的网址,任何客户端需有权访问
2.在服务器端建立update目录,将提供的文件包中的update目录下的文件拷入.
3.在服务器端配置IIS,建立名为update虚拟目录。主目录指向2中的update目录。
如果iis是6.0版本,还需要为ini 文件添加MIME 类型,因为IIS6.0 只为对具有已知文件扩展名的文件的请求提供服务。
而默认状态下ini文件扩展名未映射到已知的扩展,则服务器拒绝请求。iis 配置成功与否,简单的判别方法以
在客户端浏览器中键入"1"中szURL项定义的地址能否下载到服务器上update目录下的相关文件为标准.
4.在服务器端的配置文件MainPrg.ini中记载的Mainprg.exe的版本信息需与Mainprg.exe文件的实际版本信息相符.
注:在提供的文件包中服务器端的Mainprg.exe版本为1.17,客户端的Mainprg.exe文件版本为1.16-Elaborate on:
1.At have in the MainPrg.vbp following two constant definition
Const INIFILENAME = "MainPrg.ini" // Install the document, jot down the document information that demand upgrade
The Const szURL=" http://172.18.6.70/ update/"// need to be change adjust to try to deposit the Web address of renew the document in the environment, any customer carries to need to have the power interview
2.Carry to build up the catalogue of update in the server, the document that will provide wraps the medium catalogue of update under of document 拷 go into.
3.Carry to install the IIS in the server, build up being named the virtual catalogue of update.The main catalogue points to 2 medium catalogues of update.
If the iis is 6.0 editions, still needing to increase the type of MIME for the document of ini, because IIS6.0 only for provide the service towards have already document of know the document file extension of request.
But recognize tacitly the appearance the ini document file
1.在MainPrg.vbp中有以下两个常数定义
Const INIFILENAME = "MainPrg.ini" //配置文件,记载了需要升级的文件信息
Const szURL = "http://172.18.6.70/update/" //需改成调试环境中存放更新文件的网址,任何客户端需有权访问
2.在服务器端建立update目录,将提供的文件包中的update目录下的文件拷入.
3.在服务器端配置IIS,建立名为update虚拟目录。主目录指向2中的update目录。
如果iis是6.0版本,还需要为ini 文件添加MIME 类型,因为IIS6.0 只为对具有已知文件扩展名的文件的请求提供服务。
而默认状态下ini文件扩展名未映射到已知的扩展,则服务器拒绝请求。iis 配置成功与否,简单的判别方法以
在客户端浏览器中键入"1"中szURL项定义的地址能否下载到服务器上update目录下的相关文件为标准.
4.在服务器端的配置文件MainPrg.ini中记载的Mainprg.exe的版本信息需与Mainprg.exe文件的实际版本信息相符.
注:在提供的文件包中服务器端的Mainprg.exe版本为1.17,客户端的Mainprg.exe文件版本为1.16-Elaborate on:
1.At have in the MainPrg.vbp following two constant definition
Const INIFILENAME = "MainPrg.ini" // Install the document, jot down the document information that demand upgrade
The Const szURL=" http://172.18.6.70/ update/"// need to be change adjust to try to deposit the Web address of renew the document in the environment, any customer carries to need to have the power interview
2.Carry to build up the catalogue of update in the server, the document that will provide wraps the medium catalogue of update under of document 拷 go into.
3.Carry to install the IIS in the server, build up being named the virtual catalogue of update.The main catalogue points to 2 medium catalogues of update.
If the iis is 6.0 editions, still needing to increase the type of MIME for the document of ini, because IIS6.0 only for provide the service towards have already document of know the document file extension of request.
But recognize tacitly the appearance the ini document file
(系统自动生成,下载前可以参看下载内容)
下载文件列表
使用VB60实现软件的强制自动升级
..............................\AutoUpdate.bas
..............................\frmSplash.frm
..............................\frmSplash.frx
..............................\MainPrg.exe
..............................\MainPrg.ini
..............................\MainPrg.vbp
..............................\MainPrg.vbw
..............................\Moudle1.bas
..............................\MSSCCPRJ.SCC
..............................\mSubclass.bas
..............................\README.txt
..............................\update
..............................\......\MainPrg.exe
..............................\......\MainPrg.ini
..............................\......\Template1.XLT
..............................\......\Template2.XLT
..............................\使用说明.txt
..............................\项目说明.txt
..............................\AutoUpdate.bas
..............................\frmSplash.frm
..............................\frmSplash.frx
..............................\MainPrg.exe
..............................\MainPrg.ini
..............................\MainPrg.vbp
..............................\MainPrg.vbw
..............................\Moudle1.bas
..............................\MSSCCPRJ.SCC
..............................\mSubclass.bas
..............................\README.txt
..............................\update
..............................\......\MainPrg.exe
..............................\......\MainPrg.ini
..............................\......\Template1.XLT
..............................\......\Template2.XLT
..............................\使用说明.txt
..............................\项目说明.txt