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
Where can I get good up-to-date information about VB?
How to use hyperlink?
How to find size of the file. Which method or function is used to occomplish this?
What is file in vb?
What do you know about chaining views.
Types of LockEdits in RDO.
How many objects resides in ADO ?
To validate a range of values for a property whenever the property values changes,which type of property procedure you use?
What is ActiveX? Explain.
Binary Access-method isused to access file in which manner?
How would you navigate between one document to another document
what are the Differences between Recordset and Resultsets?
___ property used to add a menus at runtime.
What is the Windows API?
what is the Difference between Tabletype and Snapshot?