How to find size of the file. Which method or function is
used to occomplish this?
Answer / 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 |
Which language is used in visual basic?
What are the new events in textbox that has been included in VB6.0
How would you attach an ActiveX control in Your Application?
__ no of controls in form.
how to get printout between two dates informations in datareport in vb6.0
Is visual basic case sensitive?
How do I do drag & drop between applications?
What is the difference between Single and Double in VB?
Types of LockEdits in DAO?
What will happen if you issue a Resume statement after handling an error?
How can you check whether a record is valid record or Invalid record using ADO control or Object?
_____ collection in recordset used to assign a value from textbox to table columns without making abinding in datacontrol.