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

Timer control contains ________ no. of events.

2253


Is there any way to pass a variable to a form apart from using global variables?

1534


How would you run your ActiveX Document Dll?

2060


What is the use of Hyperlink control for DHTML applications?

2182


What is the Windows API?

1547


Recordset object consists what?

2091


What are the Differenct Types of Instancing Property in ActiveX Dll and Exe?

2110


what are the types of cursors in DAO?

1999


How can you get selected file from file system Control?

2005


1.What are the Feactures visual data manager 2.Short note on visual data manager 3.What is data control,its work,properties,methods 4.Needs for OLEDB in vb 5.LIst steps involved in generating christal report 6.What is a recordset 7.Diffrence between RDO and ADO 8.What is an Activex control 9.Advantages of ADO over data control 10.Diffrence between model and modeless form 11.What is the significance of debug window 12.Diffrence between single document and multiple document 13.Explain data report

4251


Draw Sequence Modal of DAO? Explain.

2444


How do I force a file dialogue box to reread the currect disk?

1446


Data Control missing from toolbox when I use VB under NT3.5. Why?

1473


Difference between Class Module and Standard Module?

2628


1s it posible to Create Tables Through Querydef?

2160