Click here to Skip to main content
15,921,716 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
VB
I was created windows application in which MODI.dll & axmodi.dll were used for Image to Text (OCR processing) (Window-application- c#). It Worked fine without throwing an ERROR.

Now like to implement on ASP.net (C#) as the same. But it throw error even added needed Reference. "The type or namespace name 'Document' could not be found (are you missing a using directive or an assembly reference?)" This is the error i am getting.
Posted

You need to add the correct "using" at the top of the page. Right-click "Document" in visual studio and there should be a "Resolve" option in the context menu that will offer you a possible "using".
 
Share this answer
 
An addition to Solution 1, once you've written the code such as

C#
using Namespace;


it doesn't include the assembly in your project it just allows you to use the classes inside that namespace in your source file. You have to manually include the assembly to the project. What you need to do is, to right click on the References and select Add Reference. Inside the window that shows up, select the namespace (assembly) that contains the Document class. Then this error would go away.
 
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