Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Searching for files on computer?
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Silent Avenger




PostPosted: Thu Dec 14, 2006 7:36 pm   Post subject: Searching for files on computer?

I'm making a program and I would like to add a feature that will search the computer's drives for files with a certain file extension such as *.dat, *.mp3, *.txt. I'm just wondering how I would get the ball rolling on how to do this. Thanks.
Sponsor
Sponsor
Sponsor
sponsor
Brightguy




PostPosted: Wed Jan 10, 2007 1:56 am   Post subject: Re: Searching for files on computer?

You're looking for WinAPI functions like FindFirstFile and FindNextFile. Alternatively you can try using a FileSystemObject.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: