Want to speed up the application development? Then this VB.NET, code samples for VB.NET, developers help to speed up the application development and writing a code when using ByteScout PDF Suite. Follow the steps-by-step instructions from the scratch to work and copy and paste code for VB.NET into your editor. VB.NET application implementation mostly involves various stages of the software development so even if the functionality works please check it with your data and the production environment.
ByteScout PDF Suite is available as a free trial. You may get it from our website along with all other source code samples for VB.NET applications.
Imports Bytescout.PDFExtractor Class Program Friend Shared Sub Main(args As String()) ' Load first document Dim document1 As TextExtractor = New TextExtractor() document1.RegistrationName = "demo" document1.RegistrationKey = "demo" document1.LoadDocumentFromFile(".\comparison1.pdf") ' Load second document Dim document2 As TextExtractor = New TextExtractor() document2.RegistrationName = "demo" document2.RegistrationKey = "demo" document2.LoadDocumentFromFile(".\comparison2.pdf") ' Compare documents Dim comparer As TextComparer = New TextComparer() comparer.RegistrationName = "demo" comparer.RegistrationKey = "demo" comparer.Compare(document1, document2) ' Generate report comparer.GenerateHtmlReport(".\report.html") ' Cleanup document1.Dispose() document2.Dispose() ' Open the report in default browser System.Diagnostics.Process.Start(".\report.html") End Sub End Class