I am working on a program using the JACOB project (JAva COm Bridge).
There is a file to open, the entire name is passed along (ex. c:\test\test.xls). In order for JACOB to create a new ActiveXComponent it needs to be passed a ProgID or CLSID. (Such as Excel.Application, or Word.Application, but outside of the MS realm there is also Autocad.Application etc.)
So how can one relate either the file extension or MIME type to a given ProgID or CLSID? Is there another db that I can join to Win32_ProgIDSpecification? Win32_ProgIDSpecification has all the ProgID's.