Harbour and Word

Harbour and Word

Postby Romeo » Sat Mar 29, 2008 6: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
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Postby Antonio Linares » Sat Mar 29, 2008 10:29 pm

Romeo,

What error do you get ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Romeo » 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
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 65 guests