Hi Team i am working on windows services with office interop ,as i come to know from blog there is no support of office automation on windows 7 machines. could you please help me, how run DDE commads from OPenXML. Please find the code which is working fine DDEmetod on button click on windows 7 machin and other windows OS
public void DDLExecuteMethod(string HPServicemgrstring)
{
var excelApp = new Excel.Application();
int nChannel; nChannel = excelApp.DDEInitiate("HP_Service_Manager", "Actions");
excelApp.DDEExecute(nChannel, "[SystemEvent(""ReceiveInteraction"", ""Caller Name"", ""xxxxxx"" ,""Authentication"", ""xxxx"" ,""LiveOpsID"", ""xxxx"" ,""CallVariable"", ""1"")]"); excelApp.DDETerminate(nChannel);
excelApp.Quit();
}
Hi, I am not clear on what you mean, 'no support of office automation on windows 7 machines'. I have done quite a bit of office automation on Windows 7 - it works just fine - same as on other versions of Windows.
-Eric