Nope, you can't assume that. I've seen digital cameras that require a special cable and software to access the images. Even if they are accessible, you can't assume it will be mapped to the same drive on every PC.
>I need a way for my customers to easily import images from a digital camera. I have two cameras.
>When the 4-5 year old Fujifilm is connected via USB, the images are JPG files in F:\DCIM\100PICT.
>With the one year old Polaroid I pull the SD card out and plug it into my PC and the JPG images are in W:\DCIM\100_IMAGE.
>
>My question is this. Can I assume that the images from a digital camera will always in the same basic place. I am thinking of using ADIR() or DIRECTORY() and walking through the alphabet looking for (letter):\DCIM and then searching for .JPG files in folders I find there.
>
>Or, does anyone have a better idea (and the code to make it work)?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer