国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > ASP > 正文

ASP 常見對象總結(熟悉一下利用以后的開發使用

2024-05-04 11:08:41
字體:
來源:轉載
供稿:網友
ASP 常見對象總結(熟悉一下利用以后的開發使用)
 
 
 
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")
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 渑池县| 临汾市| 儋州市| 长寿区| 会东县| 吉木乃县| 宁南县| 闵行区| 布拖县| 兴安盟| 乐昌市| 南溪县| 巴中市| 梓潼县| 陆川县| 桦甸市| 东阳市| 锡林郭勒盟| 舟曲县| 通许县| 定襄县| 神农架林区| 沾化县| 图木舒克市| 霍山县| 新野县| 台州市| 东港市| 中江县| 云安县| 焉耆| 栖霞市| 岳池县| 闵行区| 三都| 那曲县| 莆田市| 许昌市| 隆林| 霞浦县| 霞浦县|