Page 1 of 1

Harbour and Word

PostPosted: Sat Mar 29, 2008 6:20 pm
by Romeo
Hi,
After many hours for work i have modified an example to use word documents with harbour.

I tested it on my pc with Word 97 edition....and all is ok !!

But,but i tried to use it on a pc with Word 2002 and it crasced !

It crached at the istruction:

_oWord :=TOleAuto():New( "Word.Application" ) && ok !

_oDoc = _oWord:Documents:Open( _cfile) && here it crasced !!

I am using the FWH24.

Any help for me ?
Tks

Romeo/Zingoni

PostPosted: Sat Mar 29, 2008 10:29 pm
by Antonio Linares
Romeo,

What error do you get ?

PostPosted: Sun Mar 30, 2008 10:20 am
by Romeo
Simply it stops at this istruction:
_oDoc = _oWord:Documents:Open( _cfile)

it does not show me nothing, and the dialog box became gray.

Hi