Home | Download | Register | Testimonials | Support English version   Deutsche Version   Русская версия   Português versião   Española versión   Version française


VintaSoftBarcode.NET Library    General information Info  License agreement License  FAQ FAQ  Examples Examples  History History  Download Download  Buy now Buy now



General questions:
  • For which purposes can I use the VintaSoftBarcode.NET Library?
  • From which parts does the library consist?
  • In which programming languages can I use the VintaSoftBarcode.NET Library?
  • What restrictions does the unregistered version have?
  • I have problems. What should I do?

  • Redistribution:
  • What files do I need to include in the setup package of my program?
  • Can I re-distribute the VintaSoft.Barcode.dll file with my application without royalties?

  • Programming:
  • How can I read barcodes from multipage TIFF file?


  •  
    For which purposes can I use the VintaSoftBarcode.NET Library?
    The library allows to read 1-D barcodes.


     
    From which parts does the library consist?
    The library contains:
  • VintaSoft.Barcode.dll file - a 100% managed .NET class library
  • Documentation in CHM format (VintaSoft.Barcode.chm file)
  • Examples for MS Visual Basic.NET, MS Visual C#, Borland Delphi, Borland C# Builder, ASP.NET (files in
  •     the Examples directory)


     
    In which programming languages can I use the VintaSoftBarcode.NET Library?
    Single Developer license and Site license allow to use library in:
  • Microsoft Visual Studio .NET : Visual Basic, Visual C#, Visual C++, Visual J#
  • Borland Delphi, Borland C# Builder, Borland C++ BuilderX
  • any other languages which are compatible with .NET Framework.

  • Server license allows to use library in:
  • ASP.NET on server-side


  •  
    What restrictions does the unregistered version have?
    Unregistered version has the following restrictions:
  • nag screen will be shown before each barcode searching process in Windows Form applications
  • the second part of barcode string will be replaced by symbol '*' in ASP.NET applications


  •  
    I have problems. What should I do?
    The information on most of questions can be found in the documentation or in this FAQ.
    Write to our support team to get more help.


     
    What files do I need to include in the setup package of my program?
    You need include only one file: VintaSoft.Barcode.dll. This file must be placed in the same folder as the assembly that references it. Make sure that the version you distribute is the version your assembly was compiled with.


     
    Can I re-distribute the VintaSoft.Barcode.dll file with my application without royalties?
    Yes, this library is royalty free. You pay only for registration one time.
    Only VintaSoft.Barcode.dll file can be re-distributed with your application. Single Developer license has limitation in re-distribution, please see the license agreement for more info.


     
    How can I read barcodes from multipage TIFF file?
    Here is a simple code:
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
                                  System.EventArgs) Handles Button1.Click
            If Me.OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
                Dim TifImage As System.Drawing.Image
                Dim i As Integer = 0
    
                TifImage = System.Drawing.Image.FromFile(Me.OpenFileDialog1.FileName)
    
                Dim index As Guid
                index = TifImage.FrameDimensionsList(0)
    
                Dim dimension As System.Drawing.Imaging.FrameDimension
                dimension = New System.Drawing.Imaging.FrameDimension(index)
    
                'Total frame numbers
                Dim totalFrame As Integer = TifImage.GetFrameCount(dimension)
                Me.TextBox1.Text = "Total Pages:  " & totalFrame
    
                'Init
                Dim currentFrame As Integer = 0
                Dim barcodeReader As BarcodeReader = New BarcodeReader(TifImage)
                barcodeReader.ScanInterval = 5
                barcodeReader.BarcodesToRead = 1
                barcodeReader.ScanDirection = ScanDirection.LeftToRight Or ScanDirection.RightToLeft
    
                barcodeReader.ScanBarcodeTypes = BarcodeType.Code39
    
                Try
                    For currentFrame = 0 To totalFrame - 1
                        'Selects a page
                        TifImage.SelectActiveFrame(dimension, currentFrame)
                        Dim Infos As BarcodeInfoCollection = barcodeReader.ReadBarcodes()
                        If Infos.Count > 0 Then
                            'Process
                            For i = 0 To Infos.Count - 1
                                Me.txtDetails.Text = txtDetails.Text & "Page
                                                     " & currentFrame + 1 & ": Code " &
                                                     Infos(i).Value & Environment.NewLine
                            Next i
                        End If
                    Next
                Catch ex As Exception
                End Try
            End If
        End Sub
    



    Copyright © 2008 VintaSoft Ltd. All rights reserved.