检测损坏或损坏的文档或使用c#MS wordinterrop库阻止打开此类文档 [英] Detection of damaged or currupted document or prevent such document to open using c# MS wordinterrop library

查看:237
本文介绍了检测损坏或损坏的文档或使用c#MS wordinterrop库阻止打开此类文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果工作文件损坏或损坏,首先应该是该文字应该识别该文件已损坏或损坏且不应打开。 
如果工作文档已损坏或损坏,如何以编程方式实现此操作,而不是打开文档。

If the work document is corrupted or damaged, the first thing is that the word should recognize that the doc ument is damaged or corrupted and should not open.  How to programatically implement this, if the work document is corrupted or damaged, not to open the document.

此外,有什么方法可以识别Word文档已损坏或损坏。 
我想使用MS word interrop库在C#/ Word 2003   中实现。

Also, is there any way that I can recognize that the word document is corrupted or damaged.  This I wanted to implement in C#/Word 2003  using MS word interrop library.

 

谢谢。

Salim

推荐答案

嗨Salim,

Hi Salim,

据我所知,程序员无法使用此功能。 

As far as I know, this function is not accessible for programmers. 

HTH

关心,

Fermin

Regards,
Fermin


这篇关于检测损坏或损坏的文档或使用c#MS wordinterrop库阻止打开此类文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆