Hi everybody,
How can I stop an aplication running? By example if I want to stop the running "sssf.exe" witch function I have to use?
Thank you very much.
Best regards,
Zoli B.
How to Stop a program running (Kill)
Moderator: Rathinagiri
- zolysoftsolutions
- Posts: 139
- Joined: Wed Feb 29, 2012 3:33 am
- Location: Gyulakuta, Erdélyország
- Contact:
How to Stop a program running (Kill)
_______________________________
Open eyes for you!
Open eyes for you!
- serge_girard
- Posts: 3167
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: How to Stop a program running (Kill)
Zoli,
Use TSKILL <prg> or TASKKILL in DOS to stop. See your Windows version for exact command.
Serge
Use TSKILL <prg> or TASKKILL in DOS to stop. See your Windows version for exact command.
Serge
There's nothing you can do that can't be done...
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: How to Stop a program running (Kill)
zolysoftsolutions wrote: How can I stop an aplication running?
-HMG 3.3.1 (Stable) 2014/07/15 wrote:
- ...
- New Functions:
...
- TerminateProcess ( [ nProcessID ] , [ nExitCode ] )
...
Viva INTERNATIONAL HMG
- zolysoftsolutions
- Posts: 139
- Joined: Wed Feb 29, 2012 3:33 am
- Location: Gyulakuta, Erdélyország
- Contact:
Re: How to Stop a program running (Kill)
Thank you Serge and Esgici!
Esgici..how can I find the Id of the process I want to kill.
By example I know the name of running program: BonPrinter.exe ..but for the function you mentioned I need the Id of the process.
..or where I can find a description of these new functions?
Best regards,
Zoli B.
Esgici..how can I find the Id of the process I want to kill.
By example I know the name of running program: BonPrinter.exe ..but for the function you mentioned I need the Id of the process.
..or where I can find a description of these new functions?
Best regards,
Zoli B.
_______________________________
Open eyes for you!
Open eyes for you!
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: How to Stop a program running (Kill)
You need someting like this :zolysoftsolutions wrote: ..how can I find the Id of the process I want to kill.
Happy HMG'ing
Viva INTERNATIONAL HMG
- Agil Abdullah
- Posts: 204
- Joined: Mon Aug 25, 2014 11:57 am
- Location: Jakarta, Indonesia
- Contact:
Re: How to Stop a program running (Kill)
Hi Esgici,
I'll try to implement your codes... And to make me anthusiastic, Let me name it like this:
Function LicenseToKill()
....
....
....
Return
Thanks for sharing.
I'll try to implement your codes... And to make me anthusiastic, Let me name it like this:
Function LicenseToKill()
....
....
....
Return
Thanks for sharing.
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
Programmer Never Surrender
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: How to Stop a program running (Kill)
Agil Abdullah wrote: I'll try to implement your codes... And to make me anthusiastic, Let me name it like this:
Function LicenseToKill()
....
In fact that code don't provide any licence,
simply a way ( ID / address ) to access.
Kill or love, this is your opportunity
Happy HMG'ing
Viva INTERNATIONAL HMG
- zolysoftsolutions
- Posts: 139
- Joined: Wed Feb 29, 2012 3:33 am
- Location: Gyulakuta, Erdélyország
- Contact:
Re: How to Stop a program running (Kill)
THANK YOU very much Esgici.
Is working.
Viva HMG!
Is working.
Viva HMG!
_______________________________
Open eyes for you!
Open eyes for you!