Click here to Skip to main content
15,918,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I read your artile from Transferring D90 images with WIA[^], and my Camera is D90,too. with your program, i can scan image from camera and transfer to my PC.

The event you given in the program, i change a little as the following,i want the WIA.EventID.wiaEventItemCreated,
C#
public void devManager_OnEvent( string eventID, string deviceID, string itemID )
       {
           switch (eventID)
           {
               case WIA.EventID.wiaEventDeviceConnected:
                    {
                        //OK
                        //when open the camera
                    }
                    break;
                case WIA.EventID.wiaEventDeviceDisconnected:
                    {
                        //OK
                        //when close the camera
                    }
                    break;
                case WIA.EventID.wiaEventItemCreated:
                    {
                        //how can i get it ??
                    }
                    break;
               case WIA.EventID.wiaEventItemDeleted:
                   {
                   }
                   break;
               case WIA.EventID.wiaEventScanEmailImage:
                   {
                   }
                   break;
               case WIA.EventID.wiaEventScanFaxImage:
                   {
                   }
                   break;
               default :
                   break;
           }


       }

or,there are some shutter event, for example when pressing the shutter, triggering the event??

my english is not well,i hope you can understand me,my email is :[removed email],you can send email to me if you can solve it,thank you a lot!
Posted
Updated 17-Apr-12 2:05am
v2
Comments
Andy411 17-Apr-12 7:11am    
You should ask the question in the article's forum. Then the author will get an email as signal for a new question and he has a chance to answer.

BTW: Don't post email adresses except you want spam.
ZurdoDev 17-Apr-12 8:05am    
EDIT: removed email

1 solution

Don't post this under Quick Answers - if you got the code from an article, then there is a "new message" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900