Every ByteScout tool includes simple example VB.NET source codes that you can get here or in the folder with installed ByteScout product. ByteScout Data Extraction Suite is the set that includes 3 SDK products for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK. It can create simple hello world spreadsheet with spreadsheet sdk in VB.NET.
The SDK samples given below describe how to quickly make your application do create simple hello world spreadsheet with spreadsheet sdk in VB.NET with the help of ByteScout Data Extraction Suite. Just copy and paste the code into your VB.NET application’s code and follow the instructions. Enjoy writing a code with ready-to-use sample VB.NET codes.
The trial version of ByteScout Data Extraction Suite can be downloaded for free from our website. It also includes source code samples for VB.NET and other programming languages.
Imports Bytescout.Spreadsheet Imports System.IO Module Module1 Sub Main() Dim document As New Spreadsheet() Dim worksheet As Worksheet = document.Workbook.Worksheets.Add("HelloWorld") worksheet.Cell(0, 0).Value = "Hello, World!" ' remove output file if already exists If File.Exists("Output.xls") Then File.Delete("Output.xls") End If ' Save document document.SaveAs("Output.xls") ' Close Spreadsheet document.Close() ' open in default spreadsheets viewer/editor Process.Start("Output.xls") End Sub End Module