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 is ActiveX Dll and ActiveX Exe?

2164


What is the use of Tabledef?

1968


What is meant by Establish Connection in RDO? 74.1s it possible to Access BackEnd procedures? Explain.

1456


What is script control?

999


How do I program the Novell NetWare API from VB?

1364


How to find the current record position in data control?

1913


What is OLEDB?

1951


Types of ActiveX Components in VB?

1841


what is the Difference between Tabletype and Snapshot?

1998


How would you create properties by using class Builder Wizard?

1922


Explain the "cursortype" and "Locktype" in VB?

4462


What do you know about user forms.

1056


what is the control used to call a windows application.

1935


Explain Types of DBCombo boxes?

939


Is the Access Engine and Visual Basic Pro good enough for database work?

1613