此代碼可以實現(xiàn)以下功能 使用wordappalication 組件,代碼如下 啟動Word時用如下代碼: begin try Wordapplication.Connect except MessageDlg(’Word may not be installed’, mtError, [mbOk], 0) Abort end Wordapplication.Visible := True WordApplication.Caption := ’Delphi automation’ end
標(biāo)簽:
wordappalication
代碼
上傳時間:
2014-01-22
上傳用戶:Divine