HalilYanar Posted March 1, 2012 Share Posted March 1, 2012 (edited) Merhaba arkadaşlar benden bir hocam program yapmamamı istedi. Fakat ben bazı şeyleri yapamadım. Bilenler yardımcı olursa sevinirim. [img]http://s14.directupload.net/images/120301/ha343754.png[/img] Resimdede gösterdiğim gibi arkadaşlar gözat tıklayınca gözat penceresi açılıcak ve seçtiğim video listbox da gözükücek ona çift tıklayınca video oynucak kaydet dedikten sonra yaptıklarımız .ini dosyasına kaydolucak. Şimdiden teşekkürler. Edited March 1, 2012 by HalilYanar Quote Link to comment Share on other sites More sharing options...
El-Arabi Posted March 1, 2012 Share Posted March 1, 2012 Örnekleri mevcut forumda. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 1, 2012 Share Posted March 1, 2012 proje dosyası nerde? Quote Link to comment Share on other sites More sharing options...
HalilYanar Posted March 1, 2012 Author Share Posted March 1, 2012 (edited) Dosyayı sadece düzenliyorum ams de Upload ettim http://www.upload.gen.tr/d.php/www/0z57sdy2/deneme.rar.html Abi apz yapabilirsen güzel olur Edited March 1, 2012 by HalilYanar Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 1, 2012 Share Posted March 1, 2012 yanlış türde dosya gondermişsin, File>Export komutunu kullanmalıydın, neyse ben yeni proje oluşturdum. Gözat buttonu ile seçilen dosyaları listboxa ekler, ListBox'a çift tıklayınca videoları oynatır. Kaydet'e basınca listeyi kaydeder, Eğer daha önceden kaydedilmiş liste varsa ilk açılışta onları listboxa ekler. [code]http://www.mediafire.com/?iet94m99x58wvyr[/code] Quote Link to comment Share on other sites More sharing options...
Kral__ Posted March 1, 2012 Share Posted March 1, 2012 http://www.tnctr.com/topic/196023-media-player-yapma/ Quote Link to comment Share on other sites More sharing options...
HalilYanar Posted March 1, 2012 Author Share Posted March 1, 2012 Kintaro abi bi bakarmısın senin yaptığını bitirdim fakat kaydet diyorum kaydetmiyor .ini dosyası oluşturmuyor. Baya denedim olmuyor neden acaba ? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 2, 2012 Share Posted March 2, 2012 proje dosyası? Quote Link to comment Share on other sites More sharing options...
HalilYanar Posted March 2, 2012 Author Share Posted March 2, 2012 (edited) Abi senin gönderdiğin apz den yaptım ama kaydetmiyo söylediğim gibi acaba ndn al abi .apz http://www.upload.gen.tr/d.php/www/j3esjf1l/Deneme.rar.html Abi lütfen yardım et. Edited March 2, 2012 by HalilYanar Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 22, 2012 Share Posted April 22, 2012 milanonunki gibi olmasa bile profesyonel player yapmak istersen pm atman yeterlidir Quote Link to comment Share on other sites More sharing options...
HalilYanar Posted April 23, 2012 Author Share Posted April 23, 2012 (edited) Yaz için güzel projeler düşünüyorum birde şu kaydet butonunu beceremedim ne kadar beceriksizim @Kral__ Yazın ki projelerimde senin görselliğine ihtiyacım olucak Ve buda KintaRo Abimin verdiği projeyi düzenledim hocama verdim kullanıyor.. [img]http://i.imgur.com/dyhT7.png[/img] Kaydet butonu bir türlü çalışmıyor Edited April 23, 2012 by HalilYanar Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 23, 2012 Share Posted April 23, 2012 (edited) dosya = Dialog.FolderBrowse("Mp3 Klasörünü seçin", _DesktopFolder) StatusDlg.Show(0, false); tblFiles = File.Find(dosya, "*.mp3", true, false, nil, nil); if tblFiles then for i,v in pairs (tblFiles) do local tblSplit = String.SplitPath(v) ListBox.AddItem("list", tblSplit.Filename, v); end end StatusDlg.Hide(); al bakalım olucakmı kral player apz http://speedy.sh/dd8C9/Kral-vVv-Kral.apz al bakalım incele eski playerım Edited April 23, 2012 by Kral__ Quote Link to comment Share on other sites More sharing options...
milano88 Posted April 23, 2012 Share Posted April 23, 2012 (edited) hay bu milanoyu sevsinler Edited April 23, 2012 by milano88 Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 23, 2012 Share Posted April 23, 2012 (edited) heşeyi öğrendim hocam pluginler saolsun ve üstadlarım Edited April 23, 2012 by Kral__ Quote Link to comment Share on other sites More sharing options...
HalilYanar Posted April 23, 2012 Author Share Posted April 23, 2012 [quote name='Kral__' date='23 April 2012 - 13:22 ' timestamp='1335180144' post='1191019'] dosya = Dialog.FolderBrowse("Mp3 Klasörünü seçin", _DesktopFolder) StatusDlg.Show(0, false); tblFiles = File.Find(dosya, "*.mp3", true, false, nil, nil); if tblFiles then for i,v in pairs (tblFiles) do local tblSplit = String.SplitPath(v) ListBox.AddItem("list", tblSplit.Filename, v); end end StatusDlg.Hide(); al bakalım olucakmı kral player apz http://speedy.sh/dd8C9/Kral-vVv-Kral.apz al bakalım incele eski playerım [/quote] @Kral__ Ben kaydet butonunu yapamadım sadece list box' a ekliyor zaten KintaRo abi eklemişti kaydet butonuna kodlar ama çalışmıyor. Kaydet butonundaki kodlar bunlar : [quote]nCount = ListBox.GetCount("ListBox1") if nCount ~= 0 then for i=1,nCount do sData = ListBox.GetItemData("ListBox1", i) INIFile.SetValue("Autoplay\\Docs\\data.ini", String.SplitPath(sData).Filename, "isim", String.SplitPath(sData).Filename) INIFile.SetValue("Autoplay\\Docs\\data.ini", String.SplitPath(sData).Filename, "yol", sData) end end[/quote] Bu kod çalışmıyor yardım edebilirseniz sevinirim. Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 23, 2012 Share Posted April 23, 2012 iniye kaydediyorsa kodları vericem Quote Link to comment Share on other sites More sharing options...
HalilYanar Posted April 23, 2012 Author Share Posted April 23, 2012 Verirsen makbül geçer Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 23, 2012 Share Posted April 23, 2012 page on show tblData = INIFile.GetSectionNames("AutoPlay\\Docs\\data.ini") if tblData ~= nil then for i in pairs(tblData) do ListBox.AddItem("list", tblData[i], "") end end listbox on duable click nSecim = ListBox.GetSelected("list") if nSecim ~= nil then Secim = ListBox.GetItemText("list", nSecim[1]) nData = INIFile.GetValue("AutoPlay\\Docs\\data.ini", Secim, "yol") MediaPlayer.Load("Plugin1", nData) end al bakalım olucak mı Quote Link to comment Share on other sites More sharing options...
HalilYanar Posted April 23, 2012 Author Share Posted April 23, 2012 (edited) @Kral__ Kardeş dediğini yaptım olmadı ama sen kodları eklesen programda açtığımız müzikleri kaydet butonunu kaldıralım olmazsa müziği eklediğimiz an gözat butonundan ini dosyasına kaydetsin açılışta listelensin. .apz : [quote]http://www.mediafire.com/?k8zcj330c7o5awa[/quote] Edited April 23, 2012 by HalilYanar Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 23, 2012 Share Posted April 23, 2012 yaw sen açılışta kaydedilenleri liste eklemek istemiyormusun ? Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 23, 2012 Share Posted April 23, 2012 http://www.mediafire.com/?5romu9e7fdj2hbj Quote Link to comment Share on other sites More sharing options...
HalilYanar Posted April 24, 2012 Author Share Posted April 24, 2012 Evet fakat olmuyor verdiğin kodları denedim. Quote Link to comment Share on other sites More sharing options...
Kral__ Posted April 24, 2012 Share Posted April 24, 2012 ne offf pm at konuşalım 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.