>Carlos,
>Thanks for your reply.
>Your method is OK. But first I want to find out if he has WORD installed by checking the Registry. How do I do that?? Then I want to launch it as a standalone app.
>
>Thanks,
>
>Abdul AHad
>
>>Abdul,
>>You have several ways to launch Word. It depends on the use you want do with it. The easest way is to issue a 'run /N winword.exe' but with this you don't have any control over the word application. The other way that gives you absolute control is:
>>
>>myobj = createobject("winword.application")
>>
>>now you can use ole automation in order to control word.
>>Hope this helps.
>>
>>>Hi,
>>>How can I find out if MS Word is installed in the user's computer, and if installed, how do I launch it.
>>>
>>>Regards and TIA
>>>
>>>Abdul Ahad
Abdul,
I've not said nothing about knowing if word is installed cause i'm sure someone knows better how to do it, but i can tell you a poor (but effective) solution:
on error
myob = createobject("winword.application")
on error ... (your error routine)
if type("aaa") = "O" && word is installed
else && word is not installed
endif
hope this helps
Saludos,
A.G.P.
---------