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


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

Re: How to terminate a process within VO

From Eckhard Sallermann <eckhard.sallermann@bur-kg.de>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: How to terminate a process within VO
Date 2011-09-15 12:50 +0200
Organization A noiseless patient Spider
Message-ID <j4slae$8fc$1@dont-email.me> (permalink)
References <j4sjt7$vcf$1@dont-email.me> <9de31rFlgaU1@mid.individual.net>

Show all headers | View raw


hi Erik,

thank you, i have already tried that


ptrExcel := FindWindow(String2Psz("XLMAIN"),null_psz)
if !ptrExcel == null_ptr
     ? SendMessage( ptrExcel , WM_CLOSE , 0L , 0L )
endif					
				
The Sendmessage returns 0 but the process will still be activ




Am 15.09.2011 12:41, schrieb E®!k \/!$$E®:
> Eckhard,
>
> Get the handle of the process with the Win32 API function FindWindow()
> and send the WM_CLOSE message.
>
> regards,
>
> Erik
>
> "Eckhard Sallermann" schreef in bericht news:j4sjt7$vcf$1@dont-email.me...
>
> WINXP SP3
> VO 2.8 SP3
>
> hi,
>
> how can i terminate a windowsprocess with Vo ?

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


Thread

How to terminate a process within VO Eckhard Sallermann <eckhard.sallermann@bur-kg.de> - 2011-09-15 12:26 +0200
  Re: How to terminate a process within VO "E®!k \\/!$$E®" <nospam@nospam.url> - 2011-09-15 12:41 +0200
    Re: How to terminate a process within VO Eckhard Sallermann <eckhard.sallermann@bur-kg.de> - 2011-09-15 12:50 +0200
      Re: How to terminate a process within VO "E®!k \\/!$$E®" <nospam@nospam.url> - 2011-09-15 21:21 +0200

csiph-web