kapucu1971 Posted July 14, 2012 Share Posted July 14, 2012 projeme fotoğraf oluşturma programlarıyla exe. uzantılı fotoğraflar ekledim listbox ile aşağıdaki kodla seçilen dosya çalışıyor tSecilen = ListBox.GetSelected("ListBox1") if tSecilen ~= nil then sDosyaYolu = ListBox.GetItemData("ListBox1", tSecilen[1]) File.Run(sDosyaYolu, "", "programlar", SW_SHOWNORMAL, false) end buton ile ana sayfaya yönlendiriyorum gidiyor ama çalışır haldeki exe. uzantılı dosyam hala çalışır halde devam ediyor. ben istiyorumki buton aynı anda *.exe çalışır haldeki her programıda durdursun ve ana sayfaya gitsin Quote Link to comment Share on other sites More sharing options...
SecondLife Posted July 14, 2012 Share Posted July 14, 2012 progres PID kodunu alip kapat veya calistiritken handle yap ve progresten kapat. senin için en kolayı başka bir exe yap ona link gönder çalışıyorsa kapatsın çalışmıyor sa açsın Quote Link to comment Share on other sites More sharing options...
kapucu1971 Posted July 14, 2012 Author Share Posted July 14, 2012 ilgin için teşekkürlerde anlattıklarından bir şey anlamadım biraz açıklayabilirmisin veya bir örnek Quote Link to comment Share on other sites More sharing options...
HalilYanar Posted July 14, 2012 Share Posted July 14, 2012 Exe'yi durdurma konusunda örnek zaten verilmişti link olarak değilde kodlar verildi. Lütfen ilk olarak TncTR'de arama yapmanızı tavsiye ederim. Quote Link to comment Share on other sites More sharing options...
kapucu1971 Posted July 14, 2012 Author Share Posted July 14, 2012 bulamadım yardımcı olrsanız sevinirim tek bir kod yazmakla sorunum çözülürmü kodu varsa yardımcı olursanız çok sevinirim 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.