korasoglu Posted December 12, 2011 Share Posted December 12, 2011 Arkadaşlar diyelimki Docs klasöründe bir exe var boyutunu alıp herhangi bir yere nasıl yazdırabiliriz.... Quote Link to comment Share on other sites More sharing options...
KintaRo Posted December 12, 2011 Share Posted December 12, 2011 [quote]sDosya = File.GetSize(_SourceFolder .. "\\Autoplay\\Docs\\calc.exe") sCevir = String.GetFormattedSize(sDosya, FMTSIZE_AUTOMATIC, true) Dialog.Message("Boyut", "Dosya Boyutu: " .. sCevir)[/quote] Quote Link to comment Share on other sites More sharing options...
kamuran731 Posted December 14, 2011 Share Posted December 14, 2011 parapragh a yazdırmak içi ise aşağıdaki kodu kullanabilirsin --Dosya Boyutunu Parpragta göster sDosya = File.GetSize("AutoPlay\\Docs\\Sample.txt") sCevir = String.GetFormattedSize(sDosya, FMTSIZE_AUTOMATIC, true) Paragraph.SetText("Paragraph1", "Boyutu ;" .. sCevir); 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.