Groups | Blog | Home
all groups > dotnet xml > august 2005 >

dotnet xml : Getting file size


Roshawn Dawson
8/8/2005 3:56:14 PM
Hi,

Does anyone know how to get the size of an xml file using VB.NET? I
haven't the slightest idea where to begin.

Thanks,
Chris Lovett
8/8/2005 8:33:50 PM
Import System.IO

FileStream stm = File.OpenRead(path)
int length = stm.Length
stm.Close()


[quoted text, click to view]

Roshawn Dawson
8/9/2005 10:16:03 AM
Thanks, Chris. That helps alot!! :-)

[quoted text, click to view]
AddThis Social Bookmark Button