PRB: Can't Use DDE Links (Paste Link) Between VB & Word 6.0Last reviewed: June 27, 1996Article ID: Q119114 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic for Windows, versions 2.0 and 3.0- Microsoft Word for Windows, versions 6.0 and 6.0a
SYMPTOMSThe shortcut method for creating a DDE-linked item between Microsoft Visual Basic and Microsoft Word for Windows by choosing Paste Special from the popup menu no longer works with Word versions 6.0 or 6.0a.
CAUSEMicrosoft Word for Windows version 6.0 no longer uses DDE links when copying information to the clipboard; it uses OLE links. This is why in Visual Basic the Paste Link menu command is disabled (grayed out) when you copy text from Word to the clipboard. Other applications that recognize OLE links, such as Microsoft Excel version 5.0, allow you to perform a paste link, but Visual Basic version 3.0 does not support paste link in text boxes and labels.
RESOLUTIONTo perform DDE with Word version 6.0, you must set up the DDE links manually. For more information on this method, please see the following article in the Microsoft Knowledge Base: ARTICLE-ID: Q74862 TITLE : DDE Example Between Visual Basic and Word for Windows MORE INFORMATIONBecause Word version 6.0 uses OLE links, you can paste them into the OLE control (MSOLE2.VBX). The following steps show you how to accomplish this:
|
Additional reference words: 2.00 3.00 6.00 6.00a PasteLink WinWord
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |