PDA

View Full Version : Detect Camera when plugged in??


TJ_Tigger
08-02-2006, 02:19 PM
Using AMS does anyone know of a way to detet a digital camera when it is plugged into your PC. When I plug my camera in to the USB port it appears in Windows Explorer. I tried Drive.Enumerate and it only seems to list drives that actually have a drive letter.

Is there a way to detect such devices with AMS?
Are there DLLs out there that would enable this? (I have googled but not much luck yet)

Thanks
Tigg

Tek
08-02-2006, 03:54 PM
You could check 'Disk Management' in 'Computer Management' for the storage device in the digital camera. Windows may not have assigned it a drive letter if you had change drive letters for other devices, then plugged in the digital camera. Example, if you plugged in your digital camera and Windows assigned the drive letter as 'E', then you unplug your digital camera and install a new hard drive and assign it to 'E', plugging in your digital camera may not show with a drive letter because it's in use. So... check and see if the storage device is visible and if so, assign it a drive letter thats not in use. Then, you would be able to detect when that drive letter was enabled.

Just a thought... hope it helps.

Bruce
08-02-2006, 03:56 PM
Wormie, This is right up your alley!

TJ_Tigger
08-02-2006, 04:02 PM
It doesn't come up under Disk Management either. My USB removeable storage box shows as multipe drives and my PC automatically detects the camera when it is connected. I was just hoping to be able to see that type of device with an AMS app and then be able to read in the images and perform some sort of action on those images.

Tigg

clueless
08-03-2006, 08:27 AM
Making use of some ofther programs .dll would be a good idea. But im not to sure how you go about doing it, im trying to work that out myself.