Print Page | Close Window

install DbenuPDFLibraryDLL1312.dll in a convertion

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3640
Printed Date: 26 Apr 24 at 6:12AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: install DbenuPDFLibraryDLL1312.dll in a convertion
Posted By: g.man
Subject: install DbenuPDFLibraryDLL1312.dll in a convertion
Date Posted: 29 Nov 18 at 2:16PM
hi

I'm converting from vb .net code to C# and I've trying to install the library in c#, in the reference window shows me this...
could not be added please make sure that the file is accesible, and that it is valid assembly
DbenuPDFLibraryDLL1312.dll

this is part of code from VB .net

Imports NumRot.QPDF.DebenuPDFLibraryDLL1312
Public Class GenerarArchivoDesdeOCRQPDF
  Dim Ocrpdf As New OCRPDF
  Dim ConvertirPixelesAPuntos As New ConvertirPixelesAPuntos
  Dim QuitarCaracteres As New QuitarCaracteres
  Dim DPL As PDFLibrary = Nothing
  Dim PartirDetalleDocumento As New PartirDetalles

  Public Function ExtraerCamposYGenreraArchivos(posiciones As String, archivoPDF As String)
    DPL = ValidarLicencia.ValidarLicenciaQPDF(DPL)

    DPL.SetMeasurementUnits(0)                
    DPL.LoadFromFile(archivoPDF, "")
    Dim docID As Integer = DPL.SelectedDocument

in C# convertion...

//using NumRot.QPDF.DebenuPDFLibraryDLL1312;


namespace NumRot.QPDF
{
    public class GenerarArchivoDesdeOCRQPDF
    {
        private OCRPDF Ocrpdf = new OCRPDF();
        private ConvertirPixelesAPuntos ConvertirPixelesAPuntos = new ConvertirPixelesAPuntos();
        private QuitarCaracteres QuitarCaracteres = new QuitarCaracteres();
        private PDFLibrary DPL = "here_should_be_my_regkey";
        private PartirDetalles PartirDetalleDocumento = new PartirDetalles();
                                                          
        public ArrayList ExtraerCamposYGenreraArchivos(string posiciones, string archivoPDF)
        {
            DPL = ValidarLicencia.ValidarLicenciaQPDF(DPL);

            DPL.SetMeasurementUnits(0);               
            DPL.LoadFromFile(archivoPDF, "");

there's something that missing??ConfusedOuch





Replies:
Posted By: tfrost
Date Posted: 29 Nov 18 at 4:21PM
You should delete your library key from your posting.  Do it NOW.


Posted By: tfrost
Date Posted: 29 Nov 18 at 4:34PM
Sorry, I forgot that this forum disallows editing even your own postings.  Too bad, hopefully someone will come by who has forum credentials to delete it.  And sorry, I do not use C# myself so cannot help.  There are other users here who may know what the problem is.


Posted By: Ingo
Date Posted: 29 Nov 18 at 7:16PM
Hi :)

i'm "someone" ;-)



-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk