MATLAB: How to know the COM Server Program ID of Various Applications to use in MATLAB

activexactxserverMATLAB

How can i know the COM Server Program ID of various applications like WinRAR, 7zip, WinZip etc. to use in MATLAB.
I know the Word,Excel etc can be opened as 'Word.Application','Excel.Application' etc. but various applications installed in my PC and to open them as actxserver object i need to access them via Program ID.
Where can i find the Program ID of Various Applications for actxserver use in MATLAB..?

Best Answer

  • hi,
    1. not all application offer a COM interface (AFAIK WinZip does not have a COM interface)
    2. The ProgIds are stored in the registry
    3. You can use the Windows PowerShell to list all ProgIds
    >>!powershell -Command "& {dir REGISTRY::HKEY_CLASSES_ROOT\CLSID -include PROGID -recurse | foreach {$_.GetValue(""""")} }"