Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I downloaded the VietOCR.NET c# source code from SourceForge web site, when i run that file in visual studio using my friend's system, the file runs well but when i run the same code in my system there was an error occurred like
" type or namespace name 'WIA' could not be found "

WIA namespace used in that project for that there is a dll file in the library directory called 'wiaaut.dll'

But in the reference folder there is an exclamation in WIA refernce.

the file downloaded from the following link

sourceforge.net/projects/vietocr/files/vietocr.net/
Posted
Comments
Rajeev Jayaram 6-Feb-12 5:25am    
Are you by any chance using VS2010 in your machine?

The reference is probably broken because it might have been pointed to a different location by the time the project was created. Try removing the reference, then add it again, this time, point to the location of the DLL.
 
Share this answer
 
Comments
tssrajkumar@gmail.com 6-Feb-12 5:26am    
Thank you so much,
After i removed the reference, I tired to add that wiaaut.dll as reference to my project, but it also show like. '.\library\wiaaut.dll' could not be added. please make sure that the file is accessible, ind it is a invalid assembly or COM component. what can i do now, please do a reply
nguyenq1 16-Jul-13 19:33pm    
If on WinXP, you may need to register that wiaaut.dll before you can add it as a reference to your project.
Delete That file from the reference.
And Add the reference path from where that file is stored.
Or download that file and add a reference.
 
Share this answer
 
If you're using VS2010 in your machine try this,

http://xinyustudio.wordpress.com/2010/03/12/vs2010-type-or-namespace-name-could-not-be-found-problem/[^]

Hope it helps.
 
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