Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding images in a digital camera.
Message
De
05/02/2010 16:55:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01447842
Message ID:
01447845
Vues:
59
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform