kaan_karabey Posted December 19, 2013 Share Posted December 19, 2013 (edited) Arkadaşlar Treelistle AIO yapıyordum evdeki bilgisayarda iş yerindeki bilgisayarda bu hatayı alıyorum bunun nedeni nedir ve bu sorunu çözmem için ne yapmak gerekiyor On Show Kodu: TreeList.AddColumn("Plugin1", "", 50); TreeList.AddColumn("Plugin1", "Program Adı", 200); TreeList.AddColumn("Plugin1", "Boyutu", 75) TreeList.AddColumn("Plugin1", "Sürümü", 75) TreeList.AddColumn("Plugin1", "Üretici", 227) i="0" nDosya= File.Find("AutoPlay\\Programlar", "*.exe", false, false, nil, nil); for i in pairs(nDosya) do nDosya[i] = String.Replace(nDosya[i], ".exe", "", false) nDosya[i] = String.Replace(nDosya[i], "AutoPlay\\Programlar\\", "", false) nBoyut = String.GetFormattedSize(File.GetSize(_SourceFolder.."\\AutoPlay\\Programlar\\"..nDosya[i]..".exe"), FMTSIZE_AUTOMATIC, true); version_info = File.GetVersionInfo( _SourceFolder.."\\AutoPlay\\Programlar\\"..nDosya[i]..".exe"); fv = version_info.FileVersion fd=version_info.ProductName TreeList.AddRow("Plugin1","|"..nDosya[i].."|"..nBoyut.."|"..fv.."|"..fd, nil, nil, nil) end saniye = System.GetTime(TIME_FMT_SEC); dakka = System.GetTime(TIME_FMT_MIN); saat = System.GetTime(TIME_FMT_HOUR); Label.SetText("Label5", ""..saat..":"..dakka..":"..saniye..""); Page.StartTimer(100, 10); gun = System.GetDate(DATE_FMT_DAY); ay = System.GetDate(DATE_FMT_MONTH); yil = System.GetDate(DATE_FMT_YEAR); Label.SetText("Label6",""..gun.."."..ay.."."..yil.."") Page.StartTimer(100, 10); Edited December 19, 2013 by kaan_karabey Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted December 19, 2013 Share Posted December 19, 2013 nDosya= File.Find("AutoPlay\\Programlar", "*.exe", false, false, nil, nil); if nDosya then for i in pairs(nDosya) do nDosya[i] = String.Replace(nDosya[i], ".exe", "", false) nDosya[i] = String.Replace(nDosya[i], "AutoPlay\\Programlar\\", "", false) nBoyut = String.GetFormattedSize(File.GetSize(_SourceFolder.."\\AutoPlay\\Programlar\\"..nDosya[i]..".exe"), FMTSIZE_AUTOMATIC, true); version_info = File.GetVersionInfo( _SourceFolder.."\\AutoPlay\\Programlar\\"..nDosya[i]..".exe"); fv = version_info.FileVersion fd=version_info.ProductName TreeList.AddRow("Plugin1","|"..nDosya[i].."|"..nBoyut.."|"..fv.."|"..fd, nil, nil, nil) end end şeklinde bir düzenleme işini görebilir. 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.