Where should I place the dll?

I downloaded the itextsharp library that I would like to use in my vb.net 2008 express application.

  • In which folder should it be placed?
  • I went to select items in the toolbar and tried to add it, but I got an error

This is what I downloaded:

http://sourceforge.net/projects/itextsharp/

+3
source share
4 answers

DLL : , itextsharp.dll. ( bin\Debug)

+4

, DLL. DLL .

VB.NET β†’ β†’ ...

DLL Visual Studio .

+2

dll ANY . VS dll bin .

+1

Something to keep in mind is that there are no objects from the DLL that you can insert and use from the toolbar; you need to programmatically create iTextSharp objects.

Like this:

Add import:

Imports iTextSharp.text.pdf

And in your code:

Dim writer As PdfWriter = PdfWriter.GetInstance(document, iostream)
+1
source

Source: https://habr.com/ru/post/1716007/


All Articles