Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you start a custom app when a camera is connected?

Status
Not open for further replies.

huskerdon

Programmer
Aug 26, 2002
67
US
Hi - I've written a custom VB app using WIA, to automatically download photos from a Kodak C875 camera and create thumbnails. The app automatically copies the photos to 2 network locations, so I don't want to use the XP wizard. Everything works great, and to prevent the Camera and Scanner Wizard from starting up when it's connected, I went into My Computer and told it to take no action when it's connected.
Is there any way using VB or a registry key to tell it to open my EXE when the camera is connected? We'll be installing this on several department computers, and I don't want to go into each one, and connect the camera first, then tell it to not use the wizard. I also don't various users to get to the point where the wizard will start appearing and they have to hit cancel, before manually opening this EXE.
If anyone has any suggestions, I'd really appreciate it.
Thanks!
 
Where did you find how to stop the connection wizard from appearing in My Computer?

I would think it would be satisfactory to disable this wiz and just have your Application in the Start menu or on the Windows task bar so it would be easy to access.

 
tedsmith,

Thanks for your response. Apparently what I was asking can't be done. I'm using MS Windows Image Acquisition (WIA) library and VB code to get the pictures from the camera.

If the camera shows up in My Computer as a portable device, you can right-click and go to properties. Then on the Events tab, and tell it to take no action when the camera is connected. I know that this works with new Kodak cameras. I also have an older Olympus, that shows up as a removable device assigned a drive letter. In this case, you can go to properties, and then select what to do in the AutoPlay tab.

In our case at work, we're using multiple cameras at multiple computers, and we had to set the "take no action" for each camera on each PC. Now that that's done, it works great, and they don't see the wizard pop up when connecting the camera. We're copying the photos directly to a law enforcement database and naming the photo files accordingly as the are downloaded using the VB program.
 
Thanks
I will be working on a similar problem shortly. You maybe able to help as this sounds similar.
I am posting this problem separately.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top