Harbour and Word

Post Reply
Romeo
Posts: 328
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Harbour and Word

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Romeo,

What error do you get ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Romeo
Posts: 328
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Post 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
Post Reply