RBCSize Class is a free REALbasic Class (for premium accounts users only) that allows you to get quickly the file or folder size (bytes or kB) in REALbasic. It’s very easy to use so enjoy it!
Coming back to the main thread… every special accounts will get access to my RBCSize Class (in feature others) that allows you to get extremely fast the file or folder size (bytes or kB) in REALbasic. RBCSize Class works on Mac OS, Linux and Windows (I think only english version). Here is example how can you get the file size on Windows and folder size on Mac OS or Linux. Of course you can get file and folder size on each platform. Class size = 3,02 KB.
1 2 3 4 5 | Dim rbcs As New RBCSize rbcs.Size("/Users/qbap/Downloads/", 1) // (folder or file location, 0 = size in bytes or 1 = size in kB) MsgBox Str(rbcs.Data) + " kB" //convert Integer value to String and display a MsgBox info |
1 2 3 4 5 6 7 8 | Dim rbcs As New RBCSize Dim i As Int32 rbcs.Size("C:\Users\qbap\Desktop\gg10.exe",0) //get file size in bytes i = rbcs.data MsgBox Str(i) |
REALbasic City will offer still free tutorials, but the best ones like Creating iTunes like Sidebar for REALbasic, will be available for users whereby it is possible to create this kind of stuff. Hope you can understand this and see you soon on REALbasic City where will be more fresh, and cool tutorials!
If you see this message you probably want access special material for Premium Members (Source Files, Bonus Tutorials, free Classes and More). You can do this by subscribing REALbasic City site for 10 USD (access for 3 months). There is also a option to buy access only to this material. Login or register to get option to buy and support REALbasic City.
Log in
“I hope that 3 USD (month access)” I come from Italy I pay in euros?
I will use PayPal so you will pay in EUR the value of 3 USD and it will be cheaper then 3 EUR. Unless this is a problem?
is perfect:) 3€ are few
Great
Special accounts users will also get, for supporting REALbasic City, a option to vote which tutorial they like to learn first, maybe some wish list will be also there