The camera does not require any extra software in XP to operate.
As soon as you connect the camera to the USB port, Xp detects it as
a digital camera and adds an icon in explorer, but it does not map the camera
to a drive letter.

Roger Boyesen 

-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Stephen Posey
Sendt: 20. november 2006 17:41
Til: Borland's Delphi Discussion List
Emne: Re: Drag and drop from a camera connected to USB port


---- Borland's Delphi Discussion List <[email protected]> wrote:
>
> Hello
>  
> I have a small problem....
> I'm using D.Melanders drag & drop components (v.4.0) in one of my 
> applications.
> I want to drag and drop pictures straight from a Canon Powershot S80 
> into my application, but the drag and drop components does not support 
> drag and drop from a USB device (must be a drive letter).
> Does anybody know how to do this in code ?
> I'm using Delphi 5 Enterprise.
> The reason for the need to drag the pictures into my app is that my 
> users allways use max resolution on the camera, but I want to resize 
> all pics to 1600x1200 and compress them a little bit before sending 
> the pictures to the archive.
> This works perfect in my app from Explorer if you have the pictures on 
> a local disk or a network drive, but not straight from the camera.

Hmmm, my experience with digital USB cameras is that they all map their image 
storage as a removeable drive when you link them to the PC. 

I suspect if you check Explorer or My Computer after hooking up the camera 
you'll see there's a drive letter mapped that represents the camera's image 
storage.

Now, the particular camera you're using may have installed its own proprietary 
viewing software that it registers to be brought up when the camera is 
attached; and that software may well NOT support shell drag and drop (can you 
drag and drop images from it into an Explorer folder?). 

If that's the case and you can't get your users to skip the software and use 
the mapped drive in Explorer instead, there's not much to be done about it 
except complain to the software writers and ask them to add drag and drop. 

Or perhaps you could replace or supplement the registered viewer application 
with your own that references the camera's storage? That way the user wouldn't 
even have to bother with drag and drop; your app could serve as a direct 
interface onto the images.

HTH

Stephen Posey
[EMAIL PROTECTED]
_______________________________________________
Delphi mailing list -> [email protected] 
http://www.elists.org/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to