DdemlException when connecting

Apr 20, 2010 at 7:41 PM

 

I can't seem to connect to a local service that is functional in Excel.  =TOS|LAST!MSFT  works great in Excel, but I get an exception when I execute

DdeClient client = new DdeClient("TOS","LAST");

client.Connect();

 

Any thoughts on why this might be?  Could it be a Win 7 security issue?  Or many some servers need to be connected to in a different way?