locked
Use DDE dot net RRS feed

  • Question

  • Hi All

    I'm using vb express 2008 I have to interface an application that use DDE vb6. How can use DDE in dot net ?

    • Moved by Calvin_Gao Wednesday, January 5, 2011 9:52 AM (From:Visual Basic General)
    Friday, December 31, 2010 2:26 PM

All replies

  • You can't natively. DDE is considered an obsolete technology.

    It's not impossible, as the underlying Windows API calls are still available, but it isn't a simple task. You may consider creating a VB6 app that performs the basic DDE communication, then talk to that (from your .NET application) via COM.


    Stephen J Whiteley
    Friday, December 31, 2010 2:35 PM
  • Thanks Stephen for you friend assistance.

     

    Hi Angelwebv,

     

    Welcome to the MSDN forums!

     

    Dynamic Data Exchange (DDE) is no longer supported in Visual Basic 2008.
    Dynamic Data Exchange (DDE) was an early technology that enabled the exchange of information between applications in Visual Basic 3.0. DDE was replaced by OLE Automation in later versions of Visual Basic; however, DDE was still supported for backwards compatibility through Visual Basic 6.0. Visual Basic applications needing to exchange information with legacy applications that only support DDE should be maintained in Visual Basic 6.0.


    Document: Dynamic Data Exchange for Visual Basic 6.0 Users
    http://msdn.microsoft.com/en-us/library/d2se9adx.aspx

     

    Sticky: For Visual Basic 6 questions, please read...

    Sticky: For VBA, Office (VSTO), Macros and VBScript Questions

     

    Best Regards,


    Calvin Gao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, January 5, 2011 9:50 AM