D
DINGHELLO
Unregistered / Unconfirmed
GUEST, unregistred user!
各位大俠:<br> 小弟遇到几個問題:<br> 1、怎樣把SQL的IMAGE類型字段內容存為WORD文件。<br> 2、怎樣用DELPHI控制WORD打開一個已存在文件?我用下面語句,但報錯[Not enough actual parameters]<br><br>var<br>FileName, ConfirmConversions, ReadOnly, AddToRecentFiles,<br>PasswordDocument, PasswordTemplate, Revert,WritePasswordDocument,<br>WritePasswordTemplate, Format,MatchCase, MatchWholeWord, find1, rep1,<br>MatchWildcards, MatchSoundsLike, MatchAllWordForms, Forward,<br>Wrap, Replace: OleVariant;<br>begin<br>Myword.Connect;<br>Myword.Visible :=false;<br>FileName := MyFile; <br>confirmConversions := False;<br>ReadOnly := False;<br>AddToRecentFiles := False;<br>PasswordDocument := '';<br>PasswordTemplate := '';<br>Revert := True;<br>WritePasswordDocument := '';<br>WritePasswordTemplate := '';<br>Format := wdOpenFormatDocument;<br>myWord.Documents.Open(FileName, ConfirmConversions,<br>readOnly, AddToRecentFiles, PasswordDocument, PasswordTemplate,<br>Revert, WritePasswordDocument, WritePasswordTemplate, Format);<br>Myword.Visible :=True;<br><br><br>3、怎樣用DELPHI語句在WORD文檔里面的某行某列寫入字符串?<br><br>4、怎樣將在WORD更改后當關閉時即刻更新到SQL字段中?<br><br>萬分感謝!<br><br>