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
What are the tools available for Debuggiu in VB?
Types of LockEdits in RDO.
What are the uses of List View Control?
What are the Internet tools available in VB6.0?
what is the Difference between Dynaset and Snapshot?
Explain about creating VB applications in excel?
Explain the working with task in Gantt chart view.
What are some methods you can use to send data from one VB executable to another one?
__ no of controls in form.
what is the control used to call a windows application.
To.set the command button for ESC ___ Property has to be changed.
What is the use of ActiveX Documents?
How do you avoid the "Invalid use of null" error when reading null values from a database?
How would you add elements in TreevieW Control?
___ property is used to change to ___ value to access a identity column'in datacontrols.