ASP Common Object Summary (familiar with the use of future development) _ Application techniques

Source: Internet
Author: User
Tags msmq pcanywhere
ADO objects:
Connection
Command
Recordset
Record
Stream

ASP supports a lot of objects, you can write their own COM components, the following are often used:

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")//Network address
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 ")

Here's what we should know:
CreateObject ("Photoshop.") Application ")

About 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")



of MSMQ
Server.CreateObject ("Msmq.msmqqueueinfo")
CreateObject ("Msmq.msmqquery")

//Full-text indexed
Server.CreateObject ("Ixsso.query")
Server.CreateObject ("Ixsso.util")

Components sent by mail I did not summarize, please the enthusiastic friend summed up:
Cdo,jmail,imail and so on.

some of the following are less common objects:
Accpac Advantage Corporate:
Oaccpac=createobject ("Accpac.xapisession")

Accpac the Master for Windows:
Oimpapp=createobject ("Impromptu.") application.30 ")

Bartender:
Obartender = CreateObject ("Bartender"). Application ")

Crystalreports:
Ocrapplication = CreateObject ("Crystalruntime"). Application ")
This is doesnt invoke an IDE actually.

Eudora
Oeud = CreateObject ("Eudora.euapplication.1")

Faxmaker:
Ofax = CreateObject ("Fmfaxapi"). Application ")

GroupWise
Ogroupwise = CreateObject ("Novellgroupwaresession")

Lotus notes:
Onotes = CreateObject ("Notes.notessession")
Onotes = CreateObject ("Notes.notesuiworkspace")
Onotes = CreateObject ("Lotus.notessession") (Domino 5.0.3)

Ms Common Dialog:
Ocommmondialog = CreateObject ("Mscomdlg.commondialog") &&!!! You are cant directly create this object without a development licence and so for dynamically doing it on another machine Low. --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: Do not know, the website also did not register out.

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")
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.