Jump to content

Treelist Aıoda Hata


kaan_karabey
 Share

Recommended Posts

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

 

vp57f.png

 

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 by kaan_karabey
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...