>sorry Toninho, I've missed your mail with a problem. Przemek was right
>about OLE object creation code.
No problem Mindaugas. Thank you for the nice code.
>Yes, I know I've implemented it in a incompatible way, but missing of
>some OLE server depends on installed software and is a normal situation.
>I found code:
>
> IF (oWord := GetActiveObject("Word.Application")) == NIL
> IF (oWord := CreateObject("Word.Application")) == NIL
> ? "Unable to create Word OLE object"
> RETURN .F.
> ENDIF
> ENDIF
>
>much more elegant than all that begin/end sequences.
And you are right. I´ll change my code to support new syntax.
Best regards,
Toninho.
__________________________________________________
Faça ligações para outros computadores com o novo Yahoo! Messenger
http://br.beta.messenger.yahoo.com/
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour