Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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 AutomationFactory.CreateObject("WIA.CommonDialog")), i got error as
HTML
"No object was found registered for specified ProgID"

Is there any different between windows XP and windows 7?
(0r)
Silverlight 4 may support elevated trust in browser on windows XP?

My code is,
C#
try 
{ 
using (dynamic CommonDialog = AutomationFactory.CreateObject("WIA.CommonDialog")) 
{ 
dynamic imageFile = CommonDialog.ShowAcquireImage();
} 
}

Thanks in advance
Posted
Updated 5-May-13 18:45pm
v8

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