English 中文(简体)
安全工作 公开文件上的自动化吗?
原标题:Safe to perform Word automation on open document?

I m 期待完成Microsoft Word自动化——直截了当,例如指示Word开文件,将其作为RTF的档案。 但是,如果用户在口头讲话中已经开放文件,情况如何? Can 我仍然安全地开展自动化行动(不修改文件本身),或者我是否要求麻烦? 这是否会干扰在公开文件中工作的用户? 是否有其他办法完成同样的事情?

I m only interested in Word 2003 and later (but also about the Word for the Mac, as this will eventually be a cross-platform application).

最佳回答

这样做有很多问题。

  1. First of all Microsoft doesnt recommend to use Word for automation. use OpenXML instead. In my experience every day I ended up investigation Com exceptions by automating Word in Server. http://support.microsoft.com/kb/257757

  2. 即使你试图通过自动化来冒风险, 在有用户互动的地方使用机器是坏的。 如果有某种方言箱,就会发现或挽救,因为不会允许另一家神.做任何其他功能。

  3. 如果你愿意找到像我这样的任何其他解决办法,那么就会产生一个新的用户形象,即“办公室”,并遵循以下步骤:。 http://theether.net/download/Microsoft/kb/288367.html

感谢阅读我关于自动化的告诫。 注:我不是C++方案管理员,而是使用VSTO和C#

问题回答

暂无回答




相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签