WolfmanTR_ Posted December 19, 2012 Share Posted December 19, 2012 arkadaşlar, şimdi ini içindeki dosyayı listbox a yazdırmak tamamda, ben şöyle birşey yapacağım, ini içinde örn mozilla firefox 1.70 rul=http://sadsadsadas.exe winrar 4.20 url=http://sadasda.exe olacak ini den alan veriyi list e yazdıracak listten seçilen program, url ye bağlanıp indirecek.tam olarak yapmak istediğim bu, eğer .ini ile yapılamazsa xml de olur Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted December 19, 2012 Editor Share Posted December 19, 2012 Öncelikle teşekkürler.Sen anladın. Listbox On-Double Click kısmına. result = ListBox.GetSelected("ListBox1"); sec = ListBox.GetItemData("ListBox1",result[1]); Dialog.Message("",sec); Listbox a inideki dosyaları eklemesi için butonun on click evresine result = INIFile.GetSectionNames("AutoPlay\\Docs\\ad.ini"); for i,v in pairs(result) do url = INIFile.GetValue("AutoPlay\\Docs\\ad.ini", v, "url"); result = ListBox.AddItem("ListBox1", v, url); end Quote Link to comment Share on other sites More sharing options...
WolfmanTR_ Posted December 19, 2012 Author Share Posted December 19, 2012 çok teşekkür ederim, .ini yi kendi serverimde sürekli güncel tutarak, sürekli güncel katılımsız program İndirebileceksiniz :) Quote Link to comment Share on other sites More sharing options...
sefas Posted December 19, 2012 Share Posted December 19, 2012 hocam hangi programlama dili bu? Quote Link to comment Share on other sites More sharing options...
WolfmanTR_ Posted December 19, 2012 Author Share Posted December 19, 2012 (edited) @pairs, arkadaşım bir yerde takıldım, şimdi list ten seçilen dosya adıyla inmesini istiyorum, onu nasıl gerçekleştireblirim ? result = ListBox.GetSelected("ListBox1"); sec = ListBox.GetItemData("ListBox1",result[1]); StatusDlg.Show(MB_ICONINFORMATION, false); StatusDlg.ShowProgressMeter(true); StatusDlg.SetTitle("İndiriliyor"); StatusDlg.SetMessage("Seçtiğiniz Program İndiriliyor..."); StatusDlg.SetStatusText("Yükleme İlerlemesi"); HTTP.Download(sec, _DesktopFolder .."secilen_dosya.zip", 20, 80) StatusDlg.SetMeterPos(100); Application.Sleep(1000); StatusDlg.Hide(); Edited December 19, 2012 by wolfman.tr_ Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted December 20, 2012 Editor Share Posted December 20, 2012 Section lara Sadece Firefox Chrome gibimi yazacaksın. [Firefox] url=http://firefox.com Quote Link to comment Share on other sites More sharing options...
WolfmanTR_ Posted December 20, 2012 Author Share Posted December 20, 2012 yok Section ismini [Firefox 17.0] olarak kaydettim ya masa üstüne Firefox 17.0 zip olarak inecek. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted December 20, 2012 Editor Share Posted December 20, 2012 Müsait vakitte(Müdür gelmezse) bi çalışma yapayım. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted December 20, 2012 Editor Share Posted December 20, 2012 result = ListBox.GetSelected("ListBox1"); sec = ListBox.GetItemData("ListBox1",result[1]); StatusDlg.Show(MB_ICONINFORMATION, false); StatusDlg.ShowProgressMeter(true); StatusDlg.SetTitle("İndiriliyor"); StatusDlg.SetMessage("Seçtiğiniz Program İndiriliyor..."); StatusDlg.SetStatusText("Yükleme İlerlemesi"); HTTP.Download(sec, _DesktopFolder .."\\"..ListBox.GetItemText("ListBox1",result[1]).zip,20, 80) StatusDlg.SetMeterPos(100); Application.Sleep(1000); StatusDlg.Hide(); bu kodu kullanabilirsin kardeşim. Quote Link to comment Share on other sites More sharing options...
WolfmanTR_ Posted December 20, 2012 Author Share Posted December 20, 2012 hata aldım :/ Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted December 20, 2012 Editor Share Posted December 20, 2012 GÖzümden kaçmış kardeş. HTTP.Download(sec, _DesktopFolder .."\\"..ListBox.GetItemText("ListBox1",result[1])..".zip",20, 80) bu kod böyle olacak. Quote Link to comment Share on other sites More sharing options...
WolfmanTR_ Posted December 20, 2012 Author Share Posted December 20, 2012 eyvallah kardeşim, normalde dikkat ederim ama sınava çalıştım kafam bulandı :Q 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.