Navigate
Wasp Helpdesk
  • Register

  • or
  • Login
    Need a password reminder?
or
Contact Us
  • Get in touch

    Send us an email

  • Start a chat session

  • Knowledgebase Read help articles
  • News News & updates
  • Contact Us We are here to help
  • Training View our options
  • Portal
  • Knowledgebase
  • Discontinued Products
  • ActiveX and DLL - How to create a UCC/EAN128 barcode using the drawing and font ActiveX controls
Subscribe Download PDF

ActiveX and DLL - How to create a UCC/EAN128 barcode using the drawing and font ActiveX controls

Scott Barnett
2017-04-10
in Discontinued Products
All that is needed to create a UCC/EAN128 barcode is to append a FNC 1 (ASCI 185) to the begining of the value.  Below is a very brief Visual Basic .net example.

Private Sub cmdSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSubmit.Click

Dim sFnc1 As String

' UCC 128 is simply a Code 128 with a (Function 1) FNC 1 character at the beginning

' of the value.

sFnc1 = Chr(185) ' set up the FNC 1 character.

' The Drawing control's symbology was set to Code 128 at design time, so all we need to 

' do here is append the Function 1 to the beginning of the value.

bcMain.Value = sFnc1 & txtValue.Text ' This code pulls its value from a text box.

End Sub

Rate the quality of this page

This page was helpful :) :( This page was not helpful

31 of 60 people found this page helpful


Quick Jump
  • Wasp Helpdesk
  • Knowledgebase
  • News
  • Contact Us
Top
Helpdesk software provided by Deskpro