Pharmacy Sales Management System (POS) using VB.NET and MySQL with Source Code

Hi, this is a school project that might help other IT students or self-learners that studying programming. This Pharmacy Sales Management System / Point of Sale System (POS) source code was developed using and MySQL database. The system has a simple management of product feature which are the list of medicine, creating new, updating product, and adding a new stock. Talking about cash registry page/form, this form is where the sales transaction is being recorded or done. The cash registry form is has a user-friendly interface and also this have a keyboard shortcuts which also displayed. The system generates a printable receipt. The system has 2 types of users login which are the admin and cashier users. The admin has the privilege to manage all the data of the system while the cashier can only manage the sales transaction or the cash registry page/form.


  • User Login (Admin)
  • Cashier Login
  • Product or Medicine Management
  • User Management
  • Generates Receipt
  • Generates Sales Report

How to run

To run the project follow the steps below and also, download and install the software needed to run the project source code.


  1. Download and Install Microsoft Visual Studio Software.
  2. Download and Install XAMPP.

Run the source code

  1. Download and Extract the source code zip file. (download button is located below)
  2. Open your XAMPP Control Panel and start "Apache" and "MySQL".
  3. Open a web browser and browse localhost/phpmyadmin.
  4. Create a new database naming "pmisdb".
  5. Locate and Extract the "" file in the source code root folder.
  6. Import the "pmisdb.sql" file in your "pmiasdb" database.
  7. Locate the "WindowsApplication1.sln" file in the source code folder.
  8. Open the solution file ".sln" with your Microsoft Visual Studio Software.
  9. Press the "F5" key on your keyboard to run the system.

Sample Credentials


Username: admin
Password: admin


Username: testrun
Password: 12345

That's it, you can now explore the system functionalities and features. I hope this will help you with what you are looking for. Feel free to modify the source code.

Enjoy Coding:)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment