Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Mar 3, 1997

Scanning Multiple Levels of a Directory

Question:
I have been trying to right a routine to recurs sub directories and scan for files. Then the light came on!!! What is the call to the windows API that searchs directories?

Answer:
You actually don't have to use the API to do this. The Dir function in Visual Basic can return the files or directories in a directory. You can then check each file in the directory for whatever you are looking for.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date