` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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

OLE/ActiveX: MS-Word mail-merge code 2
2004-07-05 -- Peter Kirk
 
Newsgroups: softvelocity.clarion.language > 1. Are you displaying the Word window? Yes, see line - ?OBJ{'Visible'} = vbTrue > 2. How do you define vbTrue and vbFalse? I embeded the following code in 'After Global Includes' !VBA Constants vbFalse EQUATE(0) vbTrue EQUATE(-1) !Word Document Constants wdDoNotSaveChanges EQUATE(0) wdPrintPreview EQUATE(4) !Excel WindowState xlMaximized EQUATE(-4137) xlMinimized EQUATE(-4140) xlNormal EQUATE(-4143) PS> Just as an afterthought, Occasional problem with Object not closing:- Sometimes the Application Object will not close correctly following PROP:DeActivate. I use TerminateProcess (API), but others have reported success calling prop:deactivate (3 or more times) until the Object closes. Regards Peter Kirk


Today is November 23, 2024, 2:25 am
This article has been viewed 35364 times.
Google search has resulted in 24 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: