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
Timer control contains ________ no. of events.
Is there any way to pass a variable to a form apart from using global variables?
How would you run your ActiveX Document Dll?
What is the use of Hyperlink control for DHTML applications?
What is the Windows API?
Recordset object consists what?
What are the Differenct Types of Instancing Property in ActiveX Dll and Exe?
what are the types of cursors in DAO?
How can you get selected file from file system Control?
1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report
Draw Sequence Modal of DAO? Explain.
How do I force a file dialogue box to reread the currect disk?
Data Control missing from toolbox when I use VB under NT3.5. Why?
Difference between Class Module and Standard Module?
1s it posible to Create Tables Through Querydef?