Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners., Inc., Computer Hardware, Tampa, FL View your cart in the IDAutomation Store    

Home > Barcode Fonts > 2D Barcodes > PDF417 Fonts > PDF417 Encoder Visual Basic Conversion

PDF417 Encoder VB Conversion

The PDF417 encoder was written in Visual Basic 6.0 and consists of approximately 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 should find similar functions in the other programming language.

VB Function Result
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 2020, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.