' Gambas class file
Private hpro As Process Public Sub Button1_Click() ' An application start, i.e. “ Gedit “ hpro = Exec ["gedit"] End Public Sub button2_Click() ' it closes application process hpro.kill End Public Sub hpro_Kill() ' this event is raised, when process is closed Print "Process closed !" End --- Mer 29/2/12, abbat <abbat...@mail.ru> ha scritto: > Da: abbat <abbat...@mail.ru> > Oggetto: [Gambas-user] Process in TableVew and to Kill a Process > A: gambas-user@lists.sourceforge.net > Data: Mercoledì 29 febbraio 2012, 23:28 > > Help me please. > > 1) How to situate processes in TableView or GridView by Name > and PID > columns? > 2) How to kill Process? > > > I cannot find any example of it and about Process.Kill. > > I tried: > > Dim p As Process = "tvtime" > p.Kill > ____ > > Process.Kill(9207) > _____ > > Process.Kill(tvtime) > > Its does not work. > > > > Thank you > > > > -- > View this message in context: > http://old.nabble.com/Process-in-TableVew-and-to-Kill-a-Process-tp33417515p33417515.html > Sent from the gambas-user mailing list archive at > Nabble.com. > > > ------------------------------------------------------------------------------ > 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user