Link to home
Start Free TrialLog in
Avatar of Dynotoe
Dynotoe

asked on

C# -- After converting a project from VB6 to VB.Net and then to C# I've lost the DDE functionality of the project. Looking for alternative.

Hi everyone,

After converting a project from VB6 to VB.Net and then to C# I've lost the DDE functionality of the project.  Looking for alternative or a fix to get this functionality back so that the data is shared on my network/machine and dynamically can update excel and use old DDE references.

Can someone help me?

Let me express my thanks in advance for your gracious help.

Best regards,
Dynotoe
Avatar of Expert1701
Expert1701

Did you lose the DDE functionality upon conversion from VB6 to VB.Net, or from VB.Net to c#?
I thought DDE wouldn't be able in .NET and I was right, just did a search and the way .NET uses interops with COM wont allow it; also because .NET is managed while VB.NET isn't. You will either have to use DDServer which I think you can get to work in .NET or use another communication method. Upgrading complex applications from VB6 to VB.NET rarely works, it usually breaks with simple applications. The conversion from VB.NET to C# shouldn't have affected DDE, because it wouldn't be supported in any .NET language.

"DDE unsupported by VB.NET. DDE is not available in VB.NET. You will have to use other kind of inter-process communication. Work required after upgrade."
http://www.aivosto.com/project/help/enterprise-netcheck-rules.html

"native DDE support has been removed from VB.NET"
http://www.angelfire.com/biz/rhaminisys/ddserver.html
Avatar of Dynotoe

ASKER

Hi Guys,

Thanks for the help.

Yeah I lost it initially from VB6 to VB.net.  ;(

So can you help me get this functionality back "In what ever data communication form?  Also will the clients like excel not take the new data exchange because they are specifically and limited to the DDE thing?

Best,

Dynotoe
The NDde GDN Workspace says this at the bottom of the description, so I'm not sure if you should be using it:

"This library is only intended to be used when no other alternatives exist. In other words, do not use this library to read or write data in Excel."
ASKER CERTIFIED SOLUTION
Avatar of Expert1701
Expert1701

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial