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?



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

Post New Answer

More Visual Basic Interview Questions

what is the Difference between listbox and combo box?

5 Answers   TCS,


How do I make the mouse cursor invisible/visible?

0 Answers  


What is rdo in vb?

0 Answers  


What are binary and project compatibility?

1 Answers  


what are Collections?

1 Answers  


Types of ActiveX Components in VB?

0 Answers  


how to use unicode data in vb6 regarding to telugu language, my output is in only telugu language

0 Answers  


What is dao in vb?

0 Answers  


How would you define and use a Boolean in VB?

2 Answers   Asteroid Software Services, Microsoft,


What are the new events in textbox that has been included in VB ?

0 Answers  


_____ is the property to ___,____,____ are valid for recordsource property of dat control.

0 Answers  


How do I get my application on top?

0 Answers  


Categories