I have a task which requires me to create rows of tables using MSXML ActiveXObjects. I don't understand what an ActiveXObject has to do with anything. How could I create a table with that? Why wouldn't I just create the table in the HTML DOM?
我有一个任务,要求我使用MSXML ActiveXObjects创建表行。我不明白ActiveXObject与任何东西有什么关系。我怎么能用它创建一个表?为什么我不在HTML DOM中创建表?
I read various threads and concluded that there seems to be a layer within the browser that is responsible for data transport of non-html related data. Is this essentially the point of ActiveXObjects?
我阅读了各种线程并得出结论,浏览器中似乎有一个层负责非HTML相关数据的数据传输。这本质上是ActiveXObjects的重点吗?
This is essentially what I am trying to make: I just don't understand what roll the ActiveXObject plays here
这基本上就是我想要做的:我只是不明白ActiveXObject在这里播放的内容
1 个解决方案
#1
1
It is actually pretty straight forward: the ActiveXObject
is a Microsoft extension to JavaScript that provides you with an interface to Microsoft's software framework ActiveX. ActiveX basically is a set of modular software components which are used to build Microsoft's software products (which are in turn also available as ActiveX components, e.g. Excel).
它实际上非常简单:ActiveXObject是JavaScript的Microsoft扩展,为您提供Microsoft软件框架ActiveX的接口。 ActiveX基本上是一组模块化软件组件,用于构建Microsoft的软件产品(反过来也可用作ActiveX组件,例如Excel)。
维基文章
You can find some examples on the use of the ActiveXObject
in the link below.
您可以在下面的链接中找到有关ActiveXObject使用的一些示例。
MSDN文档
I can only guess what your task is, but if it involves at any point the use of a proprietary Microsoft specific software component, that would be the reason for using the ActiveXObject
. Some functionalities provided by the ActiveXObject
are however redundant (e.g. Microsoft.XMLHTTP
since newer versions of Internet Explorer implement the standardized XMLHttpRequest
interface).
我只能猜测你的任务是什么,但如果它涉及使用专有的Microsoft特定软件组件,那么这就是使用ActiveXObject的原因。然而,ActiveXObject提供的一些功能是多余的(例如Microsoft.XMLHTTP,因为较新版本的Internet Explorer实现了标准化的XMLHttpRequest接口)。
#1
1
It is actually pretty straight forward: the ActiveXObject
is a Microsoft extension to JavaScript that provides you with an interface to Microsoft's software framework ActiveX. ActiveX basically is a set of modular software components which are used to build Microsoft's software products (which are in turn also available as ActiveX components, e.g. Excel).
它实际上非常简单:ActiveXObject是JavaScript的Microsoft扩展,为您提供Microsoft软件框架ActiveX的接口。 ActiveX基本上是一组模块化软件组件,用于构建Microsoft的软件产品(反过来也可用作ActiveX组件,例如Excel)。
维基文章
You can find some examples on the use of the ActiveXObject
in the link below.
您可以在下面的链接中找到有关ActiveXObject使用的一些示例。
MSDN文档
I can only guess what your task is, but if it involves at any point the use of a proprietary Microsoft specific software component, that would be the reason for using the ActiveXObject
. Some functionalities provided by the ActiveXObject
are however redundant (e.g. Microsoft.XMLHTTP
since newer versions of Internet Explorer implement the standardized XMLHttpRequest
interface).
我只能猜测你的任务是什么,但如果它涉及使用专有的Microsoft特定软件组件,那么这就是使用ActiveXObject的原因。然而,ActiveXObject提供的一些功能是多余的(例如Microsoft.XMLHTTP,因为较新版本的Internet Explorer实现了标准化的XMLHttpRequest接口)。