Kral__ Posted August 7, 2013 Share Posted August 7, 2013 Global; function search(ktgr,text) nSay = INIFile.GetValue(nDir.."\\neon\\"..ktgr.."\\liste.ini", "Adet", "Say"); for i = 1, nSay, 1 do nText = INIFile.GetValue(nDir.."\\neon\\"..ktgr.."\\liste.ini", i, "Exe"); result = String.Find(nText, text..".exe", 1, false); if result ~= "-1" then result = Dialog.Message("Notice", "bulundu", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); else Dialog.Message("Neon Aıo", text.." adında program bulunamadı.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); end end end Input>On Key; if e_Key == 13 then nText = Input.GetText(this); search(nKtgr,nText) end İni İçeriği; [Adet] Say=1 [1] Resim=ams.png Exe=filezilla.exe Burda sorun varmı diye bakabilirmisiniz.. Hata vermiyor fakat yanlış çalışıyo herhal :D Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted August 7, 2013 Share Posted August 7, 2013 nKtgr değişkeni neyi ifade ediyor? ondan kaynaklanıyor olabilirmi? Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted August 7, 2013 Share Posted August 7, 2013 search fonksiyonu iki parametre alıyor, sen birisini gönderiyorsun, orda sıkıntı var, nKtgr parametresini de gönder Quote Link to comment Share on other sites More sharing options...
Kral__ Posted August 8, 2013 Author Share Posted August 8, 2013 nKtgr; Program grublarını belirtiyor mesela "Antivirüs" gibi.. search fonksiyonuna 2 tane gönderiyorum zaten "search(nKtgr,nText)" ? nKtgr nerden derseniz onu önceden alıyor onda problem yok ;) Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted August 8, 2013 Share Posted August 8, 2013 Kodlarda başka sıkıntı göremedim, proje dosyası ver istersen. 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.