随笔分类 - winform&ActiveX
摘要:现象:同时启动了多个word的exe,word退出的时候,会报警告“此文件正由另一个应用程序或用户使用”。原因:多个word exe不能用时用.dot模板解决:Word退出代码(C#) Word_doc.SaveAs(ref savePath, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing); //避免弹出normal.dot被使用的对话框 Word_App.Nor
阅读全文
浙公网安备 33010602011771号