List of CreateObject Functions (Visual Basic)
A list of commonly used application and scripting objects that can be created using the CreateObject Function.
Note about Text Formatting
Due to the text markup language in use on Guidespot, some of the characters namely quotes, double dashes, and apostrophies, are changed to a different character encoding which may be incompatable with your vb compiler. As such, all source code in a form which can be compiled is provided in the link below.
Download Clean Code
Special Thanks to Datafilehost.com for providing a service that allows me to make clean code available for download. You Rock!
Application Objects
CreateObject(“Word.Application”)
CreateObject(“Excel.Application”)
CreateObject(“Photoshop.Application”)
CreateObject(“Outlook.Application”)
CreateObject(“Access.Application”)
CreateObject(“FrontPage.Application”)
CreateObject(“InternetExplorer.Application”)
CreateObject(“PowerPoint.Application”)
Form Objects
CreateObject(“MSComDlg.CommonDialog”)
CreateObject(“ShockwaveFlash.ShockwaveFlash”)
ADO Database Objects
CreateObject(“ADODB.Connection”)
CreateObject(“ADODB.Recordset”)
CreateObject(“ADODB.Command”)
CreateObject(“ADODB.Stream”)
Scripting Objects
CreateObject(“Scripting.FilesystemObject”)
CreateObject(“Scripting.Dictionary”)
CreateObject(“MSScriptControl.ScriptControl”)
CreateObject(“WScript.Shell”)
CreateObject(“WScript.Network”)
CreateObject(“Shell.UIHelper”)
CreateObject(“VBScript.Regexp”)
XML Document Objects
CreateObject(“Microsoft.XMLDOM”)
CreateObject(“Microsoft.XMLHTTP”)
CreateObject(“MSXML2.DomDocument”)
Email Objects
CreateObject(“Outlook.Application”)
CreateObject(“MAPI.Session”)
CreateObject(“MSMAPI.MAPISession”)
CreateObject(“MSMAPI.MAPIMessages”)
SOAP Objects
CreateObject(“MSSOAP.SoapClient”)
CreateObject(“MSSOAP.SoapClient30”)
CreateObject(“MSSOAP.FileAttachment30”)
Other / Misc.
CreateObject(“MSWinsock.Winsock.1”)
Guides We Think You'll Like
About The Author
Capital Hill, Denver
I should have taken the blue pill.
Explore
Categories In This Guide
What Is the Your Favorite Color?
Blue... no Green!
Discussions