D5 user use Word97 or word2000

Hi all,

Since User can work with Office97 or Office2000, I would like to include

a check on the version

I found these constants in Word2000 and Word97, the difference is that
the  WordMinorVersion for Word2000 is 1 , and Word97 is 0

Can I use this for make the distinction ?



  WordMajorVersion = 8;
  WordMinorVersion = 1;