*&---------------------------------------------------------------------*
*& Report ZTESTEXXXX
*& O Sap fala com você!!!
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT ZTESTEXXXX.
INCLUDE ole2incl.
DATA : ole TYPE ole2_object,
voice TYPE ole2_object.
PARAMETERS p_text type string DEFAULT 'I love you and Im crazy for you'.
CREATE OBJECT voice 'SAPI.SpVoice'.
CALL METHOD OF voice 'Speak' = ole
EXPORTING #1 = p_text.
*& Report ZTESTEXXXX
*& O Sap fala com você!!!
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT ZTESTEXXXX.
INCLUDE ole2incl.
DATA : ole TYPE ole2_object,
voice TYPE ole2_object.
PARAMETERS p_text type string DEFAULT 'I love you and Im crazy for you'.
CREATE OBJECT voice 'SAPI.SpVoice'.
CALL METHOD OF voice 'Speak' = ole
EXPORTING #1 = p_text.
Nenhum comentário:
Postar um comentário