Is it possible to search for files inside Visual Basic. I'm writinig a program that I can use to keep track of my customers and a history of repair work I have done. I want to be able to search for a customers file.
Advanced Search this site for search directory. You can use the DriveBox, DirListBox, and FileListBox or the Dir Function or the FSO (File System Object (Scripting runtime)) or you can use FindFirstFile and FindNextFile API's.
vb5prgrmr, I don't understand your question about fag222-22244 or how if relates to my question.
However;
I have found an answer for both of my questions. Instead of testing the first 3 digits I tested another text box to get the input for the one in questions.
I also found code on the msdn site that did basically what I wanted it to. I just modified it to suit my needs.
NTesla
Looks like the faq shows you how to show appreciation for helpful and/or expert solutions that have been given to you. I notice that you've asked loads of questions, and not marked any as being helpful or expert.
That's probably what vb5prgrmr was politely pointing out to you!
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
I apologize for that. I always want to make sure the suggestion works before I responed back. I just some time s am unable to get back to show the proper apprciation. I willgo though my post and mark the helpful ones now.
Good to see you going through your posts! People like to be recognised. Well done
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.