Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to generate barcode 5 textbox data without using DB and how to read barcode and display 5 textbox without DB

any one know answer,Pls give me a code
mail:infotechbalachandar@gmail.com
Posted
Comments
Richard MacCutchan 21-Mar-14 5:11am    
What do you mean "without DB"? What does a database have to do with a barcode?
Marc Gabrie 24-Mar-14 6:43am    
You'll not get any useful answers or help if you do not clarify your question. What does "barcode 5 textbox" mean for you?

1 solution

First Download the Font - IDAutomationHC39M and install it.

This is a barcode font.


Now in form use this code

VB
Imports CrystalDecisions.Shared
Imports CrystalDecisions.CrystalReports.Engine

Public Class Form6

    Dim Rpt As New ReportDocument

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.Label1.Text = Me.TextBox1.Text & " " & Me.TextBox2.Text & " " & Me.TextBox3.Text & " " & Me.TextBox4.Text & " " & Me.TextBox5.Text & " "
        Dim frmView As New Form3 'Crystal Report viewer form
        Rpt = New CrystalReport1 'Your Crystal Report Name
        Rpt.SummaryInfo.ReportTitle = Me.Label1.Text
        frmView.CrystalReportViewer1.ReportSource = Rpt
        frmView.CrystalReportViewer1.RefreshReport()
        frmView.Show()
    End Sub
End Class



In Crystal Report

Create this formula Named barcode

"*" & ReportTitle & "*"

Now insert the above formula in report.

Enjoy your barcode is ready without database.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900