CreateCOMObject

CreateCOMObject[str]
creates a COM object specified by the string str.

DetailsDetails

  • To use CreateCOMObject, you first need to load .NET/Link using Needs["NETLink`"].
  • The string can be either a ProgID (such as "Excel.Application") or a CLSID (such as "{8E27C92B-1264-101C-8A2F-040224009C02}").
  • CreateCOMObject is analogous to the COM API function CoCreateInstance.
New to Mathematica? Find your learning path »
Have a question? Ask support »