应该是什么参数create object
下面的代码如何在vbscript中创建集合对象?
dim a
set a=CreateObject("Collection") //getting a runtime error saying ActiveX
//component can't create object: 'Collection
a.add(CreateObject("Collection"))
a.Items(0).Add(1)
MsgBox(a.Items(0).count)
MsgBox(a.Items(0).Item(0))
通常你将导入这样的:的CreateObject( “library.class”)。我想你错过了其中的一个部分。 – bdhar 2010-05-19 10:47:19
CreateObject(“library.class”) - 在这个库和我们应该提供的类? - 我们正在寻找这些细节.. – Onnesh 2010-05-19 11:01:05