Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4039492
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:37:10+00:00 2026-05-20T12:37:10+00:00

We have several reports created with the crystal reports included with Visual studio 2008.

  • 0

We have several reports created with the crystal reports included with Visual studio 2008. We now need to include barcodes into these reports. Can this be done with just visual studio 2008 and its included version of crystal reports? How about VS 2010 (after downloading the crystal reports for visual studio 2010 from business objects).

Is there any other way to do this for free or do we absolutely have to buy the crystal reports or third party software to do this ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T12:37:11+00:00Added an answer on May 20, 2026 at 12:37 pm

    I have found the following solution on one of the forums but I dont remember which one, (please tell me if you are know the original post and I will link to it.)

    Here are the steps required to add a barcode on crysal report.

    1) Add a column of type byte array to the dataset used in the report.
    2) Open the crytal report and verify the database so the newly added column gets updated in the crytal report.
    3) In the crystal designer, drag the new database column on the design surface and drop it on the desired location.
    4) In the method that generates the report, add the following code to stuff the content of the barcode image into the new column.

    Dim fsImageFile As FileStream
    Dim brReader As BinaryReader
    fsImageFile = New FileStream(strBarcodeImageFilePath, FileMode.Open)
    brReader = New BinaryReader(fsImageFile)
    
    Dim bImageByte(Convert.ToInt32(fsImageFile.Length + 1)) As Byte
    bImageByte = brReader.ReadBytes(Convert.ToInt32(fsImageFile.Length))
    
    drMyCrystalReport.BarcodeImage = bImageByte
    

    In the above example drMyCrystalReportis the datarow for the dataset and BarcodeImage is the column that was added to the dataset.
    This code adds the content of the image file to the database column and crystal reports displays that content when this column is added to it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to pull RAM information from several cpuz reports and put them into
I am using CR 9. Sorry about that. I have never used Crystal Reports;
I have a bunch of SSRS 2008 reports which I'd like to run on
When exporting to Excel a report created by report viewer in Visual Studio, the
I have several Telerik RadGridViews within a TabControl. Each of these RadGridViews has a
I have several long running report type transactions that take 5-10 minutes. Would I
I have several ASP:TextBox controls on a form (about 20). When the form loads,
I have several RequiredFieldValidators in an ASP.NET 1.1 web application that are firing on
I have several tables whose only unique data is a uniqueidentifier (a Guid) column.
We have several jobs that run concurrently that have to use the same config

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.