LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: To implement a Barcode Reader Application using LEADTOOLS Barcode API
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, February 7, 2007 2:45:59 AM(UTC)
Groups: Registered
Posts: 6
Hi,
I am new to LeadTools, came across the LEADTOOLS Barcode API. Just wondering as to how to implement a Barcode Reader Application using it. If any one has any document detailing the approach step by step, please share the same.
TIA.
Jai
#2
Posted
:
Wednesday, February 7, 2007 10:56:30 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
The toolkit should come with some sample applications and projects which you can view and change the source code on. These will cover most of the functionality of the toolkit. Take a look at the start menu for direct links to precompiled demos and also to their projects. All of the projects are located in the [LEADTOOLS installation]\Examples directory.
Additionally, the help file should have some sample code to help you get started.
#3
Posted
:
Wednesday, February 7, 2007 9:19:50 PM(UTC)
Groups: Registered
Posts: 6
Hi,
Thanks for your inputs. I will surely look into the demos and projects which comes along with the installation. Just a quick question, does LEADTOOLS Barcode API supports only .NET (VB or CS) framework for building an application? We wanted to use VB (Not .NET) for using the API.
TIA.
Jai
#4
Posted
:
Thursday, February 8, 2007 10:20:37 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
Natively, our v15 Barcode toolkit is for C++, VB.NET and C#. You CAN use VB 6, but you will have to declare all of the API functions and structures you need. This would be done the same way that you declare Windows API functions.
In 14.5 the Barcode functionality came with a COM object, which works very easily in VB6. You may want to use the 14.5 toolkit if you are definitely going to program in VB6.
#5
Posted
:
Thursday, February 8, 2007 7:51:15 PM(UTC)
Groups: Registered
Posts: 6
Hi Greg,
Thank you very much for this info. I will surely try my hands at v14.5. BTW I found a small tutorial for 'Reading Barcodes' in '/Barcode/DotNet Class Library/Raster .Net Class Library Help' in 'Programming with LEADTOOLS' section. I am sharing this info for all of them (like me) who are new to LEADTOOLS and want to implement 'Barcode Reader' application.
Jai
#6
Posted
:
Friday, February 9, 2007 5:24:00 AM(UTC)
Groups: Registered
Posts: 6
Hi Greg,
I have implemented a barcode reader using using Leadtools.dll, Leadtools.Codecs.dll, Leadtools.Barcode.dll, as per given in tutorial. While loading the image I am getting a Raster Exception:{"Invalid file format"}. Part of my code where debugger shows error is:
image = codecs.Load("C:\Project-2\BarCode\barcode1.tif")
Please provide the resolution. I am using ver 15.
TIA.
Jai
Edited by moderator Wednesday, September 23, 2020 10:06:41 AM(UTC)
| Reason: Removed link to deleted post
#7
Posted
:
Monday, February 12, 2007 4:36:25 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
In .NET version 15, Invalid File Format means one of three things:
1. The file is actually invalid. However, if you can load the same image in one of the precompiled demos, this is NOT the case.
2. You did not include as a reference or copy to your .exe's directory the necessary Codec dlls for loading/saving images. These follow the format of "Leadtools.Codecs.???.dll". Check the help file's documentation to see exactly which DLLs you need for each file format.
3. You did not call RasterCodecs.Startup prior to loading or saving an image.
LEADTOOLS Support
Imaging
Imaging SDK Questions
Re: To implement a Barcode Reader Application using LEADTOOLS Barcode API
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.