Code: Select all
STATIC function stampa_iscrizione()
LOCAL oWord
LOCAL cPath:=CurDrive()+":\"+CurDir()+"\"
oWord:=TOleAuto():New( "Word.Application" )
oWord:Documents:Open(cPath+"modelli\iscrizione.doc")
oWord:Visible := .T.
* oWord:Set( "WindowState", 1 ) // Maximizado
* oWord:END()
RETURN
How we can do, from a fwh application, see if the pc have a wiword office and call the specific office application if our functions need it ?
and I want Know if there are problems with Tole to call Word.application