>oWord=createobject("Word.Basic")
>jlWord97=iif(val(oword.appinfo(2))>7,.t.,.f.)
>
>This will tell you if you have Word 97 active.
I would prefer to use Word.Application and query oWord.Version instead of the AppInfo property.
BTW, what's the 'jl' prefix for? I know about the logical bit but have not seen the 'j' before.