我在网页上引用一个activex控件,如何实现自动版本更新??

cxz7531 2004-10-10 09:33:48
如下,
<object
classid="clsid:6ABC8C-513C-4504-A605-1E0GGG3DE868"
codebase=http://192.168.0.34/ac/abc.inf#version=1,0,3,0'
id="zpepact"
vspace="0">
</object>
因为web服务器在我的机器上(192.168.0.3),而activeX控件在192.168.0.34上,而且是别的公司的人开发的。
我要实现的效果是,只要http://192.168.0.34/ac/abc.inf 改变。以后用户访问该网页的时候,自动取控件的最新版本,不用手工更新控件
...全文
147 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
lilei_jn 2004-10-10
  • 打赏
  • 举报
回复
关注,帮你顶
sjjf 2004-10-10
  • 打赏
  • 举报
回复
Special case: #Version=-1,-1,-1,-1
This value instructs Internet Explorer 3.0 and later to download and install the latest version of a component. If the component is not installed on the client computer, Internet Explorer downloads and installs the component. If the component is installed on the client computer, Internet Explorer downloads the component if the release date is later than the installation date on the client computer. If the component is installed on the client computer and the release date is the same or earlier than the installation date, only an HTTP header transaction occurs.
bflovesnow 2004-10-10
  • 打赏
  • 举报
回复
.NET 的 SmartClient 技术,呵呵~
sjjf 2004-10-10
  • 打赏
  • 举报
回复
不是的,如果没有,那么就去下载,如果已经有了,那么就会比较用当前版本比较最新版本,如果是当前版本则不用下载,如果不是当前版本,那么就去下载最新的版本.msdn上如是说.你找找吧,我忘了是那篇了.
cxz7531 2004-10-10
  • 打赏
  • 举报
回复
to sjjf(水晶剑锋)

我的目的是自动判断有没有新版本,有则更新控件。否则就什么也不作。Version=-1,-1,-1,-1好像是每次访问都去下载,那样也不好,速度很慢
sjjf 2004-10-10
  • 打赏
  • 举报
回复
#Version=-1,-1,-1,-1
将会自动下载最近最新的文件
cxz7531 2004-10-10
  • 打赏
  • 举报
回复
我有个土办法,不够专业。先捕捉abc.inf文件,判断版本号,然后在jsp页面上,把版本号填在#version=后。

87,922

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧