List of CreateObject Functions (Visual Basic)

Rate Guide Rating_0_0 (0)
620829508

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”)

Share on StumbleUpon Share on Facebook Tweet this Guide! Share on Digg Share on Reddit Add to del.icio.us

Discussions

I would like to know how to put the width of the report in Crystal Report 7.0 and Data Report I thank you for your helpful replies