bitmez13 Posted June 18, 2012 Share Posted June 18, 2012 (edited) djonur 007 nin resimlerle ilgili projesini pdf şeklinde değiştirdim ama bir yerde hata veriyor On Preload: pdf.SetVisible("pdf1", false); On Show: tFolder = Folder.Find("personel", "*", false, nil); for a in pairs(tFolder) do ComboBox.AddItem("ComboBox1", String.SplitPath(tFolder[a]).Filename, tFolder[a]); ComboBox.SetSelected("ComboBox1", 1) end ComboBox On Select: nSelected = ComboBox.GetSelected(this) sFolder = ComboBox.GetItemData(this,nSelected) tFile = File.Find(sFolder, "*", true, true, nil, nil) ListBox.DeleteItem("ListBox1", -1) for a in pairs(tFile) do ListBox.AddItem("ListBox1",String.SplitPath(tFile[a]).Filename, tFile[a]) tUzanti = String.SplitPath(tFile[a]).Extension if (tUzanti == ".db") then -----Klasörler içinde istenmeyen uzantıları gizliyoruz. Eğer daha fazla varsa [if (tUzanti == ".db") or (tUzanti == ".asd") then] şeklinde or bağlacı ile gizleyebilirsin. ListBox.DeleteItem("ListBox1", a) end end ListBox On Select: tSelected = ListBox.GetSelected("ListBox1") sData = ListBox.GetItemData("ListBox1", tSelected[1]) tSize = pdf.GetFileInfo(sData) pdf.SetProperties("pdf1", {Width=tSize.Width, Height=tSize.Height}); pdf.Load("pdf1", sData) pdf.SetVisible("pdf1", true) pdf leri göstermiyor nerde hata var yardımcı olursanız sevinirim Edited June 20, 2012 by bitmez13 Quote Link to comment Share on other sites More sharing options...
Kral__ Posted June 18, 2012 Share Posted June 18, 2012 paragrafa txt dosyalarının okutulabildiği biliyorum pdf deil ama pdfyi txt e çevirebilirsen çalışabilir Quote Link to comment Share on other sites More sharing options...
bitmez13 Posted June 20, 2012 Author Share Posted June 20, 2012 pdfler de image gibi görüntüleniyor ama bulamadım Quote Link to comment Share on other sites More sharing options...
KintaRo Posted June 20, 2012 Share Posted June 20, 2012 proje dosyanızı verirseniz dah akolay yardımcı olabiliriz. Quote Link to comment Share on other sites More sharing options...
bitmez13 Posted June 20, 2012 Author Share Posted June 20, 2012 kintaro hoca proje dosyan ektedir tesekkürler http://www.mediafire.com/?z0vjva2uzu5bq25 Quote Link to comment Share on other sites More sharing options...
KintaRo Posted June 20, 2012 Share Posted June 20, 2012 [img]http://i.imgur.com/2OmAS.png[/img] [quote]http://www.mediafire.com/?theu5os9vyxyrxa[/quote] Quote Link to comment Share on other sites More sharing options...
KintaRo Posted June 20, 2012 Share Posted June 20, 2012 Şimdi farkettim, combobox on select evresindeki [quote]tFile = File.Find(sFolder, "*", true, true, nil, nil)[/quote] kodu [quote]tFile = File.Find(sFolder, "*.pdf", true, true, nil, nil)[/quote] ile değiştirirseniz o uzantı gizle koduna gerek kalmaz. Quote Link to comment Share on other sites More sharing options...
sevcankonak Posted June 22, 2012 Share Posted June 22, 2012 KintaRo çok teşekkürler ama benim bir sorum olacak pdf degilde word yada excel ile nasıl ilişkilendirile bilirim bu yaptıgın apz örneginde Quote Link to comment Share on other sites More sharing options...
sevcankonak Posted June 25, 2012 Share Posted June 25, 2012 yokmu acaba bilgisi olan Quote Link to comment Share on other sites More sharing options...
pilgetir Posted June 25, 2012 Share Posted June 25, 2012 ilişikilendirme derken docu açacakmısın ne yapacaksın? Quote Link to comment Share on other sites More sharing options...
sevcankonak Posted June 25, 2012 Share Posted June 25, 2012 (edited) [img]http://i.imgur.com/2OmAS.png[/img] bu projede oldugu gibi pdf yerine word yada excel açtırma Edited June 25, 2012 by sevcankonak Quote Link to comment Share on other sites More sharing options...
KintaRo Posted June 28, 2012 Share Posted June 28, 2012 LuaCOM ile excel ve word'e veri aktarımı yapılabilir ama onların içindeki verileri alıp AMS'de gösterilebileceğini sanmıyorum. IR Forum'a da baktım öyle bir şey göremedim. Ama bir dönüştürücü bulup command line ile belgeleri txt ya da html'e çevirip öyle okutturabilirsin. Quote Link to comment Share on other sites More sharing options...
sevcankonak Posted June 28, 2012 Share Posted June 28, 2012 Teşekkürler hocam html'e olarak yaptım ama word olarak yapamadım yinede mesaj atıgın için teşekkürler Quote Link to comment Share on other sites More sharing options...
pilgetir Posted June 28, 2012 Share Posted June 28, 2012 ams ile docamı çeviremedin? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted June 28, 2012 Share Posted June 28, 2012 Doc/Docx'de kini AMS'ye aktarmak istiyor. Quote Link to comment Share on other sites More sharing options...
pilgetir Posted June 28, 2012 Share Posted June 28, 2012 (edited) mıcrosoftun com nesnelerini kullanarak lua içinde kullanılıyor diye biliyorum.Ama denemedim. Edited June 28, 2012 by pilgetir 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.