View previous topic :: View next topic |
Author |
Message |
laurent_H Contributor


Joined: 30 Jun 2001 Posts: 60
|
Posted: Fri Oct 11, 2002 2:11 pm Post subject: How can I close a program ? |
|
|
Hi,
Could you help me ?
1/ how can I close a program by a window handle ?
2/ how can I send my program window handle to an vds exe in parameter _________________ Thanks |
|
Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Fri Oct 11, 2002 5:11 pm Post subject: |
|
|
For your first problem, use %z = @sendmsg(@winexists(~windowname),02).
About your second question... Open that exe with run vdsexe.exe winhandlenumber.
Then, in the exe, you can get the parameter with the variable %1. |
|
Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Fri Oct 11, 2002 7:19 pm Post subject: Reply to How can I close a program ? |
|
|
To close a program by it's class name or dialog name you can also use WINDOW CLOSE,#CLASS_NAME or WINDOW CLOSE,Dialog Name _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
 |
|