>Hi fellow UTers
>
>I installed an app at a client site. The app uses automation to gain access to WORD and OUTLOOK. The client did not have WORD installed. I issued oWordDocument=createobject("word.application") in a method and hit the wall. How do you check for the presence of the server before trying to create the object.
>
>Thanx
>Neil
Easiest way is to just trap for the error when you try to instanciate the objects. Next best is to check for the presence of "Word.Application" in the registry under HKCR. You can use the FFC registry class, the WSH, or any one of several classes available here in the files section to read the registry.
Erik Moore
Clientelligence