程序执行到这个的时候老是会抛出异常:
Microsoft.Office.Interop.Word.Document doc = new Microsoft.Office.Interop.Word.Document(); 抛出异常?
+
ex
{"从 IClassFactory 为 CLSID 为 {00020906-0000-0000-C000-000000000046} 的 COM 组件创建实例失败,原因是出现以下错误: 8001010a。"}
System.Exception {System.Runtime.InteropServices.COMException}