You are on page 1of 18

MICRO PROJECT

Academic year 2022-23

Medical Shop Management System

Program: Computer Engineering Program code: CO4I-B

Course: GUI Application Development Using VB.Net Course code: 22034


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

Certificate

This is to certify that Mr. /Ms. Leonhard D, Aaditi I, Soham J Roll No. 45, 46, 47 of Fourth

Semester of Diploma in Computer Engineering of Institute, VES POLYTECHNIC

(Code: 0004) has completed the Micro Project satisfactorily in Subject - GUI Application

Development Using VB.Net (22034) for the academic year 2022- 2023. as prescribed in the

curriculum.

Place: Chembur, Mumbai Enrollment No: 2100040261-263

Date: …………………… Exam Seat No: ……………….....

Subject Teacher Head of the Department Principal


INDEX

Academic year: 2022-23 Name of the faculty: Mrs. Shubhangi Chintawar

Program code: CO4IB Course & course code: GAD (22034)

Name of the candidate: Leonhard D, Aaditi I, Soham J

Roll No. 45, 46, 47 Enrollment No. 2100040261-263

Sr. No. Page No.


Content

1 Project Proposal 01

2 Action plan 02

3 Resource required 02

4 Introduction 03

5 Actual Procedure 04

6 Output 12

7 Skill developed 14

8 Evaluation sheet 16
Annexure – I
Micro-Project Proposal

Medical Shop Management System

1.0 Aim/Benefits of the Micro-Project


This Micro-Project aims at:
• Design GUI application for medical shop
 To store, retrieve, update, delete medical shop data regarding medicine and customer from
database using GUI application.

2.0 Course Outcomes Addressed


• Use Visual Studio IDE to design application. [ ]
• Develop GUI Application using Form Controls and its events. []
• Apply Object Oriented concepts in GUI Application. [ ]
• Use Data access controls to store data in Database and retrieve it. []
• Use Data Binding in GUI Application [ ]

3.0 Proposed Methodology


 Discussion about topic with guide and among group members - Collaborative conversation to
share ideas and gather feedback from project stakeholders
 Literature Survey-Reviewing and analysing existing research and publication related to the
project
 Submission of project proposal- Formal document that outlines the project’s goals, methods,
resources, and timeline
 Information collection and Analysis of Data- Gathering and processing relevant data to
inform project decision and outcomes
 Designing-Creating the user interface and visual element of the project
 Coding-Writing the code that will make the project work
 Testing-Evaluating the project’s functionality and performance in different scenarios to
identify and fix bugs
 Checking Final Output- Verifying that the project meets all the requirements and
specifications outlined in the proposal

1
4.0 Action Plan

SR. Details of activity Planned Planned Name of Responsible


No. Start date Finish date Team Members

1 Finalization of project Title and Scope 08/02 22/02 All

2 Project Definition 22/02 01/03 All

3 Information Collection and Analysis of Data 01/03 08/03 All

4 Design Structure 08/03 10/03 All

5 Coding and Testing 10/03 13/04 All

6 Output 13/04 20/04 All

7 Report writing 20/04 24/04 All

8 Demonstration of project & final submission 24/04 03/05 All

5.0 Resources Required


Sr. Equipment Name with Broad
Remark if any
No. Specification
1 Hardware Computer System: Computer Preferable, RAM
(i3-i5 minimum 2 GB and onwards)
Operating System: Windows 7 or Later
2
Version
Software: Microsoft Visual Studio 2012
3
or later.

Name of Team Members with Roll Nos.


45 – Leonhard Dsouza
46 – Aaditi Inamdar
47 – Soham Jagtap
Mrs. Shubhangi Chintawar
Name and Signature of Course Teacher
Annexure – II

Micro-Project Report

2
Medical Shop Management System
1.0 Rationale
The main objective of the VB.Net Project on Medical Shop Management is to manage the
details of Medicine Stock and customer details. It manages all the information about
Customers, Medicine stock view, New Medicine Insert and Medicine Delete.

2.0 Aim/Benefits of the Micro-Project


This Micro-Project aims at:
• Design GUI application for medical shop
 To store, retrieve, update, delete medical shop data regarding medicine and customer from
database using GUI application.

3.0 Course Outcomes Addressed


• Use Visual Studio IDE to design application. [ ]
• Develop GUI Application using Form Controls and its events. []
• Apply Object Oriented concepts in GUI Application. [ ]
• Use Data access controls to store data in Database and retrieve it. []
• Use Data Binding in GUI Application [ ]

4.0 Literature Review

The medical shop management is an integrated software that handles different work of the medical
Shop. It manages the smooth healthcare performance along with administrative, medical, legal and
financial control. That is a cornerstone for the successful operation of the health care facility. As long
as each stage implementation needs to be accurate and explicit, the medical shop management system
provides certain automation of many vital daily processes. The medical shop management software
covers the services that unify and simplify the work medical shop operator as well as their
interactions with patients. There is always the wide choice of features that are included in the system.
More over the most important thing they are created to streamline various procedures that meet the
needs of all the customers. The medical shop management system feature list is concentrated on
providing the smooth experience customer and the shop operator. It might seem that their
expectations differ, but they still are covered by components of medical shop management system.
Quality and security remain the main criteria of the Pharmaceutical Industries. It is also known fourth
constant and rapid changes to improve the efficiency of medical services and satisfaction of the
customers.

Medical Shop Management System Components:


• Medicine Stock management
3
• Customer management
• Security and Database management

Medicinal information:
Previous Stock of medicines can be view and new can be inserted with additional information like
Netweight, Date, Medicine_id and the stock which is already over can also be deleted from database.
Thus, Medicine stock management gets easy and efficient.

Customer information:
Previous customers that already did buy from our Medical shop can be view and the new customers
can be added to the database with price of the medicine that customer buys, medicine_id, contact and
with right date. Thus, customer data also gets easy to access and retrieve from database.

Security and Database management :


Every Medical shop or any other shop require security thus this system will not allow any outsider to
login the page and access data and if he tries to login and fails within 3 attempts the page will be
system will be closed for time being. Only operator, owner and staff of the medical shop can access
the system with correct combination of username and password. Thus medical shop data is more
secured and easy to access to right person.

5.0 Actual Procedure Followed


Coding:

Form 1 (Welcome)

Public Class Form1


Private Sub LOGIN_DoubleClick(sender As Object, e As EventArgs) Handles LOGIN.Click
Form2.Show()
Me.Hide()
End Sub

Private Sub Button1_DoubleClick(sender As Object, e As EventArgs) Handles Button1.Click


Application.Exit()
End Sub
End Class

Form 2 (Login)
Public Class Form2
Dim user, pass As String
Dim count As Integer
Dim f As New Form4

Private Sub LOGIN_Click(sender As Object, e As EventArgs) Handles LOGIN.Click


user = "admin" pass = "password"
If TextBox1.Text = "" And textbox2.Text = "" Then
MsgBox("Enter username and password first", vbCritical + vbOKOnly)
TextBox1.Focus()
ElseIf user = TextBox1.Text And pass = textbox2.Text Then
MsgBox("Congratulation !!, you have login successfully.", vbInformation + vbOKOnly, "Welcome to our medical
shop")
Me.Hide()

4
Form3.Show()
Else count = count
+1 If count <= 1
Then
MsgBox("Invalid username and password, please try again", vbExclamation + vbRetryCancel, "check login
credentials")
CNT.Text = count
ElseIf count = 2 Then
MsgBox("Invalid username and password, 2 more attempts", vbExclamation + vbRetryCancel, "check login
credentials")
CNT.Text = count
ElseIf count = 3 Then
MsgBox("Invalid username and password, 1 more attempt", vbExclamation + vbRetryCancel, "check login
credentials")
CNT.Text = count
Else
MsgBox("All the attempts are failed!! Kindly reset your account or request for login credentials from admin..")
Me.Hide()
Form1.Show()
End If

End If
End Sub

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click


Application.Exit()
End Sub

Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load


count = 0
Label5.BackColor = Color.Transparent
End Sub

End Class

Form 3 (Main Module)


Imports System.Data.SqlClient

Public Class Form3


Dim con As SqlConnection
Dim query As SqlCommand
Dim adp As SqlDataAdapter
Dim ds As New DataSet
Dim f As New Form4

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click con = New


SqlConnection("Data Source=SOHAM\MSSQLSERVER01;Integrated Security=True") con.Open()
query = New SqlCommand("select * from STOCK1", con)
adp = New SqlDataAdapter(query) adp.Fill(ds,
"STOCK1") DataGridView1.DataSource = ds
DataGridView1.DataMember = "STOCK1"

End Sub

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click


Me.Hide()
f.TabControl1.SelectedIndex = 0
f.ShowDialog()
5
End Sub

Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click


Me.Hide()
f.TabControl1.SelectedIndex = 1
f.ShowDialog()
End Sub

Private Sub Button3_Click_1(sender As Object, e As EventArgs) Handles Button3.Click


Me.Hide()
Form5.Show()
End Sub

Private Sub VIEWToolStripMenuItem_Click(sender As Object, e As EventArgs)


f.TabControl1.SelectedIndex = 0
f.ShowDialog()
End Sub

Private Sub DELETEToolStripMenuItem_Click(sender As Object, e As EventArgs)


f.TabControl1.SelectedIndex = 1
f.ShowDialog()
End Sub

Private Sub VIEWToolStripMenuItem1_Click(sender As Object, e As EventArgs)


f.TabControl1.SelectedIndex = 2
f.ShowDialog()
End Sub

Private Sub ToolStripMenuItem1_Click(sender As Object, e As EventArgs)


Me.Hide()
Form1.Show()
End Sub

Private Sub LOGOUTToolStripMenuItem_Click(sender As Object, e As EventArgs)


Application.Exit()
End Sub
End Class

Form 4 (Database updation)

Imports System.Data.SqlClient
Imports System.Windows.Forms.VisualStyles.VisualStyleElement

Public Class Form4


Dim con As SqlConnection
Dim query As SqlCommand
Dim adp As SqlDataAdapter
Dim ds As New DataSet
Private Sub Button1_Click(sender As Object, e As EventArgs)
con = New SqlConnection("Data Source=SOHAM\MSSQLSERVER01;Integrated Security=True")
con.Open()
query = New SqlCommand("Select * from Stock1", con)
adp = New SqlDataAdapter(query)
adp.Fill(ds, "Stock1")
DataGridView1.DataSource = ds
DataGridView1.DataMember = "STOCK1"
End Sub

Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click con = New


SqlConnection("Data Source=SOHAM\MSSQLSERVER01;Integrated Security=True") con.Open()

6
query = New SqlCommand("select * from STOCK1", con)
adp = New SqlDataAdapter(query) adp.Fill(ds,
"STOCK1") DataGridView1.DataSource = ds
DataGridView1.DataMember = "STOCK1"
End Sub

Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click con = New


SqlConnection("Data Source=SOHAM\MSSQLSERVER01;Integrated Security=True") con.Open()
query = New SqlCommand("select * from customer", con)
adp = New SqlDataAdapter(query) adp.Fill(ds,
"customer")
DataGridView1.DataSource = ds
DataGridView1.DataMember = "customer"
End Sub

Private Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click con =


New SqlConnection("Data Source=SOHAM\MSSQLSERVER01;Integrated Security=True")
con.Open()
query = New SqlCommand("Insert into stock1 values('" & TextBox1.Text & "','" & TextBox2.Text & "', '" &
TextBox3.Text & "', '" & TextBox4.Text & "', '" & TextBox5.Text & "')", con)
query.ExecuteNonQuery()
MsgBox("DATA SAVES SUCCESSFULLY", vbInformation + vbOKOnly)
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click con = New
SqlConnection("Data Source=SOHAM\MSSQLSERVER01;Integrated Security=True") con.Open()
If TextBox6.TextLength = 10 Then
query = New SqlCommand("Delete from customer where Contact_No = ('" & TextBox6.Text & "')", con)
query.ExecuteNonQuery()
MsgBox("DATA DELETED SUCCESSFULLY", vbInformation + vbOKOnly)
ElseIf TextBox6.TextLength = 4 Then
query = New SqlCommand("Delete from stock1 where Med_Id = ('" & TextBox6.Text & "')", con)
query.ExecuteNonQuery()
MsgBox("DATA DELETED SUCCESSFULLY", vbInformation + vbOKOnly)
Else
MsgBox("Enter correct ID / mobile number or else Data doesn't exist ", vbOKOnly + vbInformation)
End If
End Sub

Private Sub Button7_Click(sender As Object, e As EventArgs) Handles Button7.Click


Me.Hide()
Form3.Show()
End Sub

Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click


TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
End Sub

Private Sub Button8_Click(sender As Object, e As EventArgs) Handles Button8.Click


Me.Hide()
Form5.Show()
End Sub

Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click


TextBox6.Text = ""
7
End Sub
End Class

Form 5 (Customer Details)

Imports System.Data.SqlClient
Imports System.Text.RegularExpressions
Imports System.ComponentModel

Public Class Form5


Dim con As SqlConnection
Dim query As SqlCommand
Dim adp As SqlDataAdapter
Dim ds As New DataSet
Dim f As New Form4
Dim m As Boolean = False
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

con = New SqlConnection("Data Source=SOHAM\MSSQLSERVER01;Integrated Security=True")


con.Open()
query = New SqlCommand("Insert into Customer values('" & TextBox1.Text & "','" & TextBox2.Text & "', '" &
TextBox3.Text & "', '" & TextBox4.Text & "', '" & DateTimePicker1.Text & "')", con)
query.ExecuteNonQuery()
MsgBox("DATA SAVED SUCCESSFULLY!!", vbInformation + vbOKCancel)
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
f.TabControl1.SelectedIndex = 2
f.ShowDialog()
End Sub

Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click


Me.Hide()
Form4.Show()
End Sub
Private Sub TextBox2_TextChanged(sender As Object, e As EventArgs) Handles TextBox2.TextChanged
Dim exp As New System.Text.RegularExpressions.Regex("\d{10}")
If exp.IsMatch(CType(sender, TextBox).Text) Then
ErrorProvider1.SetError(sender, "")
m = True
Else
ErrorProvider1.SetError(sender, "Enter valid Contact No. ")
End If
End Sub

Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click


Me.Hide()
Form6.Show()
End Sub
End Class

Form 6 (Logout Page)

Public Class Form6


Private Sub LOGIN_Click(sender As Object, e As EventArgs) Handles LOGIN.Click
Me.Hide()
Form5.Show()
End Sub
8
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
MsgBox("THANKYOU FOR EXPERIENCING OUR MEDICAL SHOP MANAGEMENT..", vbOKCancel +
vbInformation)
Application.Exit()
End Sub
End Class

6.0 Actual Resources Used

Sr. Equipment Name with Broad Specification Remark if any


No.

1 Hardware Computer System: Computer (i3-i5 preferable),


RAM minimum 8 GB and onwards

2 Operating System: Windows 7 or Later Version/LINUX version 5.0


or Later Version

3 Software: Microsoft Visual Studio 2012 or later.

7.0 Outputs of the Micro-Project

9
10
11
8.0 Skill Developed / learning out of this Micro-Project

1. Able to develop GUI Application using Form Controls and its events.
2. Able to Use Data access controls to store data in Database and retrieve it.
3. Scheduling of Project.
4. Documentation of Project
5. Time management
6. Technical Writing
7. Team work
8. Problem solving

9.0 Application of this Micro-Project

• Thus we learnt how to manage medical shop data using database in vb.net
• This helps us to learn about inserting data, updating data, deleting data etc. from and to database
using vb.net

Annexure – III

12
S. Characteristic to be Poor Average Good Excellent ( Marks
No. assessed ( Marks 1 - 3 ) ( Marks 4 - 5 ) ( Marks 6 - 8 ) 9- 10 )
Relevance to the Relate to very Related to some Take care of at-least Take care of more
1
course few LOs LOs one CO than one CO
Not more than At-least 5 relevant
Literature review
two sources sources, at least 2 At –least 7 relevant About 10 relevant
2 /information
very old latest sources, most latest sources, most latest
collection
reference
Completion of the
3 Target as per project Completed less Completed 50 to
Completed 60 to 80%
Completed more than
proposal than 50% 60% 80 %

Sufficient and
appropriate
Sufficient and
Data neither enough data Enough data
appropriate enough
Analysis of Data organized nor generated but not collected and
4 data generated
and representation presented well organized and not sufficient and
which is organized and
presented well. presenting data.
but not used.

Well assembled with


Well assembled and proper
Just assembled functioning parts.
Quality of Incomplete functioning parts..
and some But no creativity in
5 Prototype/Model Programming Creativity in design
codeis not
code design and use of and use of graphics
functioning well.
graphics function function
Nearly sufficient
and
Very short, Detailed, correct and Very detailed,
correct details
Details about clear description of correct, clear
about methods,
methods, and methods and
6 Report Preparation and conclusion. description of
conclusions Conclusions.
but clarity is not methods, and
omitted, some Sufficient Graphic
there in conclusions.
details are wrong Description.
presentation.

Major Includes major


information is information but Includes major Well organized,
Presentation of the not included, not well information and includes major
7 information is organized and well organized but not information ,well
micro project
not well not presented well
presented well presented
organized.
Could not reply Replied to
to considerable Replied properly to Replied most of
8 Defense considerable number of considerable number of the questions
number of questions but not question. properly
questions. very properly

Suggested Rubric for Assessment of Micro-Project

13
Annexure – IV
Micro Project Evaluation Sheet
Name of Student: Leonhard D, Aaditi I, Soham J Enrollment No: 2100040261-263
Name of Program: Computer Engineering Semester: Fourth
Course: GUI Application Development Using VB.Net Course Code: 22034

Title of the Micro-Project: Medical Shop Management System

Cos addressed by Micro Project:


• Use Visual Studio IDE to design application. [ ]
• Develop GUI Application using Form Controls and its events. []
• Apply Object Oriented concepts in GUI Application. [ ]
• Use Data access controls to store data in Database and retrieve it. []
• Use Data Binding in GUI Application [ ]

Sr. Characteristic to be
Poor Average Good Excellent
No assessed Sub Total
( Marks1-3 ) (Marks 4-5 ) (Marks 6-8) ( Marks9-10)

(A) Process and Product Assessment (Convert Above Total marks out of 6 Marks)
1 Relevance to the course

2 Literature review/
Information Collection

3 Completion of the Target as


per project proposal

4 Analysis of Data and


representation

5 Quality of Prototype/Model

6 Report Preparation

(B) Individual Presentation / Viva (Convert above total marks out of 4 marks)

7 Presentation

8 Defence/Viva

Process and Product Assessment Individual Presentation / Viva Total Marks 10


Roll No.
(6 Marks) (4 Marks)

14
45

46

47

Name and designation of the Teacher: Mrs.Shubhangi Chintawar (Lecturer)

Dated Signature:

15

You might also like