If I open a Word Application from within fox.
wrdApp = GetObject("","Word.Application"
docFile = "c:\hrm2001\" + alltrim(thisform.txtDocId.value)+".doc"
With wrdApp
.Visible = .T.
.WindowState = 1
.Documents.Add
With .ActiveDocument.MailMerge
.MainDocumentType = 0
.OpenDataSource("C:\HRM\hrempl01.dbf"
EndWith
ENDWITH
How can i know if the user closed the window?
Delton.
wrdApp = GetObject("","Word.Application"
docFile = "c:\hrm2001\" + alltrim(thisform.txtDocId.value)+".doc"
With wrdApp
.Visible = .T.
.WindowState = 1
.Documents.Add
With .ActiveDocument.MailMerge
.MainDocumentType = 0
.OpenDataSource("C:\HRM\hrempl01.dbf"
EndWith
ENDWITH
How can i know if the user closed the window?
Delton.