有那位大哥帮一下妹妹呀!急救!帮帮MM!
当创建组件的对象时,在Server.CreateObject中传递哪些参数?
(A) ASPSESSIONID (B) SERVERID (C) APPLICATIONID (D) PROGID
------解决方案--------------------SERVERID
------解决方案--------------------RecordSet rs=server.createobject( "recordset ")
从例子中可以看出是 PROGID
------解决方案--------------------ASP支持的对象太多了,你可以自己写COM组件,下面是我们经常使用的:
Server.CreateObject( "Scripting.FileSystemObject ")
Server.CreateObject( "Scripting.Dictionary ") HashTable
Server.CreateXObject( "Word.Application ") //Server
ActiveXObject( "Word.Application ") //Client
Server.CreateObject( "Excel.Application ") //Server
ActiveXObject( "Excel.Application ") //Client
CreateObject( "PowerPoint.Application ")
Server.CreateObject( "Microsoft.XMLHTTP ")
Server.CreateObject( "Microsoft.XMLDOM ")
Server.CreateObject( "MSXML2.XMLHTTP.4.0 ")
Server.CreateObject( "WScript.Shell ")
Server.CreateObject( "wscript.network ") //网络地址的
Server.CreateObject( "MSWC.AdRotator ")