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
Write the Steps in Creating an ActiveX Control?
How would you create your application in DHTML?
Explain the differences between ActiveX Dll and ActiveX Exe?
___ property used to add a menus at runtime.
What are 3 main differences between flexgrid control and dbgrid control?
Which method is preferred to save data like database to the disk?
Types of LockEdits in RDO.
What is "NULL"?
Draw Sequence Modal of RDO and Explain?
what is the Difference between Tabletype and Snapshot?
___ is the control used to call a windows application.
How do I make an animated icon for my program?
Discuss the working with to-do lists.
How would you use ActiveX Dll and ActiveX Exe in your application?
Draw Sequence Modal of RDO? Explain.