在控制台程序中Application.Documents.Open步骤失效

在控制台程序中Application.Documents.Open方法失效这个可能跟DCOM的设定有关。请尝试以下步骤去解决它:打

在控制台程序中Application.Documents.Open方法失效

这个可能跟DCOM的设定有关。请尝试以下步骤去解决它:

打开dcomcnfg.exe->Computer->Local Computer->Config DOCOM->搜索Microsoft Word 97-2003 Document->Properties->Identity->把Launching User改为Interactive User