How to convert from PDF files to Plain Text files from my VB application?

A couple follow up questions:

1. Can you tell me why my API commands for this don't work and, is there a future plan to make it work? I'm using the VB API's shown below.

Private Declare Function PDF2TextBuffer Lib "pdf2txt.dll" (ByVal pdfFile As String, ByRef lngBufferSize As Long) As Long
Private Declare Function pdf2txt Lib "pdf2txt.dll" Alias "PDF2TXT" (ByVal Source As String, ByVal Dest As String) As Long

2. Do the below commands exist in an API or do I have to call the command line utility from my existing code?

3. The intent is our server machine would perform this work. That means shipping the exe if there is no API. Can you give me a price for both approaches please? Would this be considered a Server License for 395.00 or a Developer (Royalty free) License for 1995.00. I'm not clear. I believe I need the Developer's License.

Thanks so much for your help.
Customer
---------------------------------------

http://www.verypdf.com/app/ocr-to-any-converter-cmd/try-and-buy.html#buy

image
>>1. Can you tell me why my API commands for this don't work and, is there a future plan to make it work? I'm using the VB API's shown below.
>>Private Declare Function PDF2TextBuffer Lib "pdf2txt.dll" (ByVal pdfFile As String, ByRef lngBufferSize As Long) As Long
>>Private Declare Function pdf2txt Lib "pdf2txt.dll" Alias "PDF2TXT" (ByVal Source As String, ByVal Dest As String) As Long

Thanks for your message, your code is no problem. However, if you are using the VB.NET, you may change from "Long" to "Integer" to try again, for example,

Private Declare Function PDF2TextBuffer Lib "pdf2txt.dll" (ByVal pdfFile As String, ByRef lngBufferSize As Long) As Integer
Private Declare Function pdf2txt Lib "pdf2txt.dll" Alias "PDF2TXT" (ByVal Source As String, ByVal Dest As String) As Integer

>>2. Do the below commands exist in an API or do I have to call the command line utility from my existing code?

Yes, PDF2TextBuffer and pdf2txt two functions are exist in the "pdf2txt.dll" library, you can call them from your VB or VB.NET code directly.

You can also call pdf2txt.exe Command Line application directly, this is another solution for you.

>>3. The intent is our server machine would perform this work. That means shipping the exe if there is no API. Can you give me a price for both approaches please? Would this be considered a Server License for 395.00 or a Developer (Royalty free) License for 1995.00. I'm not clear. I believe I need the Developer's License.

Thanks for your message, yes, for the "VeryPDF OCR to Any Converter Command Line" software, the Server License is $395.00 per server and Developer License is USD$1995.00 per developer, you may purchase it from our website directly,

http://www.verypdf.com/app/ocr-to-any-converter-cmd/try-and-buy.html#buy

You can use Shell() or CreateProcess() function in VB or VB.NET to run ocr2any.exe directly, this method is very easy for you.

VeryPDF

VN:F [1.9.20_1166]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
How to convert from PDF files to Plain Text files from my VB application?, 1.0 out of 10 based on 1 rating

Related Posts

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!