Category Archives: c#

Barcode Generator EAN128, EAN13, QR, DataMatrix ( dll / exe versions)

This is my new barcode generator ( image based ) to create EAN128, EAN13, QR, DataMatrix Barcodes.

You can use it with 2 versions, commnad line version (standalone executable )  or a  dll to use with your .NET projects ,

You can Download it from this link:

here are these videos showing both the operation of the dll and the executable utility:



Read More ...

Consuming a NAV (2015,2017,2018) / BC ODataV4 from C# or .NET

To Consume a ODataV4 form Visual Studio (+2017) you need to add this extenssions installed:

and the odata will be enabled:


Read More ...

Git Bash + Azure dev ops + Visual studio Code

This is a guide to use git Bash with Azure dev ops,

first we need to login at azure dev ops :

you can login from office 365 account, or sign in.


Read More ...

LINQ to XML Group by C# alternatives

The problem:
I have a xml variable Xdocument in C# like this:

I want to do a “group by” all the same records:


Read More ...

Free DLL to generate image barcodes

Hi guys!

I have developed this simple dll for the barcode printing / representation, the use is very simple :




this is the code of the sample form:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BarcodeFree;

namespace WindowsFormsApplication1
    public partial class Form1 : Form
        public Form1()

        private void button1_Click(object sender, EventArgs e)
           Code128 text = new Code128();
            this.textBox2.Text = text.Encode( textBox1.Text);
            ImageBarcode barcode, barcode2, barcode3, barcode4;
            //parameters to call ImageBarcode:
            //public ImageBarcode(int width, int height, string value, bool Landscape = false, Color? color = null,Color? colorFore=null )
            barcode = new ImageBarcode(pictureBox1.Width, pictureBox1.Height, textBox2.Text);
            barcode2 = new ImageBarcode(pictureBox2.Width, pictureBox2.Height, textBox2.Text, false, Color.Red, Color.Yellow );
            barcode3 = new ImageBarcode(pictureBox3.Width, pictureBox3.Height, textBox2.Text, true);
            barcode4 = new ImageBarcode(pictureBox4.Width, pictureBox4.Height, textBox2.Text, false, Color.Turquoise , Color.LightGray);
//            barcode = new ImageBarcode(250, 112, textBox2.Text);
            this.pictureBox1.Image = barcode.GenerateImage();
            this.pictureBox2.Image = barcode2.GenerateImage();
            this.pictureBox3.Image = barcode3.GenerateImage();
            this.pictureBox4.Image = barcode4.GenerateImage();
//            this.pictureBox1.Refresh();

And Finally the DLL( for demo test):



Some documentation about barcodes:


especially thanks to:


Read More ...


Subscribe to my Newsletter

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.