تخطي إلى المحتوى
XREFS0 LogoXREFS0
شروحات
من نحن
تواصل معنا
شروحات
سورس كود
C#PHPVisual BasicPythonC/C++Microsoft AccessDelphi
هندسة عكسية
البرامجالشروحات
التسويق الإلكتروني
البرامجالكورساتبيانات العملاء
من نحنتواصل معنا
XREFS0

شروحات تقنية، تسويق إلكتروني، هندسة عكسية، وسورس كود — كل ما يحتاجه المطور والمبرمج في مكان واحد.

روابط سريعة

  • الرئيسية
  • من نحن
  • الشروحات
  • سورس كود
  • هندسة عكسية
  • التسويق الإلكتروني

قانوني

  • سياسة الخصوصية
  • شروط الاستخدام
  • إخلاء المسؤولية
  • DMCA
  • إزالة محتوى
  • رابط معطل
  • الأسئلة الشائعة

ابقَ على تواصل

اشترك للحصول على آخر الشروحات والأدوات مباشرة.

اشترك في القناة

© 2026 XREFS0. جميع الحقوق محفوظة

صُنع بـ ❤️ للمطورين العرب

  1. XREFS0
  2. سورس كود
  3. فيجوال بيسك
  4. QR (Quick Response) Code Generator using VB.NET with Source Code
مشروع
2026-07-319,288

QR (Quick Response) Code Generator using VB.NET with Source Code

This QR (Quick Response) CODE Generator is a simple program that generates text into QR code using messaging toolkit QR code and developed using VB.NET. It also allows the QR code to be exported as an...

QR (Quick Response) Code Generator using VB.NET with Source Code
Visual BasicVB.NETSource CodeFree

QR (Quick Response) Code Generator using VB.NET with Source Code

This QR (Quick Response) CODE Generator is a simple program that generates text into QR code using messaging toolkit QR code and developed using VB.NET. It also allows the QR code to be exported as an image and automatically saved into your Documents folder with the file name as equivalent in the textbox. The QR Code can be useful in some Software depending on what logic you will use. For Example in an Inventory System, you can generate a QR Code for each product or items and create a tracking feature that has a QR Code Scanning and by that, the system user will have a better experience using the system and also this can help to prevent Typing Error instances and the user can quickly track the item.

Features

Generate QR Code

Export QR Code as an Image

Tools used:

Labels

Picture Box

Buttons

Library Used

MessagingToolkit.QRCode

This is the Layout that I have created in this QR Code Generator program:

The below code is the one I used to generate QR Code from the text entered and display the code into the Picture Box.

        Private Sub btnGenerate_Click(sender As Object, e As EventArgs) Handles btnGenerate.Click

        Try

            Call qrcodeGen()

 

        Catch ex As Exception

            MessageBox.Show(ex.Message, "Error!", MessageBoxButtons.OK, MessageBoxIcon.Information)

        End Try

    End Sub

 

    Private Sub qrcodeGen()

        Try

            Dim qrCode As New QRCodeEncoder

            qrCode.QRCodeEncodeMode = QRCodeEncoder.ENCODE_MODE.BYTE

            qrCode.QRCodeErrorCorrect = QRCodeEncoder.ERROR_CORRECTION.L

            Me.PictureBox1.Image = qrCode.Encode(Me.txtCode.Text, System.Text.Encoding.UTF8)

 

 

        Catch ex As Exception

            MessageBox.Show(ex.Message, "Error!", MessageBoxButtons.OK, MessageBoxIcon.Information)

        End Try

    End Sub

And to export the QR Code as an Image and saving it automatically to the Documents Folder, this is the code I used.

        Private Sub btnExport_Click(sender As Object, e As EventArgs) Handles btnExport.Click

        Try

            If Me.PictureBox1.Image IsNot Nothing Then

                Me.PictureBox1.Image.Save(IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.MyDocuments, Me.txtCode.Text & ".jpg"))

                MessageBox.Show("QR is successfully saved.")

            End If

        Catch ex As Exception

            MessageBox.Show(ex.Message, "Error!", MessageBoxButtons.OK, MessageBoxIcon.Information)

        End Try

    End Sub

How to Run

Requirements:

Download and Instal Microsoft Visual Studio Software.

Download the provided source code zip file. ( download button is located below )

Installation

Extract the downloaded source code zip file.

Locate the Solution file in the extracted source code. The file is known as "QR Code Generator.sln".

Open the solution file with your MS Visual Studio Software.

Press the "F5" key on your keyboard to run the Program.

DEMO

I hope this QR Code Generator Program will help you in your future projects.

For more additional information just contact me at my email: [email protected]

Enjoy :)

Screenshots

Screenshot Screenshot

Download Project

Download QR (Quick Response) Code Generator using VB.NET with Source Code
9.3K views
342 تحميل
FacebookTweet This
1.1K
العودة لـ فيجوال بيسك

مشاريع ذات صلة

Advanced Library Management System using VB.NET with Source Code

This is an Advance Library Management System project that helps a certain school manage its Library records such as the books and borrow/return transactions. This project is written using VB.NET 4.0 a...

2026-07-31

Airline Reservation System using VB.NET with Source Code

HI, this is the 4th program I have submitted on sourcecodester. This project is a simple system developed using VB.NET. About  The Airline Reservation System is a vb.net project developed to manage th...

2026-07-31

Alarm System in VB.Net with Full Source Code

Alarm System in VB.Net with Full Source Code The Alarm System is a simple desktop application that is developed using VB.Net. This is a very interesting project most especially for students who are be...

2026-07-31