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