Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the tools available for Debuggiu in VB?

2070


Types of LockEdits in RDO.

2212


What are the uses of List View Control?

1968


What are the Internet tools available in VB6.0?

2955


what is the Difference between Dynaset and Snapshot?

2101


Explain about creating VB applications in excel?

1183


Explain the working with task in Gantt chart view.

1114


What are some methods you can use to send data from one VB executable to another one?

2298


__ no of controls in form.

1563


what is the control used to call a windows application.

2044


To.set the command button for ESC ___ Property has to be changed.

1949


What is the use of ActiveX Documents?

2119


How do you avoid the "Invalid use of null" error when reading null values from a database?

1746


How would you add elements in TreevieW Control?

2082


___ property is used to change to ___ value to access a identity column'in datacontrols.

1673