 
         
         
             Important Update
                        Important Update
                    
                An easy to understand sample source code to learn how to create simple spreadsheet with spreadsheet sdk in C++ ByteScout Data Extraction Suite can create simple spreadsheet with spreadsheet sdk. It can be applied from C++. ByteScout Data Extraction Suite is the bundle that includes three SDK tools for data extraction from PDF, scans, images and from spreadsheets: PDF Extractor SDK, Data Extraction SDK, Barcode Reader SDK.
The following code snippet for ByteScout Data Extraction Suite works best when you need to quickly create simple spreadsheet with spreadsheet sdk in your C++ application. Just copy and paste the code into your C++ application’s code and follow the instructions. Enjoy writing a code with ready-to-use sample codes in C++.
Our website gives trial version of ByteScout Data Extraction Suite for free. It also includes documentation and source code samples.
  On-demand (REST Web API) version: 
   Web API (on-demand version)
  
  On-premise offline SDK for Windows: 
   60 Day Free Trial (on-premise)
      #include "stdafx.h"
using namespace System;
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime::InteropServices;
using namespace System::Security::Permissions;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly:AssemblyTitleAttribute("HelloWorld")];
[assembly:AssemblyDescriptionAttribute("")];
[assembly:AssemblyConfigurationAttribute("")];
[assembly:AssemblyCompanyAttribute("")];
[assembly:AssemblyProductAttribute("HelloWorld")];
[assembly:AssemblyCopyrightAttribute("Copyright (c)  2010")];
[assembly:AssemblyTrademarkAttribute("")];
[assembly:AssemblyCultureAttribute("")];
//
// Version information for an assembly consists of the following four values:
//
//      Major Version
//      Minor Version
//      Build Number
//      Revision
//
// You can specify all the value or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly:AssemblyVersionAttribute("1.0.*")];
[assembly:ComVisible(false)];
[assembly:CLSCompliantAttribute(true)];
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)];
    
    60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
    
    Explore ByteScout Data Extraction Suite Documentation
    
    Explore Samples
    
    Sign Up for ByteScout Data Extraction Suite Online Training
    Get Your API Key
    
    Explore Web API Docs
    
    Explore Web API Samples    
      // HelloWorld.cpp : main project file.
#include "stdafx.h"
using namespace System;
using namespace System::IO;
using namespace Bytescout::Spreadsheet;
int main(array<System::String ^> ^args)
{
    // Create new Spreadsheet
	Spreadsheet document;
	// Add new worksheet
	Worksheet^ worksheet = document.Workbook->Worksheets->Add("HelloWorld");
	// Set cell value
	worksheet->Cell(0, 0)->Value = "Hello, World!";
	// delete output file if exists already
	if (File::Exists("Output.xls"))
	{
		File::Delete("Output.xls");
	}
	// Save document
	document.SaveAs("Output.xls");
	// Close Spreadsheet
	document.Close();
	System::Diagnostics::Process::Start("Output.xls");
    return 0;
}
    
    60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
    
    Explore ByteScout Data Extraction Suite Documentation
    
    Explore Samples
    
    Sign Up for ByteScout Data Extraction Suite Online Training
    Get Your API Key
    
    Explore Web API Docs
    
    Explore Web API Samples    
      //{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by app.rc
    
    60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
    
    Explore ByteScout Data Extraction Suite Documentation
    
    Explore Samples
    
    Sign Up for ByteScout Data Extraction Suite Online Training
    Get Your API Key
    
    Explore Web API Docs
    
    Explore Web API Samples    
      // stdafx.cpp : source file that includes just the standard includes
// HelloWorld.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
    
    60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
    
    Explore ByteScout Data Extraction Suite Documentation
    
    Explore Samples
    
    Sign Up for ByteScout Data Extraction Suite Online Training
    Get Your API Key
    
    Explore Web API Docs
    
    Explore Web API Samples    
      // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
// TODO: reference additional headers your program requires here
    
    60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
    
    Explore ByteScout Data Extraction Suite Documentation
    
    Explore Samples
    
    Sign Up for ByteScout Data Extraction Suite Online Training
    Get Your API Key
    
    Explore Web API Docs
    
    Explore Web API Samples    
60 Day Free Trial or Visit ByteScout Data Extraction Suite Home Page
Explore ByteScout Data Extraction Suite Documentation
Explore Samples
Sign Up for ByteScout Data Extraction Suite Online Training
Get Your API Key
Explore Web API Docs
Explore Web API Samples
also available as: 
