I have used vs2010 and silverlight5. I can able to access scanner through WIA Object on windows 7(32 and 64bit) machine. But WIA object returns nothing on windows XP(32 and 64bit) machine.
When i going to create object like
, i got error as
"No object was found registered for specified ProgID"
Is there any different between windows XP and windows 7?
Silverlight 4 may support elevated trust in browser on windows XP?
My code is,
using (dynamic CommonDialog = AutomationFactory.CreateObject("WIA.CommonDialog"))
dynamic imageFile = CommonDialog.ShowAcquireImage();
Thanks in advance
Edited 5-May-13 19:45pm
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)