Author: MyronCope | Posted on: 11/16/2010 2:25:10 PM | Views : 835

using vb.net 2005.
I have the following values:  customerNumber, ProductNumber, PartNumber.
There exists a directory structure on a server like follows (the bold italic text is the actual value):
//myServerName/Parts/Images/CustomerNumber/ProductNumber/PartNumber
So the part of the file directory that is constant is:
//myServerName/Parts/Images/
but the file structure CustomerNumber/ProductNumber/PartNumber will vary, displaying the actual number values
EX:  //myServerName/Parts/Images/11111/22334/007
so I need some code that will loop through the file Directory structure under "Images" and will get the string values of each subdirectory.  This will be used to find the image to be used for the specific CustomerNumber, ProductNumber and PartNumber.


Does anyone have any good sample code where you have done this before?


thanks
MC


Go to the complete details ...