[Gambas-user] R: Process in TableVew and to Kill a Process - RECTIUS

abbat abbat.81 at ...787...
Thu Mar 1 00:52:04 CET 2012


It works only if I use Button1 (If we execute an app ourselves).
But how to kill process if we know only Name?
Thanks


Vuott wrote:
> 
> ' Gambas class file
> 
> Private hpro As Process
> 
> 
> Public Sub Button1_Click()
>  
>  ' An application start, i.e. “ Gedit “
>    hpro = Exec ["gedit"] As "hpro"
>  
> End
> 
>  
> Public Sub button2_Click()
>  
>  ' it closes application process
>    hpro.kill
>  
>  End
>   
> 
> ' this event is raised, when process is closed:
>  Public Sub hpro_Kill()
> 
>    Print "Process closed !"
>  
>  End
> 
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

-- 
View this message in context: http://old.nabble.com/Process-in-TableVew-and-to-Kill-a-Process-tp33417515p33417896.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list