pilgetir Posted February 7, 2013 Share Posted February 7, 2013 merhaba forumda arama yaptım lakin sadece görev yönetici apzsi çıktı benim yapmak istediğim şey diyelim bilgiayarımda xxx.exe dosya var ben butona tıkladığımda bu programı kapatacak. Bunu naısl yapıldığını gerçektn unuttum :( Quote Link to comment Share on other sites More sharing options...
Cyph3r Posted February 7, 2013 Share Posted February 7, 2013 System.TerminateProcess(9999); Sondaki sayı process ID si. Çalışan programın ID numarasını eklendinmi o programı kapatıyor. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted February 7, 2013 Share Posted February 7, 2013 pilgetir, bu kadar çok soru sorduğuna göre büyük bir proje yapıyorsun. projeden biraz bahsetsene bize. Quote Link to comment Share on other sites More sharing options...
pilgetir Posted February 7, 2013 Author Share Posted February 7, 2013 System.TerminateProcess(9999); Sondaki sayı process ID si. Çalışan programın ID numarasını eklendinmi o programı kapatıyor. hocam o programın ıd bilgisini naısl bulacağım ismi değişebiliyor ondan sordum ismi yazdığımız da kapatıyordu onu bulamıyorum pilgetir, bu kadar çok soru sorduğuna göre büyük bir proje yapıyorsun. projeden biraz bahsetsene bize. büüyk bir proje değil abi anasayfasasını değiştircek birde butona basınca istediğim uygulamayı kapatacak hepsi bu Quote Link to comment Share on other sites More sharing options...
Cyph3r Posted February 7, 2013 Share Posted February 7, 2013 İsme göre process değişirmi bilmiyorum. Aşağıdaki program ile ID leri bulabilirsin.. http://processhacker.sourceforge.net/ Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted February 7, 2013 Share Posted February 7, 2013 İki farklı şekilde yapabilirsin ; File.Run komutuyla CMD üzerinden taskkill /f /im ornek.exe komutu göndererek ; veya System.EnumerateProcess komutuyla tüm işlemleri tabloya döküp ID numarasını aldıktan sonra TerminateProcess komutu göndererek. Quote Link to comment Share on other sites More sharing options...
radyofon Posted February 8, 2013 Share Posted February 8, 2013 DivaneTR arkadaşımızın dediği gibi process id lerini listeye döken bir örnek var: https://hotfile.com/dl/193230335/a801911/SetPriority.apz.html Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.