woramon Posted July 22, 2011 Share Posted July 22, 2011 Merhaba. Belirli bir exenin 3 ten fazla açılmsını istemiyorum. Ama aklıma hiç bir şey gelmedi Nası yapabileceğim konusunda fikir vermenizi istiyorum. Şimdiden herkese teşekkürler. Yapan varsa kaynak kodlarını verbilrmi... Quote Link to comment Share on other sites More sharing options...
asmazh Posted July 22, 2011 Share Posted July 22, 2011 If UBound(ProcessList("program ismi")) > 3 Then ; MsgBox(16, "Hata!", "3 den fazla açamazsınız!", 5) EndIf "program ismi" buraya 3 den fazla açılmasını istemediğim programın proceslist deki ismini gir. Quote Link to comment Share on other sites More sharing options...
woramon Posted July 22, 2011 Author Share Posted July 22, 2011 if hiç aklıma gelmemişti saol ama aklıma bi şey takıldı ubound ne işe yaıyor onuda anlatırsan sevinirim Quote Link to comment Share on other sites More sharing options...
asmazh Posted July 22, 2011 Share Posted July 22, 2011 İngilizce bilgim az ama burada bir nevi kontrol ınş böyledir Quote Link to comment Share on other sites More sharing options...
woramon Posted July 22, 2011 Author Share Posted July 22, 2011 Cok saol pm e bakarsan sevinirim Quote Link to comment Share on other sites More sharing options...
asmazh Posted July 22, 2011 Share Posted July 22, 2011 (edited) Burdan vereyim dedim kodları Him şimdi anladım şöyle dene. While 1 ; durmadan kontrol etsin diye If UBound(ProcessList (metin2.exe)) > 5 Then ; metin2 oyununun proceslist deki ismini gir. processclose("metin2.exe") EndIf WEnd kodları düzenledim. Edited July 22, 2011 by asmazh Quote Link to comment Share on other sites More sharing options...
woramon Posted July 27, 2011 Author Share Posted July 27, 2011 tşkürler biraz geç oldu cvp ama k.bsın artık 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.