I am trying to ascertain the size of an image file with the following code
Local imagesize
Set Compatible On && file rather than field
&& get the size
(variables defined here)
imagesize = Str(Fsize(lcImage)/1024,6,1)+ 'K' && Kb
imagesize = Str(Fsize(Justfname(oldexhpath))/1024,6,1) + 'K'
Set Compatible Off
Neither give me a result!
Two points
I seem to remember someone giving me a better method?
Would this work on a mapped drive?
Regards
Coldan
Local imagesize
Set Compatible On && file rather than field
&& get the size
(variables defined here)
imagesize = Str(Fsize(lcImage)/1024,6,1)+ 'K' && Kb
imagesize = Str(Fsize(Justfname(oldexhpath))/1024,6,1) + 'K'
Set Compatible Off
Neither give me a result!
Two points
I seem to remember someone giving me a better method?
Would this work on a mapped drive?
Regards
Coldan