How to convert scanned pdf file to excel using c# .net? please, I need urgent so try so many times please give some suggestions.
Customer
-------------------------------------
Thanks for your message, please download "VeryPDF OCR to Any Converter SDK/COM" from following web page to try, you can use "VeryPDF OCR to Any Converter SDK/COM" to convert from scanned PDF files to editable Excel Spreadsheets,
https://www.verypdf.com/app/ocr-to-any-converter-cmd/try-and-buy.html#buysdk
https://www.verypdf.com/dl2.php/ocr2any_sdk.zip
after you download it, you can run "libs\install.vbs" to install ocr2anyCom.exe into your system first, you can also run a cmd window by administrator privilege, and then run following command line to register COM Component,
ocr2anyCom.exe /regserver
You can use following C# code to convert your scanned PDF files to editable excel spreadsheets easily,
-------------------
string strInFile = "D:\\VeryPDF_scanned.pdf";
string strOutFile = "D:\\out_excel.xls";
string strCmd = "-ocr2 -$ XXXX-XXXX-XXXX-XXXX";
strCmd += " \"" + strInFile + "\" \"" + strOutFile + "\"";
System.Type VeryPDFType = System.Type.GetTypeFromProgID("VeryPDF.ocr2anyCom");
VeryPDF.ocr2anyCom VeryPDFCom = (VeryPDF.ocr2anyCom)System.Activator.CreateInstance(VeryPDFType);
string strReturn = VeryPDFCom.ocr2any(strCmd);
MessageBox.Show(strReturn);
-------------------
If you can't get it work properly, please feel free send to us your sample PDF file, after we check your PDF file, we will figure out a solution to you asap.
VeryPDF
Hi sir,
After installation i am not able to find or use VeryPDF.ocr2anyCom and system.type
.Please suggest me how to bring into my Project.i need to bring that into my console Application using c#.
Thanks
Michel