English 中文(简体)
Word DDE呼吁被忽视
原标题:Word DDE call ignored

我从我的C++法典中呼吁民主力量联盟的两个指挥部:

FormDde->DdeClientConv1->ExecuteMacro("[AddAddIn "C:\Projects\wscs-trunk\bin\ws.dot", 1][FileOpen .Name = "C:\Projects\wscs-32x\doc\MyDoc.doc]",false)
FormDde->DdeClientConv1->ExecuteMacro("[ToolsMacro .Name = "FillTemplateAttests", .Run]", false)

第一张开放式指挥模板,我的Doc.doc。 弹 Temp包括宏观FillTemplateAttests,我试图在国防部第二次指挥中执行。 这两支指挥部在3个多月的时间里运作良好。 几天前,第二次指挥中断了运作。 我在法典的这一部分或宏观方面做了任何改动。 中断运作意味着,当我打电话给第二指挥时,即便是在<>ExecuteMacro上报返回(这意味着所有的人都应当是Kat)。 当我用同样的文件操作同一节目时,就在另一台电脑上,我是科索沃。 当我把第二名指挥员称为两倍实际执行时(但只一次——第一次被忽略):

FormDde->DdeClientConv1->ExecuteMacro("[AddAddIn "C:\Projects\wscs-trunk\bin\ws.dot", 1][FileOpen .Name = "C:\Projects\wscs-32x\doc\MyDoc.doc]",false)
FormDde->DdeClientConv1->ExecuteMacro("[ToolsMacro .Name = "FillTemplateAttests", .Run]", false)
FormDde->DdeClientConv1->ExecuteMacro("[ToolsMacro .Name = "FillTemplateAttests", .Run]", false)

在我看来,Word安装似乎被打破。 你们能否帮助我找到问题的核心?

<<>ADDENDUM>:

当我打电话给这3名指挥官时,他们都被处决:

FormDde->DdeClientConv1->ExecuteMacro("[AddAddIn "C:\Projects\wscs-trunk\bin\ws.dot", 1][FileOpen .Name = "C:\Projects\wscs-32x\doc\MyDoc.doc]",false)
FormDde->DdeClientConv1->ExecuteMacro("[Beep]", false);
FormDde->DdeClientConv1->ExecuteMacro("[ToolsMacro .Name = "FillTemplateAttests", .Run]", false)
最佳回答

甚至在我不知道为什么:

FormDde->DdeClientConv1->ExecuteMacro("[AddAddIn "C:\Projects\wscs-trunk\bin\ws.dot", 1][FileOpen .Name = "C:\Projects\wscs-32x\doc\MyDoc.doc]",false)
FormDde->DdeClientConv1->ExecuteMacro("[]", false);
FormDde->DdeClientConv1->ExecuteMacro("[ToolsMacro .Name = "FillTemplateAttests", .Run]", false)
问题回答

暂无回答




相关问题
WORD 2007 w/VBA

I have a question regarding a WORD 2007 form used to gather information from users. I had it working in WORD 2003 then pulled it over into WORD 2007 and got it working but couldn t leave well enough ...

Word opens extra blank document

I have an issue on a client machine that seems to be interferring with a word addin that ive built. When any word document opens on the client machine, a second blank document opens also. Ive seen ...

MS Word splits words in its XML format

I have a Word 2003 document saved as a XML in WordProcessingML format. It contains few placeholders which will be dynamically replaced by an appropriate content. But, the problem is that Word ...

Creating & Editing MS-Word documents on a linux server?

Looking to develop server-side application that will process documents. The source documents are mostly MS-Word 2003, 2007, i.e. the MS version of Docx. Want the server application to be able to run ...

Word document printed on MS Access report using OLE object

For years, we have been printing Word 2003 documents that have been saved to a OLE object column using an access report. We are using Access 2003. For some reason when we copy a Word 2003 document ...

热门标签