此代碼可以實(shí)現(xiàn)以下功能 使用wordappalication 組件,代碼如下 啟動(dòng)Word時(shí)用如下代碼: 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
代碼
上傳時(shí)間:
2014-01-22
上傳用戶:Divine