How to Perform a DDEPOKE from FoxPro to Word for WindowsID: Q101009 2.50 2.50a 3.00 WINDOWS kbinterop kbprg The information in this article applies to:
You can use the DDEPOKE() function to insert information from FoxPro for Windows into a document created in Microsoft Word versions 2.0c and 6.0 for Windows. In order to use the DDEPOKE() function, you must declare in the Word document a specific location to poke the information into. To declare the location, create a bookmark within the Word document. For example, the following code will poke information into a Word document that has a bookmark called "test":
NOTE: =DDESETOPTION('SAFETY',.F.) is an option to set safety off so the
program doesn't ask if you want to start the other program if it's not
already started.
The topic name for the DDEINITIATE() function must be the document name; in this example, the document name is "c:\winword\letter.doc". The string "Hello World!" will be inserted in the document at the "test" bookmark. Additional reference words: VFoxWin 3.00 FoxWin 2.50 2.50a 2.00c 6.00 KBCategory: kbinterop kbprg KBSubcategory: FxinteropGeneral
|
Last Reviewed: April 30, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |