English 中文(简体)
使用办公室间复制机开字文件
原标题:disable macro when opening word documents using office interop apis

hi how to disable macros when opening documents using office interop apis. I am currently using office 2007.

预先感谢

最佳回答

如果您使用VB重新实现自动化。 NET非常容易——见这一版面,例如:DisableAutoMacros:。 • 如何开放文件,其中含有与PowerShell的自主宏观?。 我从未能够说明如何在C#中这样做。

问题回答

暂无回答




相关问题
ASP.net C# - WINWORD.exe

I am playing with Microsoft word document from ASP.NET/C# program. My programs opens up word docs internally. using app = new Word.Application(); app.Documents.Open it creates a instance of ...

Exporting to MS Word in Cocoa?

Writing an application in Cocoa that will take input from the user, format it appropriately, and then export it to MS Word. Are there any references or built-in libraries available regarding how to ...

Creating object instances globally

this is probably something I should know, but I m puzzled by this. I m trying to create some objects and being able to access and modify these globally. I tried to create a Public Module and declare ...

Winforms app which must include some freehand drawing

We have a customer who needs some simple forms (probably we would be creating a simple Winforms app for them) but there is a requirement to capture a mix of input fields plus some freehand drawing. It ...

PDF conversion service

I need to develop a service able to convert MS Office and Open Office documents to PDF. And the PDF`s also need to be commentable when opened in ADOBE Reader. I have used a piece of software from www....

热门标签