Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: GetFileSize - interface for VB


Message #1 by andrew.c.watts@b... on Thu, 17 Aug 2000 14:1:12
I missed finding this capability :

    Dim fso As New FileSystemObject, fil As File
    Set fil = fso.GetFile(filepath)
    MsgBox "file size is " & (fil.Size) / 1000 & "KB"

Thanks


  Return to Index