Hi Stefan,
oMyWordObj = CREATEOBJECT('Word.Basic')
I hope this helps.
Aashish
>HI all!
>I want to preview DOC documents in my application. During development in VFP everything is OK. When I create and run exe file, program encounters error 'Class definition WORD APPLICATION is not found' at command 'oDoc = Createobject("Word.Application")'
>
>Where the problem could be ?
>
>Thank you !