How to Copy and Paste DDE Links Using CF_LINK in Visual Basic (106238)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q106238 SUMMARY
Visual Basic programs can provide an Edit Copy command that puts text
onto the Clipboard along with the information needed to make a DDE link to
that text. Likewise, you can provide an Edit Paste command that extracts
the text and an Edit Paste Link command that extracts the DDE link
information, and then initiates a DDE conversation to the source text.
You can implement these clipboard operations using the GetText and SetText
format CF_LINK (&HBF00) with a string of the format:
Application|Topic!Item
The Visual Basic manuals and Help menu do not describe how to use the
Clipboard format CF_LINK. NOTE: Visual Basic only supports Clipboard DDE operations for text.
Modification Type: | Major | Last Reviewed: | 12/9/2003 |
---|
Keywords: | KB106238 |
---|
|