` Word 97 DDE syntax (Oddmar Dam ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Word 97 DDE syntax
2001-06-21 -- Oddmar Dam
 
IF EXISTS(FilNavn) DDEEXECUTE(Channel,'[FileOpen("' & FilNavn & '")]') DDECLOSE(Channel) ELSE DDEEXECUTE(Channel,'[FileSaveAs "' & FilNavn & '"]') Channel = DDECLIENT('WinWord',FilNavn) DDEPOKE(Channel,'\StartOfDoc','Tim') !To write a text at the top of the documents DDEPOKE(Channel,'Name','Tim') !Write to a bookmark called Name DDECLOSE(Channel) . ! DDEEXECUTE(Channel,'[FilePrintDefault]') !To get word to print document.


Today is April 27, 2024, 4:19 pm
This article has been viewed 35114 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: