By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,204 Members | 1,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,204 IT Pros & Developers. It's quick & easy.

Don't know how to search for files using VB

P: 1
Hi!!!!! I have a problem with a code I'm writting, the thing is that I want to search in a specific folder some txt files, and when I find a file compare to the others in the folder.... I don't know if I'm expressing myself clearly.... My english is really poor.... well thank you in advanse....
Apr 11 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 5K+
P: 8,434
Hi!!!!! I have a problem with a code I'm writting, the thing is that I want to search in a specific folder some txt files, and when I find a file compare to the others in the folder.... I don't know if I'm expressing myself clearly.... My english is really poor.... well thank you in advanse....
You should look into the use of FilesystemObject. If you run a quick search on TheScripts, you'll find lots of discussion of this object. It provides functionality to do lots of things with drives, folders and files. Among other things, this includes finding, reading and writing files.
Apr 12 '07 #2

100+
P: 149
Hi!!!!! I have a problem with a code I'm writting, the thing is that I want to search in a specific folder some txt files, and when I find a file compare to the others in the folder.... I don't know if I'm expressing myself clearly.... My english is really poor.... well thank you in advanse....
Yes you can use the FileSystem Object to meet your requirements. If you want further info on this and how to use it you can refer to the following link
http://support.microsoft.com/kb/q186118/

ansuman sahu
Apr 12 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.