Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21854

how to detect folder name by first few character

$
0
0
Hi expect,

i am doing a project and face some problem in DirListBox,

The problem is like

DirOrg.Path = "C:\Users\project"

but for the folder "Project", the folder name is not only Project and will be "Project-20130315" or "Project-20130316" or maybe "Project-20130317"

but confirm that inside folder name Users have only one folder name start with "Project",

what i want to do is FileListBox will straight aways display the text files that in folder start from "Project-********" when run the program,

Please cananyone help in this?

Thank and Regards
Steve

Viewing all articles
Browse latest Browse all 21854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>