-----Messaggio Originale-----
Da: "Enrico Maria Giordano" <e.m.giord...@emagsoftware.it>
A: "Harbour Project Main Developer List." <harbour@harbour-project.org>
Data invio: mercoledì 16 settembre 2009 10.12
Oggetto: Re: [Harbour] Another OLE problem
Ok, but are you saying that I have to take the libs from lib and win
folders and not only from lib folder? If yes, this is a change that I
missed.
Ok, I took the libs from lib\win\bcc and then CREATEOBJECT() is working
fine. Great! But the following sample
FUNCTION MAIN()
LOCAL oWord
oWord = CREATEOBJECT( "Word.Application" )
oWord:Documents:Add()
? oWord:ActiveDocument:StoryRanges:Item( 5 )
oWord:Visible = .T.
RETURN NIL
still stops with
Error BASE/3012 Argument error: ITEM
Called from WIN_OLEAUTO:ITEM(0)
Called from MAIN(9)
EMG
--
EMAG Software Homepage: http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour