The mapped removable drive only allows you to get/save pictures from the
camera memory and TWAIN was intended for scanners, way before digital
cameras appeared, so I think that the only ways are:
- Using WIA, as shown in this example:
http://www.codeproject.com/dotnet/wi...tingdotnet.asp
WIA is intended for scanners and cameras, but if yours doesn´t appear maybe
is not compatible or maybe you need to install some software/driver from the
camera CD-ROM. Notice that in one of the images of the sample you can see an
scanner and two cameras as devices.
- Using the native driver of the camera. Most cameras provide a software to
do exactly what you want, and they must be using some proprietary driver if
they are not using something standard.
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
"Stupid48" <cf*****@hotmail.com> escribió en el mensaje
news:11**********************@i39g2000cwa.googlegr oups.com...
I have this Pentax Optio camera and I want to access it via vb.net. I
would like to write something where I can snap the picture from the
application and it automatically acquires the image from the camera and
displays it. I found a couple sample apps out there. One is a WIA app
but it does not see my camera. One is a TWAIN application and it also
does not see my camera. I do not see any drivers on Pentax's site that
talk about WIA or TWAIN. The camera just shows up as a removeable
disk. What method would I use to access this camera using .NET? I
though maybe it was DirectX but didn't find anything on it.
Thanks for any help.....
Chris