标签:io os sp on cti bs ef new as
Microsoft.Office.Interop.Word.Application appClass = new Microsoft.Office.Interop.Word.Application();
appClass.Visible = true;
Object missing = System.Reflection.Missing.Value;
Microsoft.Office.Interop.Word.Document wordDoc = new Microsoft.Office.Interop.Word.Document();
object fileName = path2;
wordDoc = appClass.Documents.Open(ref fileName,
ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing);
标签:io os sp on cti bs ef new as
原文地址:http://www.cnblogs.com/kaiwanlin/p/4050224.html