i have different sige of photo files which was scanned through a scaner and save as *.jpg file , now i want to use all this files in a form made in vb6 where i want to link all these files trough data base so that i can see each photos one by one . but these file has different width and hight but in my form i have make a fix space , so i want to make all these photo files of same width and hight to fit and defined space . but i want this through some program , because this photos are approx. 40000. so manually is not possible. pls help me.