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 datatypes in Visual Basic are capable of accepting Nulls?
What is the use of OLE?
What is ado in vb?
How can you Navigate from the DHTML application to another DHTML application? .
What are the properties of datacontrol?
what are the different Types of Recordsets.
How to customize workgroup message?
A standard exe contains a registered Active-X DLL. Now some error arise in the application but not in the standard exe , it is in the Active-X DLL. How do you find it out in which line no the error is?
How would you access objects created in ActiveX Exe and ActiveX Dll
what are the Differences Object and Class?
What is the use of Active Control Property?
Write the Steps in Creating an ActiveX Control?