FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Harbour and Word
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Harbour and Word
Posted: Sat Mar 29, 2008 06:20 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Harbour and Word
Posted: Sat Mar 29, 2008 10:29 PM

Romeo,

What error do you get ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Harbour and Word
Posted: Sun Mar 30, 2008 10:20 AM

Simply it stops at this istruction:
_oDoc = _oWord:Documents:Open( _cfile)

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

Hi

Continue the discussion