Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining file size
Message
 
 
To
02/06/2005 08:52:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01019302
Message ID:
01019376
Views:
17
Hi Tore

I have ran my program and it returns nothing. Obviously I am new to this!
Function FileSizeInKB
lParameter cFilename
Local lcCompatible, lnReturn
lcCompatible=Set('compatible')
Set Compatible on
lnReturn=Fsize('U:\questpdm\picture\whatever.jpg')
Set Compatible &lcCompatible
Return lnreturn/1024
How do I check the value in a an IF condition to see if it is greater than or less than 500KB

Thanks Tore
Neil Lewis
IT R&D Manager
Velmore Ltd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform