开发者

How to check if CAB file is downloaded by a user in Internet Explorer

I have a page that hosts CAB file like the one below

<object id="SOmeID" class="Class1" codebase="..\CAB\Client.cab#version=2,0,0,2" classid="clsid:SomeIDComeshere" VIEWASTEXT >

When this page is browsed the first time, there is a message to download the CAB file and is upto the user's choice to download or not Some users prefer not to download.

Due to this certain pages are not rendered correctly or do not function as they are expected to.

My question: When client call up to report an issue, how do I check if they have downloaded the cab file or not? Is there any 开发者_Go百科windows folders i need to check for?


Use ActiveXObject object:

try { 
   var control = new ActiveXObject(ProgId);
   // installed
}
catch(e) {
   // not installed
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜