.CAB 文件在我的网络服务器上的哪里?

发布于 2024-08-20 05:17:49 字数 364 浏览 6 评论 0原文

我正在开发一个使用第 3 方 ActiveX 控件的 ASP Classic 站点。我以前从未使用过 ActiveX 控件,并且不确定将 .CAB 文件放在 Web 服务器上的何处,以便在 IE 无法运行对象时通过 IE 安装它们。 有人能指出我正确的方向吗? 我的页面中加载对象的代码如下所示:

我应该将“RawDataPrinter.CAB”文件放在服务器上的什么位置?

I am working on an ASP Classic site that uses 3rd party ActiveX controls. I've never worked with ActiveX controls before and I'm not sure where to put the .CAB files on my web server to get them to install through IE when IE can't run the objects.
Could someone point me in the right direction?
The code in my page to load the object looks like this:

<object id="Printer" classid="CLSID:402C09CD-68ED-48B0-B008-E7B01DDBD2D5" codebase="RawDataPrinter.CAB#version=2,0,0,0">
</object>

Where do I put that "RawDataPrinter.CAB" file on my server?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

揽月 2024-08-27 05:17:49

从服务器的角度来看,CAB 文件只是数据文件。它们不在服务器上执行 - 它们在客户端上安装和执行,这就是重点。所以把它们放在任何你想要的地方。例如,在网站的根目录下创建一个名为“cab”的子文件夹并将其放置在那里。

如果 ActiveX(又名“对象”)在 IE 中被禁用,那么您必须在 ASP 中复制所需的功能。根据项目的性质,这可能可行,也可能不可能。

From the server standpoint, the CAB files are just data files. They're not executed on the server - they're installed and executed on the client, that's the whole point. So place them anywere you want. For example, create a subfolder called "cab" under the root of your website and place them there.

If ActiveX (AKA "objects") is disabled in IE, then you have to duplicate the desired functionality in ASP. Depending on the nature of the project, it may or may not be possible.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文