Product Perspective: XP Button, LV Button and VK Frame
Product Perspective: XP Button, LV Button and VK Frame
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 -
• 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...
1. SYSTEM STUDY AND ANALYSIS
2.1 INTRODUCTION
is a problem solving activity that requires intensive communication between the system
users and system developers. System analysis or study is an important phase of any
system development process. The system is studied to the minutest detail and analyzed.
The system analyst plays the role of the interrogator and dwells deep into the working of
the present system. The system is viewed as a whole and the input to the system are
identified. The outputs from the organizations are traced to the various
identifying the relevant and decisional variables, analyzing and synthesizing the various
action.
A detailed study of the process must be made by various techniques like interviews,
questionnaires etc. The data collected by these sources must be scrutinized to arrive to a
system is called the existing system. Now the existing system is subjected to close study
and problem areas are identified. The designer now functions as a problem solver and
tries to sort out the difficulties that the enterprise faces. The solutions are given as
proposals. The proposal is then weighed with the existing system analytically and the
best one is selected. The proposal is presented to the user for an endorsement by the
user. The proposal is reviewed on user request and suitable changes are made. This is
Preliminary study is the process of gathering and interpreting facts, using the
information for further studies on the system. Preliminary study is problem solving
activity that requires intensive communication between the system users and system
developers. It does various feasibility studies. In these studies a rough figure of the
system activities can be obtained, from which the decision about the strategies to be
Here in the project E-Ticketing, a detailed study of existing system is carried along
with all the steps in system analysis. An idea for creating a better project was carried
the system requested is feasible. Feasibility study is carried out to select the best system
Feasibility study is both necessary and prudent to evaluate the feasibility of the
project at the earliest possible time. It involves preliminary investigation of the project
and examines whether the designed system will be useful to the organization. Months or
years of effort, thousand for millions of money and untold professional embarrassment
Technology is not a constraint to type system development. We have to find out whether
the necessary technology, the proposed equipments have the capacity to hold the data,
which is used in the project, should be checked to carryout this technical feasibility.
The technical feasibility issues usually raised during the feasibility stage of
This software is running in windows 2000 Operating System, which can be easily
installed.
This feasibility test asks if the system will work when it is developed and
installed.
The proposed system produces best results and gives high performance. It can be
organization to implement a new system. Financial benefits must equal or exceed the
costs. The cost of conducting a full system, including software and hardware cost for the
project:
HDD : 40 GB or higher
OS : MS WINDOWS XP SP2
Existing system refers to the system that is being followed till now. The existing system
requires more computational time, more manual calculations, and the complexity involved in Selection
of features is high. The other disadvantages are lack of security of data, Deficiency of Data accuracy,
Time consuming etc. To avoid all these limitations and make the working more accurately the system
needs to be computerized. Here in the Electronic bus ticketing, a detailed study of existing system is
Here in the Electronic bus ticketing, a detailed study of existing system is carried along with all
the steps in system analysis. An idea for creating a better project was carried and the next steps were
followed.
Time consuming.
To avoid all these limitations and make the working more accurately the system needs to be
computerized.
2.5 PROPOSED SYSTEM
proposed system can overcome all the limitations of the existing system. The system provides proper
security and reduces the manual work. The existing system has several disadvantages and many more
difficulties to work well. The proposed system tries to eliminate or reduce these difficulties up to some
extent. The proposed system will help the user to reduce the workload and mental conflict. The
proposed system helps the user to work user friendly and he can easily do his jobs without time
lagging.
The system is very simple in design and to implement. The system requires very
low system resources and the system will work in almost all configurations. It has got following
features
Greater efficiency
Better Service
This would help the corporation prepare and organize its schedules more efficiently on
Another additional feature is that the data in the ticket machine could be fed into the
computer.
3. SYSTEM DESIGN
3.1 INTRODUCTION
System Design is the most creative and challenging phase in the system life
cycle. Design is the first step into the development phase for any engineered product
or system. Design is a creative process. A good design is the key to effective system.
System design is a solution how to approach the creation of a new system. System
The logical flow of a system and define the boundaries of a system. It includes the
following steps:
Reviews the current physical system – its data flows, file content, volumes,
frequencies etc.
Prepares output specifications – that is, determines the format, content and Frequency of
reports.
Prepares input specifications – format, content and most of the input functions.
Prepares a logical design walk through of the information flow, output, input, controls
Physical system produces the working systems by define the design specifications
that tell the programmers exactly what the candidate system must do. It includes the
following steps.
Design physical information flow through the system and a physical design Walk
through.
Devise a test and implementation plan and specify any new hardware/software.
Design/Specification activities
Concept formulation.
Problem understanding.
Feasibility study.
Requirements engineering.
Architectural design.
3.4 INPUT DESIGN
Input Design deals with what data should be given as input, how the data
should be arranged or code, the dialog to guide the operating personnel in providing
input, methods for preparing input validations and steps to follow when error occur.
Input Design is the process of converting a user-oriented description of the input into a
computer-based system. This design is important to avoid errors in the data input
process and show the correct direction to the management for getting correct
screens for the data entry to handle large volume of data. The goal of designing input is
to make data entry easier and to be free from errors. The data entry screen is designed in
such a way that all the data manipulates can be performed. It also provides record
viewing facilities.
When the data is entered it will check for its validity. Data can be entered with the help
of screens. Appropriate messages are provided as when needed so that the user will not
be in maize of instant. Thus the objective of input design is to create an input layout that
is easy to follow.
In this project, the input design consists of a log in screen, tab for compression/
decompression, source and destination browsing button, a menu list for selecting the
A quality output is one, which meets the requirements of the end user and presents the
information clearly. The objective of output design is to convey information about past
intelligible output design should improve the system’s relationship with the user and
helps in decisions making. In output design the emphasis is on displaying the output on
the information requirement and objectives of the end users. The major formation of the
output is to convey the information and so its layout and design need a careful
consideration.
There is an output display screen for showing the compressed/ decompressed file
characters)
3.6 DATA FLOW DIAGRAM
Data flow oriented techniques advocate that the major data items handled by a
system must be first identified and then the processing required on these data items to
produce the desired outputs should be determined. The DFD (also called as bubble
chart) is a simple graphical formalism that can be used to represent a system in terms of
input data to the system, various processing carried out on these data, and the output
generated by the system. It was introduced by De Macro (1978), Gane and Sarson
Computer-shop
Customer Req. management Resp. Customer
System
Update Report
Login
Search criteria Update History
Add
computer
system Add Search
computer Search detail
part
Customer detail
Compter Compter
through which a user can retrieve stored information in an effective and efficient
manner. The data is the purpose of any database and must be protected.
The database design is a two level process. In the first step, user requirements are
gathered together and a database is designed which will meet these requirements as
clearly as possible. This step is called Information Level Design and it is taken
In the second step, this Information level design is transferred into a design for the
specific DBMS that will be used to implement the system in question. This step is called
Physical Level Design, concerned with the characteristics of the specific DBMS that
will be used. A database design runs parallel with the system design. The organization
of the data in the database is aimed to achieve the following two major objectives.
Data Integrity
Data independence
3.8 DATABASE TABLE DESIGN
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
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
6.Employee Table
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
3.9 SOFTWARE DESCRIPTION
Before writing an event procedure for the control to response to a user's input, you have to set certain
properties for the control to determine its appearance and how it will work with the event procedure.
You can set the properties of the controls in the properties window or at runtime.
The text box is the standard control for accepting input from the user as well as to display the output. It
can handle string (text) and numeric data but not images or pictures. String in a text box can be
converted to a numeric data by using the function Val(text). The following example illustrates a simple
Example
In this program, two text boxes are inserted into the form together with a few labels. The two text
boxes are used to accept inputs from the user and one of the labels will be used to display the sum of
two numbers that are entered into the two text boxes. Besides, a command button is also programmed
to calculate the sum of the two numbers using the plus operator. The program use creates a variable
sum to accept the summation of values from text box 1 and text box 2.The procedure to calculate and to
display the output on the label is shown below. The output is shown in Figure 3.2
Label1.Caption = Sum
End Sub
Figure
The Label
The label is a very useful control for Visual Basic, as it is not only used to provide instructions and
guides to the users, it can also be used to display outputs. One of its most important properties is
Caption. Using the syntax label. Caption, it can display text and numeric data . You can change its
caption in the properties window and also at runtime. Please refer to Example 3.1 and Figure 3.1 for
The command button is one of the most important controls as it is used to execute commands. It
displays an illusion that the button is pressed when the user click on it. The most common event
associated with the command button is the Click event, and the syntax for the procedure is
Statements
End Sub
The Picture Box is one of the controls that is used to handle graphics. You can load a picture at design
phase by clicking on the picture item in the properties window and select the picture from the selected
folder. You can also load the picture at runtime using the LoadPicture method. For example, the
statement will load the picture grape.gif into the picture box.
You will learn more about the picture box in future lessons. The image in the picture box is not
resizable.
The Image Box is another control that handles images and pictures. It functions almost identically to
the picture box. However, there is one major difference, the image in an Image Box is stretchable,
which means it can be resized. This feature is not available in the Picture Box. Similar to the Picture
Box, it can also use the LoadPicture method to load the picture. For example, the statement loads the
The function of the List Box is to present a list of items where the user can click and select the items
from the list. In order to add items to the list, we can use the AddItem method. For example, if you
wish to add a number of items to list box 1, you can key in the following statements
Example
List1.AddItem “Lesson1”
List1.AddItem “Lesson2”
List1.AddItem “Lesson3”
List1.AddItem “Lesson4”
End Sub
The items in the list box can be identified by the ListIndex property, the value of the ListIndex for the
first item is 0, the second item has a ListIndex 1, and the second item has a ListIndex 2 and so on
The function of the Combo Box is also to present a list of items where the user can click and select the
items from the list. However, the user needs to click on the small arrowhead on the right of the combo
box to see the items which are presented in a drop-down list. In order to add items to the list, you can
also use the AddItem method. For example, if you wish to add a number of items to Combo box 1,
Example
Combo1.AddItem “Item2”
Combo1.AddItem “Item3”
Combo1.AddItem “Item4”
End Sub
The Check Box control lets the user selects or unselects an option. When the Check Box is checked, its
value is set to 1 and when it is unchecked, the value is set to 0. You can include the statements
Check1.Value=1 to mark the Check Box and Check1.Value=0 to unmark the Check Box, as well as
use them to initiate certain actions. For example, the program will change the background color of the
form to red when the check box is unchecked and it will change to blue when the check box is
checked. You will learn about the conditional statement If….Then….Elesif in later lesson. VbRed and
vbBlue are color constants and BackColor is the background color property of the form.
The Option Box control also lets the user selects one of the choices. However, two or more Option
Boxes must work together because as one of the Option Boxes is selected, the other Option Boxes will
be unselected. In fact, only one Option Box can be selected at one time. When an option box is
selected, its value is set to “True” and when it is unselected; its value is set to “False”. In the following
example, the shape control is placed in the form together with six Option Boxes. When the user clicks
on different option boxes, different shapes will appear. The values of the shape control are 0, 1, and
2,3,4,5 which will make it appear as a rectangle, a square, an oval shape, a rounded rectangle and a
Example
Shape1.Shape = 0
End Sub
Shape1.Shape = 1
End Sub
Shape1.Shape = 2
End Sub
Shape1.Shape = 3
End Sub
Shape1.Shape = 4
End Sub
Shape1.Shape = 5
End Sub
The Drive List Box
The Drive ListBox is for displaying a list of drives available in your computer. When you place this
control into the form and run the program, you will be able to select different drives from your
The Directory List Box is for displaying the list of directories or folders in a selected drive. When you
place this control into the form and run the program, you will be able to select different directories
The File List Box is for displaying the list of files in a selected directory or folder. When you place this
control into the form and run the program, you will be able to shown the list of files in a selected
You can coordinate the Drive List Box, the Directory List Box and the File List Box to search for the
MS ACCESS 2003
Microsoft Access is a powerful program to create and manage your databases. It has many built in
features to assist you in constructing and viewing your information. Access is much more involved and
is a more genuine database application than other programs such as Microsoft Works.
The keywords involved in the process are: Database File, Table, Record, Field, Data-type. Here is the
Database File: This is your main file that encompasses the entire database and that is saved to your
Example: StudentDatabase.mdb
Table:A table is a collection of data about a specific topic. There can be multiple tables in a database.
Field: Fields are the different categories within a Table. Tables usually contain multiple fields.
Datatypes:Datatypes are the properties of each field. A field only has 1 datatype.
Datatype) Text
Two Ways
1. Double click on the Microsoft Access icon on the desktop.
one you had created, choose the More Files option and hit OK. Otherwise choose the
4.1 CODING
Login form
Private Sub Form_Load()
Call connectdatabase
rs.ActiveConnection = con
rs.CursorLocation = adUseClient
rs.CursorType = adOpenDynamic
rs.Source = "select *from usertable"
rs.Open
Frame1.Left = -8000
End Sub
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
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
Main form
End Sub
End Sub
Case 2:
asssembled_Click
Case 3:
bronded_Click
Case 4:
logoff_Click
Case 5:
Exit_Click
End Select
End Sub
Sell computer part
Dim price As Double
Dim temp As String
Dim bool As Boolean
Dim p1, p2 As Double
Dim w1, w2 As Integer
End Sub
End Sub
End Sub
Private Sub Combo37_Click()
Static cdwprice As Double
Static i As Integer
If rs3.State = adStateOpen Then rs3.Close
rs3.Open "select Price from itemdetail where Serialno='" & Combo37.Text & "'"
Text6.Text = rs3(0)
If i = 0 Then
cdwprice = Val(Text6)
price = price + cdwprice
Else
price = price - cdwprice
cdwprice = Val(Text6)
price = price + cdwprice
End If
i=i+1
Text21 = price
Text22 = price * 4 / 100
Text23 = price + Val(Text22)
End Sub
Private Sub Combo38_Click()
Static ramprice As Double
Static i As Integer
If rs3.State = adStateOpen Then rs3.Close
rs3.Open "select Price from itemdetail where Serialno='" & Combo38.Text & "'"
Text7.Text = rs3(0)
If i = 0 Then
ramprice = Val(Text7)
price = price + ramprice
Else
price = price - ramprice
ramprice = Val(Text7)
price = price + ramprice
End If
i=i+1
Text21 = price
Text22 = price * 4 / 100
Text23 = price + Val(Text22)
End Sub
End Sub
End Sub
End Sub
4.2 TESTING
Testing is a process of executing a program with the interest of finding an error. A good
test is one that has high probability of finding the yet undiscovered error. Testing should
minimum amount of efforts. Two classes of inputs are provided to test the process
2. A software configuration that includes a test plan and procedure, any testing
1. Unit Testing
Unit test comprises of a set tests performed by an individual program prior to the
integration of the unit into large system. A program unit is usually the smallest free
functioning part of the whole system. Module unit testing should be as exhaustive as
possible to ensure that each representation handled by each module has been tested. All
the units that makeup the system must be tested independently to ensure that they work
as required.
During unit testing some errors were raised and all of them were rectified and
handled well. The result was quiet satisfactory and it worked well.
2. Integration Testing
while at the same time conducting tests to uncover errors associated with interfacing.
The objective is to take unit tested modules and build a program structure that has been
dictated by design. Bottom-up integration is the traditional strategy used to integrate the
The system was done the integration testing. All the modules were tested for
their compatibility with other modules .They test was almost successful. All the modules
coexisted very well, with almost no bugs. All the modules were encapsulated very well
3. Validation Testing
interfacing errors that have been uncovered and corrected and the final series of
software test; the validation test begins. Steps taken during software design and testing
can greatly improve the probability of successful integration in the larger system.
System testing is actually a series of different tests whose primary purpose is to fully
4. Recovery Testing
It is a system that forces the software to fail in a variety of ways and verifies that
5. Security Testing
It attempts to verify that protection mechanisms built into a system will in fact
protect it from improper penetration. The system’s security must of course be tested
6. Stress Testing
Stress tools are designed to confront programs with abnormal situations. Stress
testing executes a system in a manner that demands resources in abnormal quantity and
volume.
Black box testing is done to find out the following information as shown in
below:
2. Interface errors.
4. Performance error.
5. Termination error.
The mentioned testing is carried out successfully for this application according
After preparing test data, the system under study is tested using the test data.
While testing the system using test data, errors are again uncovered and corrected by
using above testing and corrections are also noted for future use.
APPENDIX
Main form
5.
6.
.
.
Conection to database should be open when we execute any database statment.
I dcrease the size of all text field and labels to correct this error
6. CONCLUSION & FUTURE ENHANCEMENT
The project Computer shop management is completed, satisfying the required design specifications.
The system provides a user-friendly interface. The software is developed with modular approach. All
modules in the system have been tested with valid data and invalid data and everything work
successfully. Thus the system has fulfilled all the objectives identified and is able to replace the
existing system. The constraints are met and overcome successfully. The system is designed as like it
was decided in the design phase. This software has a user-friendly screen that enables the user to use
without any inconvenience. The ticket machines would end the use of the hefty 1.5-kg ticket racks
carried by conductors. Instead, the conductor would just have to key in the details about the fare stage
and the ticket machine would print out the ticket. The machine weighs only 800 grams and is
convenient to carry. The parameters are almost like that of a railway ticket, the only difference being
that the machine is portable. It would also help in providing adequate data to the corporation,
particularly with regard to the boarding of passengers from fare stages and important points. This
would help the corporation prepare and organize its schedules more efficiently on the basis of traffic
demand. Besides, it would provide data on concessions given to various sections. Another additional
feature is that the data in the ticket machine could be fed into the computer.
The application has been tested with live data and has provided a successful result.
BOOKS:
Toronto
ONLINE REFERENCE:
www.w3schools.com
www.theserverside.com
www.visual.com