Kral__ Posted September 21, 2011 Share Posted September 21, 2011 [center][b][font="Comic Sans MS"]Arkadaşlar İmageMaker adlı bir çalışma yapacağım ama bazı yerlerde zorlandım lütfen yardım edin. Resim Ekle Butonundaki Kod: [spoiler]strAd = Dialog.Input("Resim Ekleme", "Resmin ismini girin:", "", MB_ICONQUESTION) strAdres = Dialog.FileBrowse(true, "Resim Seçin", _DesktopFolder, "Resimler (.jpg)|*.jpg|", "", "dat", false, false); if strAd ~= "" and strAdres ~= "" and (strAdres[1] ~= "CANCEL") and (strAdres ~= nil) then strDosya = TextFile.ReadToString("AutoPlay\\Docs\\data.ini") strAra = String.Find(strDosya, strAd, 1, false) if strAra ~= -1 then Dialog.Message("", "Bu resim zaten mevcut!", MB_OK, MB_ICONSTOP, MB_DEFBUTTON1) else INIFile.SetValue("AutoPlay\\Docs\\data.ini", strAd, "Resim", strAd) INIFile.SetValue("AutoPlay\\Docs\\data.ini", strAd, "Adres", strAdres[1]) adres = INIFile.GetValue("AutoPlay\\Docs\\data.ini", strAd, "Adres"); SlideShow.AddSlide("SlideShow1", adres, ""); end end[/spoiler] Sonraki Resim Butonundaki Kod: ??? Önceki Resim Butonundaki Kod: ??? Lütfen Yardım Edin Üstadlar :S[/font][/b][/center] tmm arkadaşlar buldum Quote Link to comment Share on other sites More sharing options...
pilgetir Posted September 21, 2011 Share Posted September 21, 2011 nasıl yaptığını söylesende bilmeyenlerde öğrense Quote Link to comment Share on other sites More sharing options...
Kral__ Posted September 21, 2011 Author Share Posted September 21, 2011 Sonraki Resim: SlideShow.Navigate("SlideShow1", SLIDESHOW_NEXT); Önceki Resim: SlideShow.Navigate("SlideShow1", SLIDESHOW_LAST); Quote Link to comment Share on other sites More sharing options...
Kral__ Posted September 21, 2011 Author Share Posted September 21, 2011 peki arkadaşlar ben bi resmi 2 defa eklicem benim resim ekele butonundakilerden hangileri silersem 2 defa aynı resmi ekliyebilirim? Quote Link to comment Share on other sites More sharing options...
MostWanted Posted September 21, 2011 Share Posted September 21, 2011 Önceki resim için SlideShow.Navigate("SlideShow1", SLIDESHOW_LAST); değil, SLIDESHOW_PREV kullanacaksın. strAd = Dialog.Input("Resim Ekleme", "Resmin ismini girin:", "", MB_ICONQUESTION) strAdres = Dialog.FileBrowse(true, "Resim Seçin", _DesktopFolder, "Resimler (.jpg)|*.jpg|", "", "dat", false, false); if strAd ~= "" and strAdres ~= "" and (strAdres[1] ~= "CANCEL") and (strAdres ~= nil) then INIFile.SetValue("AutoPlay\\Docs\\data.ini", strAd, "Resim", strAd) INIFile.SetValue("AutoPlay\\Docs\\data.ini", strAd, "Adres", strAdres[1]) adres = INIFile.GetValue("AutoPlay\\Docs\\data.ini", strAd, "Adres"); SlideShow.AddSlide("SlideShow1", adres, ""); end Sanırım diğer istediğin kodda bu. Quote Link to comment Share on other sites More sharing options...
NoobAccountant Posted September 21, 2011 Share Posted September 21, 2011 [warning][color=#FF0000][b]DİKKAT: Konu Başlığını forum Kurallarına gore yeniden düzenleyiniz. Aksi halde cope tasınacaktır. [topic=872]Forum Kuralları[/topic] - [ Madde 10-16 ]Konu düzenlenene kadar yazılan tüm iletiler silinecek, ileti yazanlar uyarı alacaktır.[/b][/color][/warning] 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.