Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #2022
| From | "EŽ!k \\/!$$EŽ" <nospam@nospam.url> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: How to terminate a process within VO |
| Date | 2011-09-15 21:21 +0200 |
| Message-ID | <9df1hqFbtU1@mid.individual.net> (permalink) |
| References | <j4sjt7$vcf$1@dont-email.me> <9de31rFlgaU1@mid.individual.net> <j4slae$8fc$1@dont-email.me> |
Hi Eckhard,
And what happens if you do not send WM_CLOSE but WM_DESTROY ?
Erik
"Eckhard Sallermann" schreef in bericht news:j4slae$8fc$1@dont-email.me...
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 | Find similar | Unroll 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