>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 !
Stefan,
Perhaps SET OLEOBJECT is set to OFF. Maybe
SET OLEOBJECT ON
oDoc = CreateObject('Word.Application')
Gregory