473,387 Members | 1,364 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Barcode with VB.NET

Mat
Does anyone know how to generate ,print and read barcode with VB.NET?
Nov 20 '05 #1
4 8902
Hi,

There are a number of ActiveX controls that can be used to generate/print
barcodes (and some Fonts that may be downloaded and used instead).
Examples: www.mabry.com, www.taltech.com, etc.

Here is my standard Barcode statement:

Reading barcodes requires hardware. There are at least three different ways
to interface purpose-build readers (ones that do not use cameras or
scanners). You can use a reader that uses a keyboard "wedge." This inserts
scanned data, just as though it had been typed at the keyboard. You set
focus to a textbox, and read the data in the KeyPress event. A similar
alternative is to use a USB scanner. These are installed as a keyboard, and
work the same way as the "wedge" type devices, but connect to the USB port,
instead of inline with the keyboard. My preference is to use barcode
readers that use a serial interface. You then can use MSComm (or
equivalent) to read the data, and there is no issue with maintaining focus
in a textbox -- thus this form of hardware seems, to me, to be more
"industrial strength." There are a variety of manufacturers of all of these
devices.

Dick
--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
Nov 20 '05 #2
check out http://www.renderbar.com/sample.php

they have an activex control but they also show the major 1D barcode
specifications, javascript source code, and examples of using both the
javascript to generate barcodes on web pages and integrating their control
in excel.

hth,

steve
"Mat" <re**********@fuckSpam.COM> wrote in message
news:u9****************@TK2MSFTNGP09.phx.gbl...
Does anyone know how to generate ,print and read barcode with VB.NET?

Nov 20 '05 #3
The best tools for printing bar codes from a VB.NET application are
the TAL Bar Code DLLs. For more information, visit:
http://www.taltech.com/TALtech_web/p..._barcodes.html

You can also download a sample VB.NET program that demonstrates how to
use the TAL Bar Code DLLs in VB.NET from the follwowing URL:
http://www.taltech.com/TALtech_web/s...ls/dllkbsc.htm

For reading bar codes into your applciation you have several options.

Most bar code readers are available with one of two output options.
The first option is called "Keyboard Wedge" output where you unplug
your keyboard, plug the bar code reader into the keyboard port on your
PC and then plug your keyboard into the bar code reader. This
arrangement makes the bar code reader appear as it it were simply a
second keyboard. Your original keyboard continues to work as normal
however when you read a bar code, the data encoded in the bar code
appears to any application running on your PC as if it were typed in.
The keyboard wedge interface is extremely simple however it has a few
drawbacks. If you swipe a bar code, the cursor has to be in the
correct input field in the correct application otherwise you end up
reading bar code data into whatever application has the focus. This
can cause all sorts of potential problems as you can imagine. The
keyboard output also is limited in that you cannot modify the data in
any way before sending it into the program that is to receive the
data. For example, if you needed to parse a bar code message up into
pieces or remove some of a bar code message or add in a date or time
stamp you would not be able to with a normal keyboard wedge reader.

The other possible output option is to get a bar code reader with an
RS232 or "Serial" interface. With these types of bar code readers, you
connect the reader to an available serial port on the back of your PC.
You would then need to either write code in your application to open
the serial port and read the data directly into your program or use a
program called a "Software Wedge" to take the data from the bar code
reader and feed it to your application. The disadvantage to this
approach is that it is a little more complex however you gain much
more control over how and where your data ends up when you read a bar
code. With custom serial I/O code or with a Software Wedge, you can
control exactly where the data goes in the target application and you
can also perform all sorts of modifications on the data before it is
sent to the application.

TAL Tehchnologies sells a product called WinWedge which is a Software
Wedge for Windows. Visit: http://www.taltech.com for more information.

This web site is also an extremely good place to obtain information
about bar coding in general.

On Thu, 9 Oct 2003 16:36:31 +0200, "Mat" <re**********@fuckSpam.COM>
wrote:
Does anyone know how to generate ,print and read barcode with VB.NET?


Nov 20 '05 #4
if you don't want to pay the big bucks for tal barcode stuff, check out
http://www.renderbar.com. if you don't want to buy theirs, then read their
barcode specification pages and simply translate their free javascripted
versions into .net.

cool stuff if i do say so myself. ;^)

steve

"Thomas Lutz" <to*@taltech.com> wrote in message
news:p7********************************@4ax.com...
The best tools for printing bar codes from a VB.NET application are
the TAL Bar Code DLLs. For more information, visit:
http://www.taltech.com/TALtech_web/p..._barcodes.html

You can also download a sample VB.NET program that demonstrates how to
use the TAL Bar Code DLLs in VB.NET from the follwowing URL:
http://www.taltech.com/TALtech_web/s...ls/dllkbsc.htm

For reading bar codes into your applciation you have several options.

Most bar code readers are available with one of two output options.
The first option is called "Keyboard Wedge" output where you unplug
your keyboard, plug the bar code reader into the keyboard port on your
PC and then plug your keyboard into the bar code reader. This
arrangement makes the bar code reader appear as it it were simply a
second keyboard. Your original keyboard continues to work as normal
however when you read a bar code, the data encoded in the bar code
appears to any application running on your PC as if it were typed in.
The keyboard wedge interface is extremely simple however it has a few
drawbacks. If you swipe a bar code, the cursor has to be in the
correct input field in the correct application otherwise you end up
reading bar code data into whatever application has the focus. This
can cause all sorts of potential problems as you can imagine. The
keyboard output also is limited in that you cannot modify the data in
any way before sending it into the program that is to receive the
data. For example, if you needed to parse a bar code message up into
pieces or remove some of a bar code message or add in a date or time
stamp you would not be able to with a normal keyboard wedge reader.

The other possible output option is to get a bar code reader with an
RS232 or "Serial" interface. With these types of bar code readers, you
connect the reader to an available serial port on the back of your PC.
You would then need to either write code in your application to open
the serial port and read the data directly into your program or use a
program called a "Software Wedge" to take the data from the bar code
reader and feed it to your application. The disadvantage to this
approach is that it is a little more complex however you gain much
more control over how and where your data ends up when you read a bar
code. With custom serial I/O code or with a Software Wedge, you can
control exactly where the data goes in the target application and you
can also perform all sorts of modifications on the data before it is
sent to the application.

TAL Tehchnologies sells a product called WinWedge which is a Software
Wedge for Windows. Visit: http://www.taltech.com for more information.

This web site is also an extremely good place to obtain information
about bar coding in general.

On Thu, 9 Oct 2003 16:36:31 +0200, "Mat" <re**********@fuckSpam.COM>
wrote:
Does anyone know how to generate ,print and read barcode with VB.NET?

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: CHANGE username to westes | last post by:
What are the most popular, and well supported, libraries of drivers for bar code scanners that include a Visual Basic and C/C++ API? My requirements are: - Must allow an application to be...
3
by: Tom Turner | last post by:
Here's the background on my situation. The question follows --- We have 600 units of mail going from our business to various Post Offices every morning. Every unit is accompanied by a paper...
4
by: | last post by:
Hi all, we have a need to barcode encode and display a record identifier (number) both in html in the browser and through fdf in adobe acrobat in realtime. Is this possible? Can anyone make any...
1
by: Aaron Bronow | last post by:
I have an asp.net application which loads a Crystal Reports ReportDocument, passes in parameters for selecting data from the report's database connection, renders the report for previewing on the...
6
by: Samuel Shulman | last post by:
I would like to add barcode functionality to my POS program How does one attach barcode reader is it usually USB port How can the program get the data read by the device Thank you, Samuel
7
by: Alper Ozgur | last post by:
Hi; How can i capture and decode the barcode that reading by an usb Barcode reader?
2
by: nmrpa91290 | last post by:
Hi, I am in the design phase of building a database that will track the productivity of my warehouse. I am thinking of using a barcode scanner to assist me with this. Employees will hopefully...
7
by: jim | last post by:
I need to have 2 simple barcode reader applications finished by midnight tonight. I have never written any barcode reader software and need any help that you may be able to offer. I do not know...
2
by: sam | last post by:
can someone show how to change print font width & heigh scaling? I am writing a code for barcode printing on smaller label. I do not want change font size, because this may cause the bar code...
7
by: divyac | last post by:
I am doing an inventory control project and i want to create barcodes for the products in addition to the product details in a form.The form values should be submitted to the database to retrieve for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.