Computer Shop Management System
Computer Shop Management System
Table of Contents……………………………………………………………………………….4
Introduction………………………………………………………………………………………5
Objective………………………………………………………………...……………………….6
Operating environment…………………………………………………………………………6
1) Harware requirement…………..…………………………………………………………6
2) Sowtware requirement……………………………………………………………………6
Platform used……………………………………………………………………………5
Purpose ………………….………………………………………………………………………5
Product
Perspective………………………………………………………………………………………5
Process logic....................................................................................................................2
Logic diagram……………….…………………………………………………………………..7
ER diagram…...……………..…………………………………………………………………11
Data structure…………………………………………………………………………………..12
Sreenshots ………………………………………………………………………………….. 3
1) Login form……………………………………………………………………………….3
2) Main form….…………………………………………………………………………….4
7) Change password………………………….…………………………………………….5
Coding …………………………………………………………….5
Future Scope…………………………………………………………
Bibliography …………………………………………………………………………………
1
Introduction
Computer-shop management System is a project which assist in keeping the
Record of what ever the sales from shop (whole seller), also it keep track of remaining
balance which due after selling the product. Through this project we maintain the
warranty given on particular products along with complete information related to that
product.
Computer-shop management System is software for store billing
management. Sell hardware systems components and accessories (keep track of sold
configurations, create system configuration, sell accessories and computer
components, supplying company’s administration, and many more...). Computer-shop
management System is a windows based billing software designed for uses in computer
stores.
Objective
The objective of my project to provides management facility to
computer-shop. We have given many facilities for users in this project.
1) Welcome screen (Formsplash)
2) Login screen
3) Main form
4) Sell Computer System form
5) Sell Computer Parts form
6) Update customer Balance form
7) Product Price Report form
8) Change password form
9) Make quotation form
10) Add computer part form
11) Add computer system form
12) Create user account form
13) Update shop information form
14) Report of sold computer part
15) Report of sold computer system
2
Operating Environment
1) Hardware Requirement
2) Software Requirement
1) MS-office-2003
2) MS Visual Basic6.0
Purpose
Project Scope
3
It will also save lots of time, as system will perform all tasks in quick time
profiting customer and shop owner as well, so it will prove very economical in every
respect.
Product Perspective
The Computer-shop Management System is the new, self-contained product.
The Computer-shop management system is using vb6.0 platform. All components follow
Model-View-Controller pattern. The user can retrieve information of their shop progress.
All pages of the system are following a consistent theme and clear structure.
The occurrence of errors should be minimized through the use of checkboxes and scroll
down in order to reduce the amount of text input from user. Error message should be
located beside the error input which clearly highlight and tell user how to solve it. If
system error, it should provide the contact methods. The page should display the
project process in different color to clearly reflect the various states. Each level of user
will have its own interface and privilege to mange and modify the project information.
User interface elements are easy to understand. Part of user interface is well-
organized on screen and the parts are concatenated right. When users look at the
interface, they understand which pane is used for which purpose. Each task of an
interface is specified clearly and users use them correctly. For example, when users
press to any button on interface, they can know which operations are done by pressing
this button.
The user interface is easy to learn. When users use the user interface, they
can know which element is used to which operations. The interface actions and
elements is consistent. When users press any button, required actions is done by the
system.
The screen layout and color of the user interface is appealing. When users
look at the screen, it will have a nice vision. Colors will be selected clearly, thus eyes of
users won’t be tired.To inhance the graphical user interface I use xp button, lv button
and vk frame.
Since the application must run on the PC, all the hardware shall require to
connect the PC will be hardware interface for the system.The main interface would be
the monitor, Keyboard and mouse.
Product Features
• NETWORK SUPPORT. You can use more than one computer to work with Computer-
shop Maintenance System.
• Support for VAT tax system. Also you can -
4
• make system configuration
• Create System configuration and use it later for selling purposes!
• Quickly create database backup!
• Enter and print (optionally) component serial numbers when you selling systems!
• Customize bills that you print!
• Create estimates and latter convert it into bills!
• Reports to make comparisons between months (total sum, or sum by employees)!
• User can see profit of a sold computer system during bill creating!
• Manufacturers administration.
• Print bills with currency sign.
• See number of available components (for selected component in group) when you
selling system configuration!
• Different kind of reports.
• Keep track of you suppliers!
• Check out earnings and get information about charged items!
• Each sold system is registered in database with date of sale and notification if
customer has paid!
• Computer- shop management software provides full billing and income control and
Supports different password protected employee accounts!
• Server database is protected from unauthorized modifications!
• Process payments quickly and efficiently!
• Unique design with very functional user interface!
• Improve your store business with various reports and statistics!
And many more...
Process Logic
1. Login Form
In this form, existing user/administrator enters the user-name and password
and access the main form. If user forgets his password then he can click on button
forget password and then entering his e-mail id can get user name and password. This
form contains user name and password as sub module.
2. Main Form
If administrator accesses this form using authentic login-name and password
then the administrator has administrative power as add the product, create user
account, add new branded computer system, add company, change the shop record .
Administrator have full power But user have some restricted power only which is
provided by administrator.
In this main form user can sell computer part/assemble computer
system/branded computer system, update customer record, change the password,
make quotation. Using this form the user/administrator can see the report of sold
computer part, branded computer system in any time duration. In this form, there is
option to exit & log-off
5
1) Sell branded computer system
2) Sell assembled computer system/computer part
In sell branded computer system module, user/administrator can sell available
branded computer system. In this form, the user/administrator enters the customer
name, address & phone number and chooses any branded computer system to sell.
This form also so the all information of chosen branded computer system as category,
model number, monitor type, hard-disk range, ram, processor, price etc. After selling,
the user/administrator can print and save the receipt.
In sell assembled computer system/computer part module, user/administrator
can sell available computer part and assembled computer system. In this form, the
user/administrator enters the customer name, address & phone number and chooses all
computer part to sell according to request of customer. The user/administrator can
chose any product, its type, range, its serial number using combo-box. After choosing
the serial number of product the price of the product and total price (including vat, tax)
automatically generate. After selling, the user/administrator can print and save the
receipt. The invoice number and customer number automatically generate by this
software when this form is loaded.
6
In this module, the administrator can add new product by entering its name,
company name, range, type, serial number, and its price. Here administrator can also
see the available product and its information. And the administrator can also delete any
product.
7
LOGICAL DIAGRAM
START
LOGIN FORM
MAIN FORM
Update customer
Branded Assemble Balance
computer system computer/Computer
part
Change shop
information
8
Data Flow Diagram:
Computer-shop
Req. Resp. Customer
Customer
management
System
I
Sold sold computer system detail
compute
Customer
r part
Sold
Item Compute
User/admin r system
Update Report
Login
Add
compute
Add Search
r system
compute Search detail
r part
9
Customer detail
Compter Compter
system Part
Detail Detail
Customer
Issue detail
Customer
Sold History
Customer
10
2.Update customer balance:
Issue detail
User
Balance detail
Update
Balance
Verify balance detail
Sold detail
Balance History
User
Search Customer Detail
11
Customer & Item Info.
Customer Record
ER Diagram:- Brand_name
configuratio
n
system_name Warranty_period
Item_pric
e Warranty_period
Item_type
Computer
user_addres
user_ph.n
o.
system_detail
Brand_name
s Item_pric
Login-
e
name&pas
user_name sword Item_nam
e
serial_no.
BALANCE
Serial.No.
Warranty.per
d
Balance
Date
12
C_name
n
Sell
User computer Computer
system/pa part_DETAIL
rt
Paid
Amou
nt
Customer
Invoiceno Invoice
. Paid_amoun no.
t
Tot.amount c_address
c_ph.no.
c_Balance
c_name
DATA STRUCTURE
1. Balance Table
Key Column Name Data Type Width
Primary key InvoiceNo. Alphanumeric 5
Customername Alphanumeric 25
Customer address Alphanumeric 6
Customer phone no. Numeric 6
Paidamount Numeric 8
Totalamount Numeric
Date Date
13
Type Alphanumeric 5
Price Numeric 6
Primary key Serialno. Alphanumeric 5
warranty Numeric 1
3. Customer
key Column Name Data Type Width
Customer_name Alphanumeric 25
Customer_Address Alphanumeric 30
Primary key Customer_Phone.no. Numeric 10
Customer_Balance Numeric 8
5.Troubleshoot
key Column Name Data Type Width
Primary key Invoice no Alphanumeric 5
Customer_name Alphanumeric 25
Customer_Address Alphanumeric 30
Customer_phoneno. Numeric 10
Problem Alphanumeric 25
Service_date Date 8
Charge Numeric 10
6.Employee Table
14
Key Column Name Data Type Width
Primary key Employee-id Alphanumeric 12
Employee_name Alphanumeric 15
Employee_address Alphanumeric 45
Employee_phoneno Numeric 10
Email_id Alphanumeric 20
7.Warranty
Key Column Name Data Type Width
Invoice_no. Alphanumeric 8
Primary key Serial_no. Alphanumeric 20
Bill_no. Alphanumeric 10
New_Serial no Alphanumeric 15
Problem Alphanumeric 25
Service_date Date 8
Delivery_date Date 8
SCREENSHOTS
Loginform
15
Main form
16
Make quotation
17
Change password form
18
Add company Form
19
Add computer system form
20
21
Test case
If connection of database is not closed at unload of this form then this error occurred.so
needs to close connection of database as
Private Sub Form_Unload(Cancel As Integer)
con.Close
End Sub
In database setsold table has p2 field, this field have to allow zero lenth.
22
23
Login form
rs.MoveFirst
For i = 1 To rs.RecordCount
If rs.Fields(2) = Text1.Text And rs.Fields(3) = Text2.Text Then
If rs.Fields(6) = ("admin") Then
mainfrm.Show
Unload Me
con.Close
Exit Sub
End If
If rs.Fields(6) = ("employee") Then
mainfrm.Show
mainfrm.admin.Visible = False
24
Unload Me
con.Close
Exit Sub
End If
End If
rs.MoveNext
Next i
If rs.EOF = True Then
MsgBox "Invalid login name & password!"
Text2.Text = ""
Text2.SetFocus
End If
End Sub
25
End If
End Sub
Main form
26
Else
End If
End Sub
End Sub
End Sub
End Sub
27
Private Sub quatation_Click()
quotation.Show
End Sub
Case 2:
asssembled_Click
Case 3:
bronded_Click
Case 4:
logoff_Click
Case 5:
Exit_Click
End Select
End Sub
End Sub
28
rs3.Open "select Range from itemdetail where Itemname='" & temp & "' and
Company='" & Comboram.Text & "' and Type='" & Combo19.Text & "'"
While rs3.EOF = False
Combo27.AddItem rs3(0)
rs3.MoveNext
Wend
End Sub
29
Private Sub Combo23_Click()
Combo30.Clear
temp = "Speaker"
If rs3.State = adStateOpen Then rs3.Close
rs3.Open "select Range from itemdetail where Itemname='" & temp & "' and
Company='" & Combospeaker.Text & "' and Type='" & Combo23.Text & "'"
While rs3.EOF = False
Combo30.AddItem rs3(0)
rs3.MoveNext
Wend
End Sub
30
Wend
End Sub
Private Sub Combo28_Click()
Combo39.Clear
temp = "Processor"
If rs3.State = adStateOpen Then rs3.Close
rs3.Open "select Serialno from itemdetail where Itemname='" & temp & "' and
Company='" & ComboProcessor.Text & "' and Type='" & Combo20.Text & "' and
Range='" & Combo28.Text & "'"
While rs3.EOF = False
Combo39.AddItem rs3(0)
rs3.MoveNext
Wend
End Sub
Private Sub Combo29_Click()
Combo40.Clear
temp = "MotherBoard"
If rs3.State = adStateOpen Then rs3.Close
rs3.Open "select Serialno from itemdetail where Itemname='" & temp & "' and
Company='" & Combomotherboard.Text & "' and Type='" & Combo21.Text & "'
and Range='" & Combo29.Text & "'"
While rs3.EOF = False
Combo40.AddItem rs3(0)
rs3.MoveNext
Wend
End Sub
Private Sub Combo30_Click()
temp = "Speaker"
If rs3.State = adStateOpen Then rs3.Close
rs3.Open "select Serialno from itemdetail where Itemname='" & temp & "' and
Company='" & Combospeaker.Text & "' and Type='" & Combo23.Text & "' and
Range='" & Combo30.Text & "'"
While rs3.EOF = False
Combo46.AddItem rs3(0)
rs3.MoveNext
Wend
End Sub
Private Sub Combo31_Click()
temp = "Monitor"
If rs3.State = adStateOpen Then rs3.Close
rs3.Open "select Serialno from itemdetail where Itemname='" & temp & "' and
Company='" & Combomonitor.Text & "' and Type='" & Combo24.Text & "' and
Range='" & Combo31.Text & "'"
While rs3.EOF = False
Combo47.AddItem rs3(0)
rs3.MoveNext
31
Wend
End Sub
Private Sub Combo34_Click()
temp = "Printer"
If rs3.State = adStateOpen Then rs3.Close
rs3.Open "select Serialno from itemdetail where Itemname='" & temp & "' and
Company='" & Comboprinter.Text & "' and Type='" & Combo34.Text & "'"
While rs3.EOF = False
Combo51.AddItem rs3(0)
rs3.MoveNext
Wend
End Sub
End Sub
32