建站极客
网络编程 ASP编程 正文
ASP 常见对象总结(熟悉一下利用以后的开发使用)
所属分类:
网络编程 / ASP编程
阅读数:
1603
收藏 0
赞 0
分享
ADO对象: Connection Command Recordset Record Stream 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") CreateObject("Excel.sheet") ms frontpage: ofp = CreateObject("frontpage.Application") ms access: oaccess = CreateObject("access.Application") ms graph: ograph = CreateObject("msgraph.Application") 下面是我们应该知道的: CreateObject("photoshop.Application") //关于sql server的 CreateObject("sqldmo.sqlserver") CreateObject("sqldmo.login") CreateObject("sqldmo.backup") CreateObject("sqldmo.user") Server.CreateObject("sqldmo.backupdevice") Server.CreateObject("sqldmo.database") Server.CreateObject("sqldmo.restore") //msmq的 Server.CreateObject("msmq.msmqqueueinfo") CreateObject("msmq.msmqquery") //全文索引的 Server.CreateObject("ixsso.query") Server.CreateObject("ixsso.util") 邮件发送的组件我没有总结,请热心的朋友总结出来: cdo,jmail,imail等。 下面一些是不太常见的对象: accpac advantage corporate: oaccpac=CreateObject("accpac.xapisession") accpac report master for windows: oimpapp=CreateObject("impromptu.Application.30") bartender: obartender = CreateObject("bartender.Application") crystalreports: ocrApplication = CreateObject ("crystalruntime.Application") this doesnt invoke an ide actually. eudora: oeud = CreateObject("eudora.euApplication.1") faxmaker: ofax = CreateObject("fmfaxapi.Application") groupwise: ogroupwise = CreateObject("novellgroupwaresession") lotusnotes: onotes = CreateObject("notes.notessession") onotes = CreateObject("notes.notesuiworkspace") onotes = CreateObject("lotus.notessession")(domino 5.0.3) ms common dialog: ocommmondialog = CreateObject("mscomdlg.commondialog")&& !!! you cant directly create this object without a development licence, so for dynamically doing it on another machine, see below. -- petercrabtree ms internet explorer: oie = CreateObject("internetexplorer.Application") ieautomationexample ms mappoint: omappoint = CreateObject("mappoint.Application") msn messenger: omessenger = CreateObject("msnmessenger.messengerapp") ms netmeeting: onetmeeting=CreateObject("netmeeting.app.1") ms outlook: ooutlook = CreateObject("outlook.Application") ms outlook express: none - it is not a com server! ms powerpoint: opp = CreateObject("powerpoint.Application") ms project: oproj = CreateObject("msproject.Application") ms sourcesafe: ovss = CreateObject("sourcesafe.0") ms word: oword = CreateObject("word.Application") ms visio: ovisio = CreateObject("visio.Application") ms visualbasic: 不知道,网站也没有登记出来。 ms visualcplusplus: (vc++) ocpp = CreateObject("msdev.Application") ms visualfoxpro: ovfp = CreateObject("visualfoxpro.Application") ms windowsscriptinghost: owsh = CreateObject("wscript.shell") novell groupwise: ogroupwise = CreateObject("novellgroupwaresession") pcanywhere (host): opcahost = CreateObject("winawsvr.behostdatamanager") pcanywhere (remote): opcarem = CreateObject("winawsvr.remotedatamanager") quickbooks: qbsessionmanager = CreateObject("qbfc2.qbsessionmanager") rationalrose: orose = CreateObject("rose.Application") tapifax: otapifax = CreateObject(faxserver.faxserver) windowsshell: owsh = CreateObject("shell.Application") windows media player: owmp = CreateObject("wmplayer.ocx") oplaylist = owmp.playlistcollection.getall() owmp.currentplaylist = oplaylist.item(0)&& zero based array *!* music starts! windows messenger: omessenger = CreateObject("messenger.messengerapp") winfax: owinfax = CreateObject("winfax.sdksend") winprint : owinprint = CreateObject("winprint.winprintx") sql-dmo object: losql = CreateObject("sqldmo.Application") others: scripting shell: oshell = CreateObject("wscript.shell") scripting network object: onet = CreateObject("wscript.network") scripting regular expression_r_r parser: oreg = CreateObject("vbscript.regexp") sql dmo sql server: CreateObject("sqldmo.sqlserver")
ASP编码和解码函数详解 这篇文章主要介绍了ASP编码和解码函数的相关资料,需要的朋友可以参考下
评论 0
收藏 0
赞 0
分享
ASP显示页面执行时间的方法 这篇文章主要介绍了ASP显示页面执行时间的方法,在本地测试一下输出页面需要多少时间,需要的朋友可以参考下
评论 0
收藏 0
赞 0
分享
ASP基础入门第一篇(ASP技术简介) 本文将以 Active Server Pages 为中心,向你全面展示制作动态商业网站的步骤和技巧并通过大量的实例,让你在不断的理论和实践之中笑傲“网络”……
评论 0
收藏 0
赞 0
分享
ASP基础入门第二篇(ASP基础知识) 这篇文章是ASP基础入门第二篇,第一篇展示了ASP动态网站设计的一些最基本的方法,相信通过实践各位对 ASP 已经有了最基本的了解,本文将进一步介绍ASP动态网站的一些基本技巧,需要的朋友可以参考下
评论 0
收藏 0
赞 0
分享
ASP基础入门第三篇(ASP脚本基础) 通过前两篇的学习,相信各位已经对 ASP 的动态网站设计有了一个基本的概念和整体的印象。从本篇开始作者将从脚本语言的使用着手,由浅入深地带领大家探索 ASP 动态网站设计的真正奥秘。
评论 0
收藏 0
赞 0
分享
ASP基础入门第五篇(ASP脚本循环语句) 在本文上两篇中,我们学习了脚本语言 VBScript 的变量、函数、过程和条件语句,本篇将继续给大家介绍 VBScipt 的循环语句,并对脚本语言在 ASP 中的应用加以总结。
评论 0
收藏 0
赞 0
分享
查看更多