none
Is there any Unique ID for MS Office RRS feed

  • Question

  • We want to activate license for our Word/Excel VSTO application which will based on some unique ID of Word/Excel.

    Is there any unique ID for each word/Excel?

    Friday, July 25, 2014 7:31 AM

Answers

  • If you mean, is a different product code generated for each, separate installation then the answer is, "No". The product code saved in the Registry is the same for each installation of an Office application of the same version - no way to distinguish by the product code installation that you're dealing with this or that user profile on a particular machine.

    Cindy Meister, VSTO/Word MVP, my blog

    Friday, July 25, 2014 2:36 PM
    Moderator

All replies

  • The Word/Excel object model doesn't provide such IDs. You can use try to use such properties of the Application class as UserName , UserAddress and etc.
    Friday, July 25, 2014 7:47 AM
  • Does PropductCode() of Application class always unique for word/excel, even for the same version?
    Friday, July 25, 2014 9:36 AM
  • If you mean, is a different product code generated for each, separate installation then the answer is, "No". The product code saved in the Registry is the same for each installation of an Office application of the same version - no way to distinguish by the product code installation that you're dealing with this or that user profile on a particular machine.

    Cindy Meister, VSTO/Word MVP, my blog

    Friday, July 25, 2014 2:36 PM
    Moderator