ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.Convert PDF File to Excel using C# and VB.Net in Windows ApplicationHi @HonnikaNS,<br />Please try the following<br /><br /><a href = 'link(Threads/180443/Convert-a-PDF-File-to-Excel-File-using-iTextSharp-using-C-Net/)'>Convert a PDF File to Excel File using iTextSharp using C# .Net</a><br /><br />It might help you.<br /><br />Cheers Andrea., 17 Dec 2018 02:41:21 GMTConvert PDF File to Excel using C# and VB.Net in Windows Application<p><em></em>It s on web application i want it on windows form application</p>, 17 Dec 2018 03:03:21 GMTConvert PDF File to Excel using C# and VB.Net in Windows Application<p>Hey&nbsp;<a class="username" rel="HonnikaNS">HonnikaNS,</a></p> <p>Please refer below link and sample .</p> <p><a href=""></a></p> <p><span style="text-decoration: underline;"><strong>Namespaces</strong></span></p> <p><strong>C#</strong></p> <pre class="brush: csharp">using System.IO; using SautinSoft;</pre> <p><strong>VB.Net</strong></p> <pre class="brush: vb">Imports System.IO Imports SautinSoft</pre> <p><span style="text-decoration: underline;"><strong>Code</strong></span></p> <p><strong>C#</strong></p> <pre class="brush: csharp">private void ExportPdfToExcel(object sender, EventArgs e) { using (OpenFileDialog openFileDialog1 = new OpenFileDialog()) { if (openFileDialog1.ShowDialog() == DialogResult.OK) { string fileName = openFileDialog1.FileName; byte[] bytes = File.ReadAllBytes(fileName); SautinSoft.PdfFocus f = new PdfFocus(); f.OpenPdf(fileName); if (f.PageCount &gt; 0) { f.ToExcel(@&#34;E:\File\Test.xls&#34;); } } } }</pre> <p><strong>VB.Net</strong></p> <pre class="brush: vb">Private Sub ExportPdfToExcel(ByVal sender As Object, ByVal e As EventArgs) Using openFileDialog1 As OpenFileDialog = New OpenFileDialog() If openFileDialog1.ShowDialog() = DialogResult.OK Then Dim fileName As String = openFileDialog1.FileName Dim bytes As Byte() = File.ReadAllBytes(fileName) Dim f As SautinSoft.PdfFocus = New PdfFocus() f.OpenPdf(fileName) If f.PageCount &gt; 0 Then f.ToExcel(&#34;E:\File\Test.xls&#34;) End If End If End Using End Sub</pre> <p>&nbsp;</p>, 17 Dec 2018 06:46:02 GMT