Hi Sudha,
> ...size of a folder. This code works fine if the size
> of the folder is less than 50 MB. But when it goes
> above 100 MB iam getting "page cannot be displayed"
> error. ...
Probably because you aren't forcing the result to a specific variable
type so it's breaking the code because it can't auto-assign the
variable type. Try changing this line:
Response.Write("Folder Size : " & fo.size & " bytes")
To this:
Response.Write("Folder Size : " & clng(fo.size) & " bytes")
That oughtta work until you break the 2g limit, where you will need to
use cdbl()
Regards,
Shawn K. Hall
http://ReliableAnswers.com/
'// ========================================================
Gotta run, the cat's caught in the printer.
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~->
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [EMAIL PROTECTED]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/