These sample source codes on this page below are displaying how to convert xls to txt with spreadsheet sdk in VB.NET. ByteScout Barcode Suite is the set that includes three different SDK products to generate barcodes, read barcodes and read and write spreadsheets: Barcode SDK, Barcode Reader SDK and Spreadsheet SDK. It can convert xls to txt with spreadsheet sdk in VB.NET.
The SDK samples given below describe how to quickly make your application do convert xls to txt with spreadsheet sdk in VB.NET with the help of ByteScout Barcode Suite. This VB.NET sample code is all you need for your app. Just copy and paste the code, add references (if needs to) and you are all set! Use of ByteScout Barcode Suite in VB.NET is also described in the documentation included along with the product.
All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.
Imports System.Text Imports System.IO Imports Bytescout.Spreadsheet Imports System.Diagnostics Module Module1 Sub Main() ' Create new Spreadsheet from SimpleReport.xls file Dim document = New Spreadsheet() document.LoadFromFile("SimpleReport.xls") ' remove output file if already exists If File.Exists("Output.txt") Then File.Delete("Output.txt") End If ' Save into TXT file document.Workbook.Worksheets(0).SaveAsTXT("Output.txt") ' Close Spreadsheet document.Close() ' open in default spreadsheets viewer/editor Process.Start("Output.txt") End Sub End Module