i wanna to get size of file.
help me how to get this. anyone know how to do this.
any help will be appreciated :)
dnk 1 Light Poster
Recommended Answers
Jump to Posttry this following code :
'This project needs ' -a Command Button (Command1) ' -a CommonDialog (CommonDialog1) ' -a Label (Label1) Private Const OF_READ = &H0& Private Declare Function lOpen Lib "kernel32" Alias "_lopen" (ByVal lpPathName As String, ByVal iReadWrite As Long) As Long Private Declare Function …
Jump to Posti wanna to get size of file.
help me how to get this. anyone know how to do this.
any help will be appreciated :)this is a simple but efficient code..
Dim fln,result Dim fname as String fname="c:\windows\regedit.exe" fln = FileLen(trim(fname)) result = CInt((fln / 1024) …
All 7 Replies
Jx_Man 987 Nearly a Senior Poster Featured Poster
dnk commented: you're the best ..... :) Thank you +1
Neji commented: helping +1
Jade_me commented: Through my mind +1
choudhuryshouvi 33 Posting Pro
dnk commented: much efficient :) +1
Jx_Man 987 Nearly a Senior Poster Featured Poster
choudhuryshouvi 33 Posting Pro
Jx_Man 987 Nearly a Senior Poster Featured Poster
Sawamura commented: very welcome :) +1
dnk 1 Light Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster
dnk commented: thanks you want to share your knowledge jx_man :) +1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.