Sie sind auf Seite 1von 61

1

CHAPTER - 1
OBJECTIVE OF THE PROJECT
2

OBJECTIVE OF THE PROJECT:-


This project is made for BookShop System;This software has been developed for
“BOOK SHOP”. They wanted to have a system, which willuse, Add newbook
Search book, About us switch user. l take care of maintenance of us out So they can
get whatever information about their problems they information to citizens presently
their issue . They enter details in manual register.. They want computerization of
their system planning and registration process.

There is no security; anybody can access any report and sensitive data, also no
reports to find out the citizens information registered certificate .This Book shop
system management system is used to overcome the entire problem which they are
facing currently, and making complete of manual billing .
3

CHAPTER - 2
THEORETICAL BACKGROUND
4

THEORETICAL BACKGROUND :-
ABOUT THE FRONT-END VISUAL BASIC

Graphical interface user(GUIs) have revolution the microcomputer industry.


They demonstrate that the proverb “a picture is worth a thousand words” hasn‟t
lost its truth instead of the cryptic „c:> prompt that the DOS users have long seen
(and some have long feared), users are presented with a desktop filled with icon
.This provide a visual image of what the computer has to offer.

Perhaps even more important in the long run then the look of Microsoft Windows
application is spend more time mastering to application and less time worrying
about what key strokes do what within menus and dialogue boxes.

All this comes at a price, through Visual Basic, developing windows


application was much harder than developing application programmers had to
worry about too much such as what the mouse was doing, where the user was
inside the menu or what he or she was clicking or at a given place. Developing
a window application needed expert „c‟ Programmers, and they have
trouble.Visual Basic has changed this situation.

Sophisticated Windows application can now be developed in the fraction of time


previously needed. Programming for windows has become fun (also least most of the
time).And we don‟t have to pay much of a performance penalty
application developed Visual Basic run quickly. This is not so is easy that we can
eliminate c or Assembly language

programming for windows, extending Visual Basic still requires tools that, at
present, are available only in these languages

INTRODUCTION TO VISUAL BASIC:


Microsoft Visual Basic is the quickest and easiest way to create application for the
Microsoft Windows operating system. The Visual Basic programming system allows
the user to create attractive and useful application that fully exploits the Graphical
User Interface(GUIs).

Recognize the action user‟s take events such as mouse movements and
button clicks. Visual Basic also comes with a menu design feature that makes
creating menus a snap.

Only after we design the interface dose anything like traditional


programming occur. Object in Visual Basic will recognize events like mouse click,
5

how the object respond to them depend upon the code we write. We shall always
need to write code in order to make controls responds to events. This makes the
Visual Basic programming fundamentally different from conversion programming.

Programming in conversional programming Language run from top,


down. For lower programming language execution start from the first line and moves
with the flow if the program to different part as needed. A

Visual Basic programming works completely differently. The core of a Visual Basic
is a set of independent pieces of code that respond to event that occur in the
interface.

Using Visual Basic, user can create power full, full featured application
that exploits the key feature of the Microsoft Windows

application, including multiple document interface(MDI), object linking and


embedding (OLE), dynamic data exchange(DDE) Graphics and more. And Visual
Basic can be extended by adding custom control by calling procedure in dynamic
link libraries (DDL). The finished application is a true Exe. file that uses a run time
DDL we can free distrust.

HOW TO DEVELOP A VISUAL BASIC APPLICATION:


The first step in developing a Visual Basic application is to plan what the user
sees-in other, to design the screens Microsoft Windows application live in windows
that share on the user‟s screen, the application has menus, command button, place to
enter text, and so on, the objects are controls in Visual Basic.

What makes Visual Basic different from all other programming


tools for windows is the ease with

Which we can design the screen. We literally draw the user interface,
much like using a paint program in addition, when you are drawing the interface, the
command button, text boxes and other controls we have placed in a blank window
will automatically recognize the action users take-events such as design feature that
makes creating menus a snap.

Only after we design the interface dose anything like traditional programming occur
object in Visual Basic will recognize the events like mouse click, how the objects
respond to them depends upon the code we write. Will always need to write the code
6

in order to make controls responds to events. This make Visual Basic programming
fundamentally different from the conversional programming.

CREATING VISUAL BASIC APPLICATION:


There are three steps to creating application for windows in Visual Basic

1. create the interface


2. set properties
3. write the code
WHAT HAPPENS WHEN THE APPLICATION RUNNING

1. Visual Basic monitors the window and the control in each window can
recognize(mouse movement clicks, key strokes, and so on).

2. When Visual Basic defects an event, it examine the application to see it we have
written an event produce for event.

3. If we have written an event procedure, visual basic executes the code that makes
up the event procedure and goes back to step1.

4. If we have not written an event procedure, visual basic waits for the next events
and goes back to step1.

CONTROLS:
A control is an object that you draw on a from to enable or enhance user interaction
with an application. You add menu control to a form using windows. All other
controls appear the tools box and are placed on a form by double clicking them or by
clicking and then dragging them on a form.

Controls accept user input or display output. controls have properties that
define aspects of their appearance, such as position, size, color and aspects of their
behavior, such as how they respond to user input.

Controls can respond to events initiated by the user or


triggered by the system. For example you procedure that would load a file or
perform a calculate and then display the result.

Frame : provide a functional grouping and container for Other controls.


7

Grid : provide a matrix of spread sheet – typical whose Contents can be


manipulated in code. Grid a custom control supplied with Visual Basic.

Image : display a bit map, icon or metafile as graphic.

Label : display text which user can‟t change.

Line : display itself as a horizontal, vertical or a diagonal line .

List box : display a list from which user can select one or More items.

Menu : display a menu in a form.

Ole control : allow a programmer to create that can display and editing of data from
many different application for example, object created by, draw, graphics, and
spread sheet application can be edited with an application in which it was created.

Picture box : display graph that are drawn with circle line and print method, or that
are loaded from bit map, icon or metafile can also act as a container form.

Other controls ?

Option button as part of a group of option button display multiple choices from
which the user can select only one.

Shape Display itself a variety of shapes including boxes, circles and soon.

Text box Display text the user can edit.

Timer Enable you to run code at a specified time interval.

Horizontal Allow navigation through list or forms also

Scroll can indicate bar position in range.

The open database connectively (ODBC) facility makes the VISUAL BASIC more
powerful. It is user or connects to external database from the VISUAL BASIC. The
ODBC is used to connect to Microsoft SQL and ORACLE database management
system.

DATA ACCESS SOURCE:


8

VISUAL BASIC enables the programmer to manipulate the data and underlying data
structure of many types of database application. For example the programmers can
use Microsoft access to create and manage a database that his VISUAL BASIC can
manipulate. In the same way, he can create database in visual basic that Microsoft
access can manage. Visual basic also provides access to several other popular
database formats. There are three categories of database that visual basic recognizes.

1. Microsoft Access – format database: there database files are manipulated with
visual basic or Microsoft Access. This is the visual basic native format it provide the
most flexibility and speed.

2.External database – this category includes database formats such as Dbase III,
Dbase IV, Microsoft FoxPro, Paradox. The programmer can create or manipulate all
of these database formats in VISUAL BASIC.

3. External ODBC database : this category includes Client / server database such as
Microsoft SQL Server And Oracle database management system. In the case Of
ODBC database, the programmer can pass SQL Commands directly to the external
server for process-ing.

ALTERNATIVES TO VISUAL BASIC DATA OBJECTS:


Data objects are not the only means the programmer use to manipulate data from the
visual basic. He has access to following source:

 Sequentially, Random, and PRINT & PUT allow him to directly manipulate
these types of files.
 Visual Basic SQL Libraries (VBSQL) for Microsoft SQL Server VBSQL
provides a direct link to the C language application programming
interface(API) to DB-library function.
 You can use this API to communicate directly with Microsoft SQL Server.
 ODBC Libraries: It also possible to develop application that calls OBDC API
directly. Although this method is more complex to implement, it provide a
closer link between the application and the ODBC host than using data
objects.
9

ABOUT THE BACK-END VISUAL BASIC


MICROSOFT ACCESS

All the business application need to store a large volume of data organized in a
format that simplifies retrieval. This is accomplished with Data Base Management
System (DBMS) , a machine for manipulating data with high level details , such as
how data are stored in a database , and free the programmer to concentrate files or
managing links over them.

There are several databases like dbase, Oracle, Sybase etc. Amongst small database,
MS ACCESS is more widely used. MS ACCESS which is a powerful window base
Relational Database Management System (RDBMS) that can be used to create and
maintain small database.

Index and Primary Key:-


Index is used to maintain the order of records. They are used uniquely identify
records. Primary key is gently a number or an ID or number i.e. unique for unique
records. That meets the primary key value cannot be repeated in the table. MS
ACCESS maintains the records in primary key order.

Relationship:-
Most of the time we would not pull the information in the table. More fields
and information in a table, more difficult to with. So the information is divided into
different table and then these tables are linked. Relationship helps the deletion,
updating and insertion.

Types of relationship :-
There are basically there types or relation

1. One to one 2. One to Many 3. Many to many.


10

CHAPTER - 3

PROBLEM DEFINITION
11

PROBLEM DEFINITION :-

Before a project can begin, there has to be a reason why it should take place.

You have to define the problem that the system is meant to be overcome.

This phase is called the 'Problem definition phase'.

Some formal effort is made to define exactly what is the problem.

For example the following statements may appear in the Problem Definition.

...The existing system cannot transfer data to the new invoice system ...

...Staff have to spend three hours loading information...

... New legislation insist that financial records are kept for this department ...

And so on.

Methods of defining a problem :-

Interview employees about their issues with the current system


Analysing the total costs of the current system
Key external factors that may point towards developing a new system.
Performance of the existing system.

Once the problem definition stage is over, then if the decision is to carry on with the
project the next phase is the 'Feasibility Study'.
12

CHAPTER - 4

SYSTEM ANALYSIS AND DESIGN


13

SYSTEM ANALYSIS:-
A System is a set or arrangement of functionally dependent component of working
together to attain a predefined goal by processing information. It is the processes of
examine of a business situation with the intent of improving it through better
procedure and method. It is the process of gathering and method. It is process of
gathering and interpreting facts.

Timing problems and using the information to recommend improvement to the


system. Analysis is used gain an understanding of the conclusion of the system there
is a system description and as set of requirement for a new system. It there is on
existing system , then the analysis only define the requirement. The steps , which
follow ,will propose a new system that meets this requirements.

The new system may be built or by changing the existing system. Development being
defining a model of new system and continues by converting this model to a system in
short analysis specifies what the system should do.

Analysis Objective :-
An efficient system analysis always plays the role of strong foundation for
development of any proposed system. Information play key role , as the horizon of
knowledge keep on expending , since this project is anaphor to convert the manual in
to computer based system . a though knowledge of the day-to-day function of the
present system .

System Analysis And Design :-


An information system is a subsystem of the business . System analysis and design is
concerned with analysis , design and implementation of a computer –based
information system . System Analysis and design can be defined as follows

System Analysis :-
System Analysis is the process of understanding the working of current system by
gathering and analyzing facts and procedure and suggesting the possible change to
improve the system.
14

System Designing :-
System Analysis is the process of designing, developing and implementing the
proposed new system as per the requirements obtained during analysis of the current
system.

Thus system analysis specifies “what” the proposed system will do and system design
specifies “how” it will do.

System Development Life Cycle :


Software development for business applications is not as easy task. Whether a system
is small or large, software development revolves around a life cycle that begins with
the recognition of users need and understanding their problems .such a life cycle
comprising various phases is called System Development Life Cycle(SDLC).

Phases Of SDLC:-
Software development begins with the recognition of users needs followed by a
sequence of activities are performed step by step. The basic activities or phases ,that
are performed for developing a software are :-

1. Feasibility Analysis.
2. System Analysis and Project.
3. System Design.
4. Development of software.
5. Implementation.
6. Maintenance.

Waterfall Model :-
Many models have been proposed by the software experts for development of a
software . The simplest of these is the waterfall Model . This Model states that the
various phases of SDLC are organized in linear order. Thus each phases start only on
completion of the previous phase. So it is called the Water-fall model.

Feasibility Analysis :-
Feasibility analysis is the first phase in the development of a new system. This phase
starts when the user faces a problem in the current system and hence recognizes a
need for improving an information system .

There may be many more reasons due to which users either want to develop new
system or improve the existing system.
15

System Analysis And Project Planning :-


When the system analyst decides that the requested system is feasible and the
management agrees to continue the development process, SDLC enters into its next
phase determination of system requirement . This phase includes studying of existing
system in detail and collecting data in order to find out the requirements of the
requirements of the users .this phase is also called requirement Analysis .

System Design :-
After successful completion of system analysis and planning, the system designed. In
system design phase, first the system is broken down into different modules and then
its each module is designed.

Development Of Software :-
When the design is accepted by the requested department, the analyst begins
developing the software using a programming language. This is the phase, when the
programming plays their role in development of system.

System Testing :-
Testing is the most vital phase of SDLC. In this phase, System as a whole is tested
with different techniques to ensure that the software is bug free.

Implementation :-
After testing, the system is installed at the user‟s place and implemented.
Implementation is the most crucial phase of SDLC. After implementation, the users
are trained for operating and maintaining the system.

Maintenance :-
After implementation, the system needs to be maintained in order to adapt to the
changing business needs. Maintenance is sometimes not considered as a phase of
SDLC, but it is essential part of software project that never ends.

System Design :-
After successful completion of system analysis and planning, the system designed. In
system design phase, first the system is broken down into different modules and then
its each module is designed.
16

Feasibility Study :-
The Basic purpose of feasibility study is to determine whether the whole process of
system analysis leading to computerization would be worth the effort for the
organization . The feasibility study result in the preparation of a report called the
feasibility study or survey report . Which is submitted of the management for the
consideration. It contains the following details:-

 A proposed solution to the problem including alternate solution.


 Rough estimate on the cost/benefits analysis if the solution is implemented.
 Approximate time, effort and cost estimate for completion of the project.

Technical Feasibility:-
This is concerned with specifying equipment and software that will successfully
satisfy the user requirements. The technical need of the system may very considerably
but might include:-

 The facility to produce in a given time.


 Response time under certain condition.
 Ability to process a certain volume transaction at particular speed.
 Facility to communicate data to distance location.

Operational Feasibility :-
It is mainly related to human organizational and political aspects . The points to be
considered are :-

 What change will be brought with system ?


 What organization structure will get effected ?
 What new skill will be required ? Do the existing staff member have these skill
? If not , can they be trained in due course of time .

Economic Feasibility :-
Concerns returns from investment in a project . It determines whether it is worthwhile
to invest the money in the proposed or whether something else should be done with it.
17

SYSTEM DESIGN:-

DATA – DICTIONARY
TABLE- BOOK
18

CHAPTER - 5

METHODOLOGY ADOPTED
19

METHODOLOGY ADOPTED:-
Project management in the modern sense began in the early 1950s, driven by
businesses that realised the benefits of organising work around projects, and the
critical need to communicate and co-ordinate work across departments and
professions.

Project management is no small task. It has a definite beginning and end, and is not a
continuous process. Project management uses various tools to measure progress and
track project tasks. Projects need ad-hoc resources, as opposed to businesses that have
dedicated full-time positions.

Project management methodologies consist of four to five process groups, and a


control system. Regardless of the methodology or terminology used, project
management uses the same basic processes. Process groups typically include:

1. Initiation
2. Planning and Design
3. Execution
4. Monitoring and Controlling
5. Closing

1. Initiation
All projects start with an idea for a product, service, or other desirable outcome. The
initiation process group determines the nature and scope of the project. If this stage is
not performed well, it is unlikely the project will be successful in meeting the
businesses needs. The key project controls needed, are an understanding of the
business environment and making sure all necessary controls are incorporated into the
project. Any deficiencies should be reported and a recommendation made to fix them.

The first project document is the project charter, which includes:

 Business case
 Scope and deliverables
 Objectives
 Resources needed
 Milestone plan and timeline
20

 Cost estimate
 Risks and issues
 Dependencies

The charter answers the basic question, "What are we trying to do?"

2.Planning and Design


After initiation, the project is planned to an appropriate level of detail. The main
purpose is to plan time, cost and resources adequately to estimate the work needed
and to manage risk effectively during project execution. This is recorded in the project
management plan. As with the initiation process group, a failure to plan adequately
lessens the project's chances of success.

Project planning includes:

 Developing the scope statement


 Developing the schedule (Gantt chart)
 Developing the budget.
 Selecting the team
 Creating a work breakdown structure
 Identifying deliverables
 Risk planning
 Communication planning

This information forms the project contract, used to gain formal approval to begin
work.

3.Execution
Execution consists of the processes used to complete the work defined in the project
management plan, to accomplish the project's objectives. The execution process
involves co-ordinating people and resources, as well as integrating and performing the
activities of the project. The deliverables are produced as outputs from the processes
performed as defined in the project management plan.
21

4.Monitoring and Controlling


The monitoring and controlling process group involves managing and tracking the
project, so potential problems can be identified quickly and corrective action taken.
To do this the project management plan is used. Monitoring and controlling includes:

 Measuring the ongoing project activities (where are we, against where we
should be?)
 Monitoring the project variables (cost, effort, scope) against the project
management plan and the project baseline (where should we be?)
 Identifying corrective actions to address risks and issues (how can we get back
on track?)
 Managing changes using our change control process (what is the impact of this
change?)
 The monitoring and controlling process group ends once the project has
achieved its goals and objectives as detailed in the project contract. A project
may be stopped before completion for various reasons, including changes in the
business, lack of resources or higher priorities.

5.Closing
Project closing is an important part of project management, sometimes overlooked. A
project that is not closed will continue to consume resources.

Closing a project means finishing all activities across all process groups, splitting up
the project team, and signing off the project with the customer.

At this point it is important to know how well the project has performed. This is done
using the project closure report. It communicates how well the project has performed
against its original business case, quality measures, cost, duration and tolerances.

Rather than leave valuable project experiences locked in peoples heads, it's a good
idea to complete and publish a lessons learned report. This is used to pass on valuable
learning that can be applied to future projects
22

6. Project Control
Project control is that part of a project that keeps it on-track, on-time and within
budget. Project control begins early in the project with planning, and ends late in the
project with post-implementation review.

Projects should be assessed for the right level of control needed: too much control is
time-consuming, too little control is risky. If project control is not carried out
correctly, the cost to the business should be clarified in terms of errors, fixes and
added costs.

Typical elements of project control are:

 Overall business strategy


 Standards for new systems
 Project management policies
 Change management
 Quality control
23

CHAPTER- 6
SYSTEM IMPLEMENATION
24

SYSTEM IMPLEMENATION :-

Implementation includes all those activities that take place to convert from the old
system to the newe system.The new system may be totally new,replacing an existing
system.Proper implementation is essential to provide a reliable system to meet the
organization requirements.Successful implementation may not guarantee any
improvement in the organization using the new system.

The implementation phase includes the following tasks:

 Careful planning.

 Investigation of the system and constraints.

 Design of methods to achive the change over phase.

 Training of staff in the change over phase.

 Evaluation of change over.

The method of implementation and time scale to be adapted is found out


initially.Next,the system is tested properly and at the same time the users were
trained in the new environment.In coaching centre Management System
implementation process is successfully .We implement the systen by satisfying
all the aspects of the user. All the procedure are designed to minimise the users
resistance to change and make a attitude for full utilization of the system.
25

CHAPTER-7
HARDWARE AND SOFTWARE
ANALYSIS
26

Hardware Requirements:
Name of Components Specification

Microprocessor - Inter Dual Core or anove.

Hard disk - Min 500GB/1 TB for operating System & program to


Setup properly.

Memory - 2 GB RAM

Display - CGA/VGA or higher.

Keyboard - 84/109 Keys use.

Mouse - Any Standard Mouse.

Printer - Any Laser printer.

SOFTWARE REQUIREMENT:

Operating System - MS Windowes 7 or Higher

RDBMS - MS Access 2007

GUI Tool - Visual Basic 6.0


27

CHAPTER - 8

SYSTEM MAINTENANCE AND

EVALUATION
28

SYSTEM MAINTENANCE:-
Maintenance is necessary to eliminate errors in the working system during its working
life and to tune the system to any variations in its working environment. Often small
system deficiencies are found, as a system is brought into operation and changes are
made to remove

them. System planners must always plan for resource availability to carry out these
maintenance functions. The importance of maintenance is to continue to bring the new
system to standards.

Like any system, there is an ageing process in software that requires periodic
maintenance of hardware and software. If the new information is inconsistent with
design specification.

Hardware also requires periodic maintenance to be in tune with design specifications.

SYSTEM EVALUATION :-
During system testing, the system is used experimentally to ensure that the software
does not fail. In other words, we can say that, it will run according to its specifications
and in the way user expects. Special test data are inputs for processing, and the results
examined. A limited number of users may be allowed to use the system, So those,
analyst can see whether to use it in unforeseen ways. It is desirable to discover any
surprises before the organization implements the system andepends on it.
Implementation is the process of having systems personnel check out and put new
equipment into use, train users, install the new application and construct any files of
data needed to use it. This phase is less creative than system design. Depending on the
size of the organization that will be involved in using the application and the risk
involved in its use, system developers may choose to test the Operation in only one
area of the firm with only one or two persons. Sometimes, they will run both old and
new system in parallel way to compare the results.

Evaluation of the system is performed to identify its strength and weaknesses. The
actual evaluation can occur along any one of the following dimensions:
29

Operational Evaluation :-
Assessment of the manner in which the system functions.

Organizational Impact :-
Identification and measurement of benefits to the organization in such areas as financial
concerns, Operational efficiency and competitive impact.

User Manager Asses :-


Evaluation of the attitudes of senior manager and user within the organization, as well as
end users.
30

CHAPTER - 9

COST AND BENEFIT ANALYSIS


31

COST AND BENEFIT ANALYSIS:-


Cost/benefit analysis is performed to ascertain, whether the costs in the system match
with the benefits it will provide. The various kinds of costs incurred in the
development and implementation of the system include:

 Hardware Costs incurred in purchase of hardware, i.e. computer and its


peripherals.

 Personnel Costs include the salaries of the EDP staff, as well as the perks of
personnel involved in the development of the system.

 Facility Costs include expenses incurred in the preparation of the physical site.
This includes flooring, wiring, lighting, etc.

 Operating costs include all costs associated with the day to day operations of
the system.

 Supply costs include variable costs that increase with increased use of paper,
ribbon, disks, etc.

The system is also expected to provide benefits. The first task is to identify each
benefit and then assign a monetary value to it for cost/benefit analysis. Benefits may
be tangible or intangible, fixed or variable, direct or indirect. Since cost plays quite an
important role in deciding the new system, it must be identified and estimated
properly. Costs vary by type and consist of various distinct elements. Benefits are also
of different types and can be grouped on the basis of advantages they provide to the
management .The benefits of a project include four type.

a) Cost-Saving benefits.
b) Cost-avoidance benefits.
c) Improved-service-level benefit.
d) Improved-information benefits.

Cost-Saving benefits lead to reduction in administrative and operational costs. A


reduction in the size of the clerical, staff used in the support of an administrative
activity is an example of a cost saving benefit.
32

Cost-avoidance benefits are those, which eliminate future administrating and


operational costs. No need to hire additional staff in future to handle an administrative
activity is an example of cost-avoidance benefit. Improved-service-level benefits are
those, where the performance of a system is improved by a new computer-based
method.

Improved-information-benefit is where computer based methods lead to better


information for decision-making. For example, a system that reports the most-
improved fifty customers as measured by an increase in sales is an improved-
information. This information makes it easier to provide better service to major
customers.

CATEGORIES OF COSTS AND BENEFITS :-


The costs associated with the system are expenses, outlays or losses arising from
development and using a system. But the benefits are the advantages received from
installing and using this system.

Costs and Benefits can be classified as follows:

a. Tangible or intangible.
b. Fixed or variable.
c. Direct or indirect.
TANGIBLE OR INTANGIBLE :-
Tangibility refers to the ease with which costs or benefits can be measured. An outlay
of cash for any specific item or activity is referred to as a tangible cost. Costs that are
known to exist but their financial value cannot be exactly measured, are referred to as
an intangible costs.

DIRECT OR INDIRECT COSTS AND BENEFIT :-


Direct costs are those which are directly associated with a system. They are applied
directly to the operator. Indirect costs are not directly associated with a specific
activity In the system. They are often referred to as overhead expenses.

FIXED OR VARIABLE COSTS AND BENEFITS :-


Fixed costs are considered as sunk costs. Once encountered .They will not recur. Variable
are incurred on a regular basis.
33

CHAPTER – 10
DATABASE DESGIN
34

The Database Contains Following Tables

1. Books Table:
Field Name Date Type Size
Book Name Text 20
Author Text 20
Price Text 20
Edition Text 20
Publisher Text 20
Category Text 20
No Of Copies Number Integer
Store Location Text 20

2. Customer Table:

Field Name Data Type Size


Customer Id Text 20
Customer Name Text 20
Address Text 20
Contact No. Number Integer

3. Supplier Table:

Field Name Data Type Size


Supplier Id Text 20
Supplier Name Text 20
Address Text 20
Contact No. Number Integer
Email Id Text 20
Publication Text 20

4. Sales Table:
Field Name Data Type Size
Sale Id Text 20
Customer Id Text 20
Date Date Time
Amount to Pay Number Integer
Amount Paid Number Integer
Balance Number Integer
35

5. Sales-Record Table:

Field Name Data Type Size


Sale Id Text 20
No of Copies Number Integer
Price Number Integer
Discount Number Integer
Amount to Pay Number Integer

6. Purchase Table:
Field Name Data Type Size
Purchase Id Text 20
Supplier Id Text 20
Purchase Note No. Text 20
Date Date Time
Amount to Pay Number Integer
Amount Paid Number Integer
Balance Number Integer

7. Purchase-Record Table:

Field Name Data Type Size


Purchase Id Text 20
No of Copies Number Integer
Price Number Integer
Amount to Pay Number Integer
36

CHAPTER - 11

ENTITY RELATIONSHIP DIAGRAM


37

ENTITY RELATIONSHIP DIAGRAM :-

This ER (Entity Relationship) Diagram represents the model of Book Shop


Management System Entity. The entity-relationship diagram of Book Shop
Management System shows all the visual instrument of database tables and the
relations between Receipts, Inventory, Books, Publications etc. It used structure data
and to define the relationships between structured data groups of Book Shop
Management System functionalities. The main entities of the Book Shop
Management System are Books, Receipts, Sales, Inventory, Stocks and Publications.
38

ER Diagram :-

Customer name Amount to pay


Customer Id

No of Copies Pric
e
Contact CUSTOMER
Address SALES -RECORD
no

Discount Sales Id
Type

Has
Participat
Buys
e In
Amount to pay Balance

Author
Book name
SALES Amount
Price
paid
BOOKS Publisher Sales id
Edition
Date
Customer
No of id
Category Copies

Amount to pay
Purchase Id
Supplies
Amount paid

Supplier Id
publication Balance PURCHASE

Supplier Id
Date
Address

Email Id
SUPPLIER Has
Participate
Contact in
Purchase Id
no
Price
Supplier
name
PURCHASE- RECORD

Amount to pay No of Copies


39

CHAPTER - 12

DATA FLOW DIAGRAM


40

DATA FLOW DIAGRAM :-


Bookshop management Data flow diagram is often used as a preliminary step to
create an overview of the Book Store without going into great detail, which can later
be elaborated.it normally consists of overall application dataflow and processes of
the Book Store process. It contains all of the user flow and their entities such all the
flow of Book, Customer, Order, Order Update, Bills, Book Stocks, Delivery. All of
the below diagrams have been used for the visualization of data processing and
structured design of the Book Store process and working flow.

Sales Sales DB

Customer DB
Customer

BOOK SHOP Book DB


Book
MANAGEMENT

Supplier DB
Supplier

Purchase Purchase DB
41

CHAPTER - 13

INPUT/OUTPUTSCREEN DESIGN
42

System Design :-
System Designing is a most challenging Task. System design refers to the technical
specification applied for Implementing the system design involves.

INPUT/OUTPUT FILE AND PROCESSING DESIGN:-


The Firststep for designing is to determine in what formal outputs are presented.

The Second step is to collect input data and design the database file to meet the
requirement of the proposed outputs.

The processing phase is developed through program construction and testing


including a list of programs and explaining a global picture of the entire
system.Lastly, we can say that system design is the detail study of various operations
performed by the system inside and outside and also their relationships.
43

LOGIN FORM :-
44

FORM HOME :-
45

FORM: ADD NEW BOOK :-


46

FORM : SEARCH FOR BOOK


47

CHAPTER – 14
CODING
48

CODING:-
FORM : LOGIN
Option Explicit

Public LoginSucceeded As Boolean

Private Sub cmdCancel_Click()

'set the global var to false

'to denote a failed login

LoginSucceeded = False

Me.Hide

Form1.Show

End Sub

Private Sub cmdOK_Click()

'check for correct password

If (txtUserName = "pooja" And txtPassword = "jain") Or (txtUserName =


"himanshu" And txtPassword = "prasad") Or (txtUserName = "amit" And
txtPassword = "dhanuka") Or (txtUserName = "abhro" And txtPassword =
"mondol") Or (txtUserName = "joydeep" And txtPassword = "das") Or
(txtUserName = "abhi" And txtPassword = "mahata") Or (txtUseName = "abhishek"
And txtPassword = "yadav") Then

'place code to here to pass the

'success to the calling sub

'setting a global var is the easiest

LoginSucceeded = True

Me.Hide

main.Show

Else
49

MsgBox "Invalid Username/Password, try again!", , "Login"

txtUserName.SetFocus

txtUserName.Text = ""

txtPassword.Text = ""

End If

End Sub

Private Sub Command1_Click()

frmAbout.Show

End Sub

Private Sub Form Load()

Timer1.Enabled = True

End Sub

Private Sub Timer1_Timer()

Label1.Caption = Date

Label2.Caption = Time

End Sub
50

FORM : HOME
Private Sub Command1_Click()

main. Hide

frmaddnew.Show

End Sub

Private Sub Command2_Click()

main. Hide

search. Show

End Sub

Private Sub Command3_Click()

Dim msgAs Integer

msg = MsgBox(" Are You Sure...... If U want to Quit then Press Yes Else No.",
vbCritical + vbYesNo, "Warning!!!")

If msg = vbYes Then

Me.Hide

Form1.Show

End If

End Sub

Private Sub Command4_Click()

Me.Hide

Form4.Show

End Sub
51

Private Sub Command5_Click()

Me.Hide

frmLogin.Show

frmLogin.txtUserName.SetFocus

frmLogin.txtUserName.Text = ""

frmLogin.txtPassword.Text = ""

End Sub

FORM : SEARCH FOR BOOK


m column.

'Dim asAsADODB.Recordset

Set as = Adodc1.Recordset

If assort<>DataGrid1.Columns(ColIndex).DataField& " ASC" Then

' Sort in ascending order; this block is executed if the

' data isn't sorted, is sorted on a different field,

' or is sorted in descending order.

rs.Sort = DataGrid1.Columns(ColIndex).DataField& " ASC"

Else

' Sort in descending order.

assort = DataGrid1.Columns(ColIndex).DataField& " DESC"

End If

' No need to refresh the contents of the Data Grid.

End Sub

Private Sub Form Load()


52

search.Hide

frmLogin.Show

Option1.Value = True

DataGrid1.DefColWidth = 3500

On Error Resume Next

Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:\BookShopAutoSoft\Books.mdb;Persist Security Info=False"

Adodc1.RecordSource = "select * From TableB"

Set DataGrid1.DataSource = Adodc1

End Sub

Private Sub datagrid1_MouseDown(Button As Integer, Shift As Integer, X As


Single, Y As Single)

ConstvbRightButton = 2

If Button AndvbRightButton Then

Call Me.PopupMenu(mnuMenu)

End If

End Sub

Private Sub mnuAdd_Click()

Me.Hide

frmaddnew.Show

End Sub
53

Private Sub mnuBill_Click()

Me.Hide

Form2.Show

With DataGrid1

Form2.Text2.Text = .Columns(0).Text

Form2.Text3.Text = .Columns(5).Text

Form2.Text4.Text = .Columns(3).Text

End With

End Sub

Private Sub mnuDelete_Click()

Dim setuju As String

Set as = Adodc1.Recordset

setuju = MsgBox("Record will be delete?", vbYesNo, "Confirmation")

If setuju = vbYes Then

rs.Delete

MsgBox ("1 record deleted!")

End If

End

Private Sub Text1_Change()

Set rs = Adodc1.Recordset

'Title

If Option1 = True Then

With rs

.Close

.Source = "select * from TableB where TITLE like '%" & Text1.Text & "%'"
54

.Open

End With

DataGrid1.ReBind

End If

'Author

If Option2 = True Then

With rs

.Close

.Source = "select * from TableB where AUTHOR like '%" & Text1.Text & "%'"

.Open

End With

DataGrid1.ReBind

End If

'Category

If Option3 = True Then

With rs

.Close

.Source = "select * from TableB where CATEGORY like '%" & Text1.Text & "%'"

.Open

End With

DataGrid1.ReBind

End If

End Sub
55

CHAPTER - 15

ADVANTAGES OF THE

PROPOSED SYSTEM
56

ADVANTAGES OF THE PROPOSED SYSTEM :-

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 .

• Security of data.

• Ensure data accuracy‟s.

• Proper control of the higher officials.

• Reduce the damages of the machines.

• Minimize manual data entry.

• Minimum time needed for the various processing.

• Greater efficiency.

• Better service.

• User friendliness and interactive.

• Minimum time required.


57

CHAPTER – 16
CONCLUSION
58

CONCLUION

This bookshop automation system is an attempt to overcome the present inefficient and time-
consuming process of locating, reserving and purchasing quality

Reading materials available in the store. Currently, clients have to go through a time-consuming
process to perform aforementioned tasks which cause waste of labor and firms resources.
Through our automated book store solution, we provide an easy way of searching, reserving and
purchasing of books.

User data are validated and checked for authenticity with the data stored in the system
database.All the newly coined processes will address time consuming, ineffective and inefficient
areas of the existing system which has being wasting a lot of firm‟s resources such as, labor,
electricity, equipment, products and services, while discouraging customers to make purchases
and repelling clients from the book store.

Proposed system will support both clients and the store in many areas. It‟s worth analyzing and
identifying the benefits as it would directly influence the productivity of the store.

Customer satisfaction plays the most vital role in any form of product and service rendering stores
the existence of any firm solely depends on its customer-base. Therefore, every system should
facilitate the customer satisfaction up to a certain extent which is feasible from the company
perspective.

The aforementioned facts ensure customer satisfaction to a greater extent benefiting the store in:

 Retaining current customers.

 Tempting current customers to attract their friends to the store.

 Attracting new customers.

 Enhancing the customer faith on the firm due to secure transaction techniques while
temping customers to make more online purchases.

 Identifying profitable customers.

 Identifying different categories of customers.

 Making necessary alterations and plans to address broader range of customers.

 Identifying key areas of the inventory which need to be maintained at a healthy stock limit.
59

 Analyzing trends to make more effective management decisions andDevelopment of new


strategies to increase profit.

 These particulars will make sure the broadening the customer base of the store which will
have good impact on the sales and revenue of the store.

 Employee satisfaction also plays an influential role in healthy revenue levels of a firm. Due
to the proposed system, employees will have to handle minimum amount of workload than
that of the existing system which will help the employees to provide optimal service to the
firm while maintaining healthy physical and mental levels.
60

CHAPTER - 17
REFERENCE
61

REFERENCE:-

For the completion of this project I referred to the following goods


1. Data Base Programming with Visual Basic 6.0
By Curtis L.Smith & Michael C.Amundsel
2. Using Visual Basic 6.0
By Brian Silver & Jeff Spott
3.Mastering Visual Basic
By My Microsoft
4.Mastering Visual Basic
By BPB Publication
5. Introduction to VB programming
By Julia Case Bradley Anita C.Millspaugh

Das könnte Ihnen auch gefallen