asp-classic - 在 Classic ASP 的应用程序范围内使用字典对象

标签 asp-classic dictionary scope scripting.dictionary

关注 my last question有谁知道如何在经典 ASP 的应用程序范围内使用字典对象?您不能使用 Scripting.Dictionary - 如果您尝试使用,您将看到类似以下内容:

Application object error 'ASP 0197 : 80004005'
Disallowed object use /xxx.asp, line 2. Cannot add object with apartment model behavior to the application intrinsic object.

我找到了 this article在 (good ol') 4GuysFromRolla 但它指向 Microsoft's free Lookup Component和一个 free Dictionary Component from Caprock Consulting - 这两个都是死链接。

这篇文章清楚地解释了为什么你不能在应用程序范围内使用 Scripting.Dictionary,但我想知道是否有人知道免费的替代品,或者我可以在哪里找到 4GuysFromRolla 提到的旧组件的副本?

最佳答案

我可以使用以下链接从 Caprock Consulting 下载字典组件:http://web.archive.org/web/20000619122506/http://www.caprockconsulting.com/data/CaprockDCT.zip

关于asp-classic - 在 Classic ASP 的应用程序范围内使用字典对象,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/909877/

相关文章:

asp-classic - 为什么 vbscript Mid 函数显示错误 'Invalid Procedure Call or argument : Mid'

javascript - 如何在经典 ASP 中显示有关下拉框值的工具提示?

c# - 对 BiDirection 字典使用集合初始值设定项

java - 在 switch 语句中将值从一种情况传递到另一种情况

asp-classic - VB : how to get the index(es) of an array element if used in For Each

asp.net - 在集成模式下运行的 IIS 7 经典 ASP 应用程序

python - 在 django 模板中显示字典键

python - 使用 __getattr__ 和 __setattr__ 功能实现类字典对象

javascript - 如何在不同范围内使用 DOM 引用 .values? (重构/范围问题)

ruby-on-rails - 将使用命名范围对错误计数的奇怪进行分页