Word & C#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ste

    Word & C#

    Good morning, it's possible to check from c# if word is installed ?

    I need to write a class to manage word and need a method to check before
    initialize it if a version of word in installed in the system, returning
    an error if no.

    Thank you.
    Stefano.
  • =?ISO-8859-15?Q?David_Fi=A8er?=

    #2
    Re: Word & C#

    Well, I think that Word creates a specific key at registry, e.g. Word 2007
    has a key at HKEY_LOCAL_MACH INE->SOFTWARE->Microsoft->Office->Word. So would
    check presence of that key at registry. But it is possible that it can be
    different some versions.

    "Ste" <scerutti@svilu pso.itpí¨e v diskusním príspevku
    news:egaf7fgyIH A.2340@TK2MSFTN GP04.phx.gbl...
    Good morning, it's possible to check from c# if word is installed ?
    >
    I need to write a class to manage word and need a method to check before
    initialize it if a version of word in installed in the system, returning
    an error if no.
    >
    Thank you.
    Stefano.

    Comment

    • Ste

      #3
      Re: Word &amp; C#

      It works fine.

      Thank you.
      Stefano.

      David Fi¨er ha scritto:
      Well, I think that Word creates a specific key at registry, e.g. Word
      2007 has a key at HKEY_LOCAL_MACH INE->SOFTWARE->Microsoft->Office->Word.
      So would check presence of that key at registry. But it is possible that
      it can be different some versions.

      Comment

      Working...