wordApp.Documents.Open (.........),当我打开的是.docx,能正常打开
当是.doc时,却返回空置,显示失败,未能找到文件.......,但其实文件都在


解决方案

WORD Application.Documents.Open函数返回null的一种解决方法
DCOM Config Setting for "Microsoft Office Word 97 - 2003 Document" 内部配置一切正常,但调用Application.Documents.Open函数还是返回null。下面是一个解决方法:

"C:\Windows\SysWOW64\config\systemprofile\"目录下创建一个"Desktop"目录。
 
 
转自:http://blog.sina.com.cn/s/blog_65b145b40102x2p5.html

相关文章:

  • 2021-05-28
  • 2022-12-23
  • 2021-12-27
  • 2021-05-25
  • 2022-12-23
猜你喜欢
  • 2021-04-01
  • 2022-12-23
  • 2021-09-04
相关资源
相似解决方案