adspace
How to find size of the file. Which method or function is
used to occomplish this?
Answer Posted / sundarraj_v83
Adding reference (Microsoft Scripting Runtime) scrrun.dll
into the vb project and using function Getfile(file
path).size,
Example code
After Adding reference into VB Project,
Dim fso as filesystemobject
set fso = new filesystemobject
msgbox fso.getfile("D:\hello.txt").size
it will display the message for size of hello.txt file
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Draw Sequence Modal of DAO and Explain?
How would you activate animation control?
How do I make the mouse cursor invisible/visible?
Specify technical & functional architecture of your last 2 projects.
How do I tell when an application executed using the SHELL command is finished?
With in the form we want to check all the text box control are typed or not? How?
How do I force a file dialogue box to reread the currect disk?
How would you attach pictures in column headers of List View Control?