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

Write the Steps in Creating an ActiveX Control?

1967


How would you create your application in DHTML?

1864


Explain the differences between ActiveX Dll and ActiveX Exe?

2520


___ property used to add a menus at runtime.

1816


What are 3 main differences between flexgrid control and dbgrid control?

2403


Which method is preferred to save data like database to the disk?

2374


Types of LockEdits in RDO.

2065


What is "NULL"?

1461


Draw Sequence Modal of RDO and Explain?

2333


what is the Difference between Tabletype and Snapshot?

2059


___ is the control used to call a windows application.

1536


How do I make an animated icon for my program?

1508


Discuss the working with to-do lists.

1026


How would you use ActiveX Dll and ActiveX Exe in your application?

2394


Draw Sequence Modal of RDO? Explain.

2048