ADO object:
Connection
Command
Recordset
Record
Stream
ASP supports many objects. You can compile COM components by yourself. The following are frequently 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 ")
We should know the following:
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 ")
// MSMQ
Server. Createobject ("MSMQ. msmqqueueinfo ")
Createobject ("MSMQ. msmqquery ")
// Full-text index
Server. Createobject ("ixsso. Query ")
Server. Createobject ("ixsso. util ")
I have not summarized the email sending components. Please summarize them with enthusiasm:
CDO, jmail, IMail, etc.
The following are some uncommon objects:
ACCPAC advantage corporate:
Oaccpac = Createobject ("ACCPAC. xapisession ")
ACCPAC report master for Windows:
Oimpapp = Createobject ("Impromptu. application.30 ")
Bartender:
Obarparts = Createobject ("barparts. 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 ")
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 cant directly create this object without a development licence, so for dynamically doing it on another machine, see below. -- petercrabtree
The MS Internet Explorer:
OIE = Createobject ("internetexplorer. application ")
Ieautomationexample
MS mappoint:
Omappoint = Createobject ("mappoint. application ")
MSN Messenger:
Omessenger = Createobject ("msnmessenger. messengerapp ")
NetMeeting MS:
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: I do not know, the website is not registered.
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)
Windows Shell:
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 ")