Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #13246

Re: shellexecute con word

From JohnMartens <martens@tennishulp.info>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: shellexecute con word
Date 2021-02-23 18:52 +0100
Organization A noiseless patient Spider
Message-ID <s13fdj$5v2$1@dont-email.me> (permalink)
References <9bc2681c-a5fa-4d48-aa51-dc72d9c4c12ao@googlegroups.com>

Show all headers | View raw


Hope this can help you to get it done
John

DO WHILE (hWnd := FindWindow(NULL_PSZ, PSZ("Adobe Reader"))) = NULL_PTR
	Sleep(500)
ENDDO
Sleep(5000)
// Close
PostMessage(hWnd, WM_CLOSE, 0, 0)





Op 15-2-2021 om 15:43 schreef aurora baccio:
> good morning.
> in the production of prints from vo I use a lot of word through a procedure inherited from previous programmers called 'compile word'. I use this procedure mainly in the printing of certificates and invoices. The procedure is very valid and functional, but the problem is in the number of prints. If I want to print three copies of the same document I must use a loop for ...next.
> The actual printing of the created word document is done through 'shellexecute'.
> The help request is: is there an alternative procedure to use word indicating the number of copies to print?
> Another question: is there a way to close word at the end of the printing with shellexecute?
> thanks
> Aurora Baccio
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

shellexecute con word aurora baccio <aurorabaccio@gmail.com> - 2021-02-15 06:43 -0800
  Re: shellexecute con word "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-02-17 17:29 +0100
  Re: shellexecute con word aurora baccio <aurorabaccio@gmail.com> - 2021-02-23 09:41 -0800
    Re: shellexecute con word "Wolfgang Riedmann" <wriedmann@gmail.com> - 2021-02-24 13:49 +0100
  Re: shellexecute con word JohnMartens <martens@tennishulp.info> - 2021-02-23 18:52 +0100
    Re: shellexecute con word aurora baccio <aurorabaccio@gmail.com> - 2021-02-26 04:50 -0800
      Re: shellexecute con word JohnMartens <martens@tennishulp.info> - 2021-03-01 19:42 +0100

csiph-web