Home: Products: PDF417 Barcode Font and Encoder PDF417 Encoder Visual Basic Conversion:

PDF417 Encoder Visual Basic Conversion Info:

The PDF417 encoder was written in Visual Basic 6.0 and consists of about 600 lines of code. The source code was written in an easy to understand manner with several comments and will also allow programmers of other languages to easily convert the code. The following table is a list of the Visual Basic functions used in IDAutomation's source code and what they do. To convert the code programmers will need to find similar functions in the other programming language.

To sign up for monthly updates about new products or upgrades, please click here.NOTE: If the code is converted into a popular language and submitted to IDAutomation, licenses to some of IDAutomation's other products will be granted to the programmer and the programmer's company free of charge.

VB Function What it does
Asc(character) Converts a character to the ASCII value
Chr(n) Returns the character represented by the number n in ASCII
Len(string) Returns the length of a string
Mid(string, x, n) Returns n number characters from a string starting from location x
(number Mod n) Returns the remainder after number is divided by n
Right$(string, n) Returns n characters starting from the right of the string
RTrim(LTrim(string)) Removes spaces before and after a string
Fix(number) Returns the integer of a number
(number \ number) The "\" performs integer division on numbers rounding down
Dim variable() As Variant Defines an array within a variable. Then the array contents are defined using the following two methods: variable = Array("value1", "value2", etc.) and variable(1) = "value1"
 

© Copyright 2000-2007 IDAutomation.com, Inc., All Rights Reserved.  Legal Notices.

Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.