Summary of the object of ASP

Source: Internet
Author: User
Tags object sql client access msmq
Object ADO objects (too often):
Connection
Command
RecordSet
Record
Stream

ASP supports too many objects, you can write your own COM components, the following is what we often use:
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.") SQL Server ")
CreateObject ("SQLDMO.") Login ")
CreateObject ("SQLDMO.") Backup ")
CreateObject ("SQLDMO.") User ")
Server.CreateObject ("SQLDMO.") BackupDevice ")
Server.CreateObject ("SQLDMO.") Database ")
Server.CreateObject ("SQLDMO.") Restore ")
For specific examples, see the connection below.
Http://www.asp101.com/articles/carvin/sqldmobackup/default.asp

of MSMQ
Server.CreateObject ("MSMQ.") MSMQQueueInfo ")
CreateObject ("MSMQ.") MSMQQuery ")
of Full-text Indexing
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 doesn ' t 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") &&!!! Can ' t directly create this object without a development licence, so for dynamically doing it on another machine, b Elow. --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 (

[1] [2] Next page



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.