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

Ru Vuott vuott at ...325...
Wed Feb 29 23:54:15 CET 2012


' 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





More information about the User mailing list