I am trying to convert a Word document in PDF using IText in VBDOTNET. I
have added the line numbers below for easy reference. I am getting the
following error on Line 1 during compilation (An unhandled exception of
type 'java.lang.UnsatisfiedLinkError' occurred in vjslib.dll).

I am pretty sure I am doing something wrong..... Can anyone please help.

Line 1: Dim x As Reader = New InputStreamReader(New FileInputStream("C:
\PDF\pdf\bin\training.doc"))
Line 2: Dim document As New Document()
Line 3: Dim a As PdfWriter = PdfWriter.getInstance(document, New
FileOutputStream("training.pdf"))
Line 4: document.open()
Line 5: document.add(New Paragraph(x.read))
Line 6: document.close()

Farhad




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to