Moved MS Word Terminate code to WordDoc.cs

Added a new parameter to SaveWordDoc call
This commit is contained in:
Rich
2010-04-21 20:53:31 +00:00
parent 3a27bf6eb6
commit 1741b0e3e0
2 changed files with 5 additions and 21 deletions

View File

@@ -71,7 +71,7 @@ namespace DataLoader
string title = null; // for docname, remove the '.lib', i.e. substring(0,8)
DateTime dts = DateTime.Now;
string tmpRtfFileName = GetLibDocData(fi, ci, ref title);
int Docid = SaveWordDoc(tmpRtfFileName, title, null, ci);
int Docid = SaveWordDoc(tmpRtfFileName, title, null, ci, string.Empty);
File.Delete(tmpRtfFileName);
return Docid;
}