The type or namespace DocPrintCom could not be found

I’m demoing your docprintpro product and its sdk.

From visual studio, do I need to add a reference to the com object after installing docprintpro?
I made a reference to docprintcom.dll

But I still am getting compilation error “The type or namespace DocPrintCom could not be found (are you missing a  using directive or an assembly reference?)

On the line:

DocPrintCom.docPrint docPrintObj = new DocPrintCom.docPrint();
If I do need a using line, what would it look like?  And what com object dll do I need to reference?
===================================
Please register docPrint COM with administrator privilege first,

On 32bit Windows system,

%systemroot%\system32\regsvr32.exe "C:\Program Files\docPrint Pro v5.0\docPrintCom.dll"

On 64bit Windows system,

%systemroot%\SysWoW64\regsvr32.exe "C:\Program Files\docPrint Pro v5.0\docPrintCom.dll"

After you register it correctly, you can add a reference to DocPrintCom and use it in your visual studio project properly.

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

This entry was posted in docPrint Pro and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!