ASP 공통 개체 요약(향후 개발 및 사용에 대해 숙지)
ADO 객체:
연결
명령
레코드세트
기록
개울
ASP는 많은 개체를 지원하며 자신만의 COM 구성 요소를 작성할 수 있습니다. 다음은 우리가 자주 사용하는 것입니다.
Server.CreateObject("scripting.filesystemobject")
Server.CreateObject("scripting.dictionary")hashtable
server.createxobject("word.Application")//서버
activexobject("word.Application")//클라이언트
Server.CreateObject("Excel.Application")//서버
activexobject("Excel.Application")//클라이언트
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.시트")
ms 프론트페이지: ofp = CreateObject("frontpage.Application")
ms 액세스: oaccess = CreateObject("access.Application")
ms 그래프: 그래프 = CreateObject("msgraph.Application")
우리가 알아야 할 사항은 다음과 같습니다.
CreateObject("photoshop.응용 프로그램")
//SQL서버에 대하여
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 이점 기업:
oaccpac=CreateObject("accpac.xapisession")
Windows용 accpac 보고서 마스터:
oimpapp=CreateObject("impromptu.Application.30")
바텐더:
obartender = CreateObject("bartender.Application")
크리스탈 리포트:
ocrApplication = CreateObject("crystalruntime.Application")
이것은 실제로 ide를 호출하지 않습니다.
유도라:
oeud = CreateObject("eudora.euApplication.1")
팩스 메이커:
ofax = CreateObject("fmfaxapi.Application")
그룹별:
ogroupwise = CreateObject("novellgroupwaresession")
연꽃 노트:
onotes = CreateObject("notes.notesession")
onotes = CreateObject("notes.notesuiworkspace")
onotes = CreateObject("lotus.notesession")(domino 5.0.3)
ms 공통 대화 상자:
ocommmondialog = CreateObject("mscomdlg.commondialog")&& !!! 개발 라이센스 없이는 이 개체를 직접 생성할 수 없으므로 다른 컴퓨터에서 동적으로 수행하려면 아래를 참조하십시오. -- petercrabtree.
ms 인터넷 익스플로러:
oie = CreateObject("internetexplorer.Application")
즉자동화예제
ms 지도점:
omappoint = CreateObject("mappoint.Application")
MSN 메신저:
omessenger = CreateObject("msnmessenger.messengerapp")
ms 넷미팅:
onetmeeting=CreateObject("netmeeting.app.1")
ms 전망:
ooutlook = CreateObject("outlook.Application")
ms outlook express: 없음 - com 서버가 아닙니다!
ms 파워포인트:
opp = CreateObject("powerpoint.Application")
ms 프로젝트:
oproj = CreateObject("msproject.Application")
ms 소스안전:
ovss = CreateObject("sourcesafe.0")
ms 단어:
oword = CreateObject("word.Application")
msvisio:
ovisio = CreateObject("visio.Application")
ms Visualbasic: 모르겠습니다. 해당 웹사이트가 아직 등록되지 않았습니다.
ms 시각적cplusplus: (vc++)
ocpp = CreateObject("msdev.Application")
MS 비주얼폭스프로:
ovfp = CreateObject("visualfoxpro.Application")
ms windowsscriptinghost:
owsh = CreateObject("wscript.shell")
노벨 그룹별:
ogroupwise = CreateObject("novellgroupwaresession")
pcanywhere(호스트):
opcahost = CreateObject("winawsvr.behostdatamanager")
pcanywhere(원격):
opcarem = CreateObject("winawsvr.remotedatamanager")
퀵북:
qbsessionmanager = CreateObject("qbfc2.qbsessionmanager")
합리적인장미:
orose = CreateObject("rose.Application")
타피팩스:
오타피팩스 = CreateObject(팩스서버.팩스서버)
윈도우쉘:
owsh = CreateObject("shell.Application")
윈도우 미디어 플레이어:
owmp = CreateObject("wmplayer.ocx")
oplaylist = owmp.playlistcollection.getall()
owmp.currentplaylist = oplaylist.item(0)&& 0 기반 배열 *!* 음악이 시작됩니다!
윈도우 메신저:
omessenger = CreateObject("messenger.messengerapp")
윈팩스:
owinfax = CreateObject("winfax.sdksend")
윈프린트:
owinprint = CreateObject("winprint.winprintx")
sql-dmo 객체:
losql = CreateObject("sqldmo.Application")
기타:
스크립팅 셸:
oshell = CreateObject("wscript.shell")
스크립팅 네트워크 개체:
onet = CreateObject("wscript.network")
스크립팅 정규 표현식_r_r 파서:
oreg = CreateObject("vbscript.regexp")
SQL DMO SQL 서버:
CreateObject("sqldmo.sqlserver")