Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Silverlight5
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
"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,
try 
{ 
using (dynamic CommonDialog = AutomationFactory.CreateObject("WIA.CommonDialog")) 
{ 
dynamic imageFile = CommonDialog.ShowAcquireImage();
} 
}
Thanks in advance
Posted 1-May-13 19:33pm
Sugu.s489
Edited 5-May-13 19:45pm
v8

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

  Print Answers RSS
0 OriginalGriff 320
1 DamithSL 265
2 CPallini 235
3 Maciej Los 190
4 Sergey Alexandrovich Kryukov 184
0 OriginalGriff 5,415
1 DamithSL 4,422
2 Maciej Los 3,820
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,911


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 6 May 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100