omegahat / RDCOMClient

GNU General Public License v2.0
77 stars 34 forks source link

Specify application version/installation to open in COMCreate? #44

Open ElizabethMPhillips opened 1 year ago

ElizabethMPhillips commented 1 year ago

Hi,

I use COMCreate to open and run an application that has multiple installations on my computer (e.g., version 11, 12, 13, etc). I need to keep the older installations for some of my work. Currently COMCreate appears to open the most recent version of the application (perhaps because it was run as an admin to install it). I don't have admin privileges so can't easily run the version I want as an admin to "reset" the default install that opens.

I'm curious if there is a way to specify what software version/installation to open in the COMCreate function? I see that getCOMInstance gives me the version that is open, but I can't change it as far as I can tell.

Thanks.