|
Bytescout.BarCode Reader SDK for .NET screenshots
|
15% DISCOUNT ON ALL PRODUCTS Hurry! Only available until January 10th 2009
Getting started with ASP.NET and
The tutorial demonstrates how to read barcode from image using BarCode Reader SDK in ASP.NET applications The following sample demonstrates how to read barcode from photo image using Bytescout BarCode Reader SDK for .NET Create new ASP.NET project and add the following control into Default.aspx page: 1) Image control named Image1 and 2) Listbox control named ListBox1; Sample input image: Output (ASP.NET application in browser): 1) Visual Basic in ASP.NET Default.aspx: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="SimpleWebTestVB._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"
> Default.aspx.vb: Imports Bytescout.BarCodeReader Partial Public Class _Default Protected Sub Page_Load(ByVal sender As Object, ByVal
e As System.EventArgs) Handles Me.Load Dim reader As New Reader(Server.MapPath("BarcodePhoto.jpg")) End Sub End Class 2) Visual C# in ASP.NET Default.aspx: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SimpleWebTestSharp._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"
> Default.aspx.cs: using System; using Bytescout.BarCodeReader; namespace SimpleWebTestSharp Reader reader = new Reader(Server.MapPath("BarcodePhoto.jpg"));
Documentation online: view (new window) |
|
Copyright © ByteScout, 2003-2008. Privacy Statement
Microsoft®, Windows®, Windows 2000®, Windows Server®, Windows Vista®, Internet Explorer®, .NET Framework®, ActiveX®, Visual Basic®, Visual C#®, ASP®, ASP.NET®, Excel®, PowerPoint®, are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe®, Flash® and Acrobat® are registered trademarks of Adobe Systems, Incorporated. Mozilla®, Firefox® and the Mozilla and Firefox Logos are registered trademarks of the Mozilla Foundation. Other product names or brandnames used herein are for identification purposes only and might be trademarks or registered trademarks of their respective companies. We disclaim any and all rights to those marks. |
|