Udostępnij za pośrednictwem


Dynamic Data Exchange for Visual Basic 6.0 Users

Dynamic Data Exchange (DDE) is no longer supported in Visual Basic 2008.

Conceptual Differences

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.

With the introduction of Visual Basic .NET 2002, DDE is no longer supported. Visual Basic applications needing to exchange information with legacy applications that only support DDE should be maintained in Visual Basic 6.0.

The following DDE properties, methods, and events are no longer available:

Category

Name

Properties

LinkItem

LinkMode

LinkTimeOut

LinkTopic

Methods

LinkExecute

LinkPoke

LinkRequest

LinkSend

Events

LinkClose

LinkError

LinkExecute

LinkNotify

LinkOpen

In addition, the Clipboard object constant vbCFLink is no longer valid.

Upgrade Notes

When upgrading a Visual Basic 6.0 application to Visual Basic 2008, any code that references DDE properties or methods and any code in DDE event procedures will not be upgraded and a warning will be added.

See Also

Concepts

Form Object for Visual Basic 6.0 Users

Label Control for Visual Basic 6.0 Users

PictureBox Control for Visual Basic 6.0 Users

TextBox Control for Visual Basic 6.0 Users

Clipboard Object for Visual Basic 6.0 Users