Site icon Automation Dojos

Does VBScript Supports all COM Objects ?

Well the answer in one line is – No VBScript does not supports all COM Objects or Servers!

VBScript works with only a subset of ‘Objects’ knows as ‘Automation Objects‘. As per the official literature, ‘All COM objects must support one or more interfaces, which are simply the avenues by which a COM client can access a COM server. Any object which supports IDispatch interface is known as the Automation Object. Since not all COM objects support this interface hence VBScript does not directly work with all COM objects’

For more information on COM and Automation Objects refer to earlier post on ‘In-Proc and Out-Proc‘ servers here.

Exit mobile version