I would like to store the image path in notepad by refer the input of another notepad. Input look like below.
IM,abc001,D,0;ABC;images\00\00;abc001.tif;2
IM,abc002,D,0;ABC;images\00\00;abc002.tif;2
IM,abc003,D,0;ABC;images\00\00;abc003.tif;2
IM,abc001,D,0;ABC;images\00\01;abc001.tif;2
IM,abc002,D,0;ABC;images\00\01;abc002.tif;2
IM,abc003,D,0;ABC;images\00\01;abc003.tif;2
Image path in system
D:\ABC\Images\00\00\
abc001
abc002
abc003
D:\ABC\Images\00\01\
abc001
abc002
abc003
Input image names may be in same (duplicate) but it's available in different folder. So avoid to open the incorrect image i want to get the all image path and save in notepad along with image name like below
IM,abc001,D,0;ABC;D:\ABC\Images\00\00\;abc001.tif;2
IM,abc002,D,0;ABC;D:\ABC\Images\00\00\;abc002.tif;2
IM,abc003,D,0;ABC;D:\ABC\Images\00\00\;abc003.tif;2
IM,abc001,D,0;ABC;D:\ABC\Images\00\01\;abc001.tif;2
IM,abc002,D,0;ABC;D:\ABC\Images\00\01\;abc002.tif;2
IM,abc003,D,0;ABC;D:\ABC\Images\00\01\;abc003.tif;2
Could you please help me here.
Regards,
Gopi A
Loading
VulpesPosted Jul 27, 2012, 11:02 AM
Gopi AsaiPosted Jul 27, 2012, 1:02 AM
Thanks for the help. Actually you were consider the "D" as drive of image path. But it's not a path, this is client input. Most of the time it will be different. Like below. We do not consider this.
IM,abc001,D,0;ABC;images\00\00;abc001.tif;2
IM,abc002,C,0;ABC;images\00\00;abc002.tif;2
IM,abc003,,0;ABC;images\00\00;abc003.tif;2
IM,abc001,,0;ABC;images\00\01;abc001.tif;2
IM,abc002,,0;ABC;images\00\01;abc002.tif;2
IM,abc003,D,0;ABC;images\00\01;abc003.tif;2
My exact vision is, we need to open the exact images in between the duplicate images which is available in different folder. So i decided to append the image path into client provided input file. The whole images are available in the below path. for example.,
L:\Project\ABC\images\
I want to identify the each images along with the sub folders of \00\00\ from client input to image path and get the whole image path.
Quick Understanding:
Just read the image name with sub folder in client input file and search it in image path which i generated in another notepad. After the path will be replace into input file.
or
If you could not understand the above means, I need to open the images in picturebox using the client input file using the above image path.
Could you please me here...
Regards,
Gopi A
VulpesPosted Jul 26, 2012, 6:32 AM