>Hello,
>
>I copied a simple example from the
www.foxforum site:
>
>loWord = CREATEOBJECT("Word.application")
>.
>loWord.Quit()
>
>When I run it, I get the error on the 1st line:
>"Class Definition WORD.APPLICATION is not found"
>
>Using Word 7.0 (Office 95) -- any ideas?
Check the registry - it's likely that the older Office95 version of Word did not have the same automation model (as I remember, it used a Word.Basic object rather than Word.Application, but it's been a long time since I checked.)
You can check by examining the registry - if Word.Application is supported, there's be a registry key HKEY_CLASSES_ROOT\Word.Application present.
>[Note the command Creatobject(Word.Document) doesn't cause an error, but I don't have a list of properties to continue.]
>
>Kevin