Utilizando a classe TWord, é possivel prender a execução do sistema ao fechamento do arquivo aberto ?
private hWord
hWord :=TWord():New() // inicia o objeto OLE Word
if hWord:IsVisible()
hWord:Hide()
endif
hWord:OpenDoc( cModelo ) // abre o documento modelo
for x:=1 to len( aCampos )
hWord:Replace( '['+aCampos[x,1]+']' , aCampos[x,2] )
next
hWord:Save(CAMIFO)
hWord:visualizar()
só continuar a execução do sistema se
documento word for fechado.
Aoki
pergunta sobre Tword
-
- Posts: 210
- Joined: Sun Jul 23, 2006 1:15 am
Return to “FiveWin para Harbour/xHarbour”
Jump to
- English Forums
- ↳ FiveWin for CA-Clipper
- ↳ FiveWin for Harbour/xHarbour
- ↳ FiveTouch
- ↳ EasyReport, EasyDialog and EasyPreview
- ↳ FiveMac / FivePhone (iPhone, iPad)
- ↳ FiveLinux / FiveDroid (Android)
- ↳ FiveWin for Pocket PC
- ↳ mod_harbour
- Foros en Español
- ↳ FiveWin para CA-Clipper
- ↳ FiveWin para Harbour/xHarbour
- ↳ FiveTouch
- ↳ EasyReport, EasyDialog y EasyPreview
- ↳ FiveMac / FivePhone (iPhone, iPad)
- ↳ FiveLinux / FiveDroid (Android)
- ↳ FiveWin para Pocket PC
- ↳ mod_harbour
- Forum italiani
- ↳ All products support
- Forum Portuguese
- ↳ All products support
- Forum German
- ↳ All products support
- General
- ↳ WhatsNew / Novedades
- ↳ Bugs report & fixes / Informe de errores y arreglos
- ↳ To do - WishList / Por hacer - Peticiones
- ↳ Utilities / Utilidades
- ↳ Off Topic / Otros temas
- Artificial Intelligence
- ↳ TensorFlow and Python examples
- ↳ TensorFlow.dll for Harbour and FWH
- ↳ latest AI news
- ↳ Building TensorFlow.dll
- ↳ AI Introduction (Harbour code and samples)