• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

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
0
Dynotoe
Asked:
Dynotoe
  • 3
  • 2
1 Solution
 
Expert1701Commented:
Did you lose the DDE functionality upon conversion from VB6 to VB.Net, or from VB.Net to c#?
0
 
jonorossiCommented:
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
0
 
DynotoeAuthor Commented:
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
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jonorossiCommented:
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."
0
 
Expert1701Commented:
Please read this post from the project owner (briangideon):

  "The library is not intended to be used for getting data into Excel because there are better alternatives. [The sample provided] does push data into Excel."
  http://www.gotdotnet.com/workspaces/messageboard/thread.aspx?id=03b24eab-36c4-48ec-9a9a-c4977f46ce2c&threadid=cbe29ad4-aa79-4a6b-a599-cdc387a1e2d0
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now