- not all application offer a COM interface (AFAIK WinZip does not have a COM interface)
- The ProgIds are stored in the registry
- You can use the Windows PowerShell to list all ProgIds
How to know the COM Server Program ID of Various Applications to use in MATLAB
    11 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Kanchibhotla Chandra Sekhar
      
 il 22 Apr 2014
  
    
    
    
    
    Modificato: shuchita bahadur
 il 12 Mag 2017
            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..?
0 Commenti
Risposta accettata
  Friedrich
    
 il 22 Apr 2014
        hi,
>>!powershell -Command "& {dir REGISTRY::HKEY_CLASSES_ROOT\CLSID -include PROGID -recurse | foreach {$_.GetValue(""""")} }"
0 Commenti
Più risposte (1)
  shuchita bahadur
 il 12 Mag 2017
        
      Modificato: shuchita bahadur
 il 12 Mag 2017
  
      excel.application is not listed in the list of ProgIDs I got running this shell command. But actxserver('excel.application') works just fine.Also, all progIDs are displayed as a list with this shell command, its not clear which program ID is related to which application. Picking up a random ProgID 'MSDAURL.Binder.1' from the list generated and sending it as argument of actxserver:
actxserver('MSDAURL.Binder.1')  
|Gives an error:|
Server creation failed. Invalid ProgID 'MSDAURL.Binder.1'
I want to acess controls of a VB.Net application via my MATLAB application. What do I do to find out its Prog ID?
0 Commenti
Vedere anche
Categorie
				Scopri di più su Use COM Objects in MATLAB in Help Center e File Exchange
			
	Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


