BCA Project - Visual Basic (VB) Bookshop Management System - PDF Report With Source Code Free..
BCA Project - Visual Basic (VB) Bookshop Management System - PDF Report With Source Code Free..
Contents
A. Problem Definition and Analysis
Preliminary Analysis
Need for change
B. Research Methodology
System Flow chart
DFD
C. Front End
D. Back End
E. System Design
Input Format
Output Format
F. Documentation
User manual
System Requirement
INDEX
1) Preface
1|Page
2) System Analysis
Before developing any new system anywhere, it is imperative upon the developers to
acquaint themselves with environment in which the proposed system would be installed.
Also, it is necessary to interact with the user regarding their demands and the resources
available with them. This gives a clear overview of the improvements wanted and to be
provided. The study and analysis of the proposed system was carried out diligently under the
guidance of experts of the organization. In the existing system, all the work is being carried
out manually. Computers available are just for typing in the excel sheets. Besides him, we
have checked an earlier package being done in FoxPro and the reports created in Excel
sheets for more hints.
The chances of errors in calculation of delivery of Books are more in the current
manual system. The calculation of total collection for day or month or year is
very difficult.
It becomes very difficult to maintain details of every Book as records increases day
by day
2.2 Proposed system
While creating new software we should analyze what is the basic need of the software.
Analysis is nothing but a planning of creation of software to get proper output from it.
Analysis is details study of projects that you want to show in your software solving problems.
The basic need of the software is to save the time of the user with the help of all useful
information. And also to maintain the collection of data in your computer systematically, so
that it’s easy to understand. The proposed system provides lot of facility to the user to store
information of the Books and it provides information in quick time in a systematic manner.
The processing time on the data is very fast. It provides required data quickly to the user
and also in specified manner to the user. All the information of Books changes is given to the
user and also the reports are also generated according to the requirement of the user. Today
it is becoming very difficult to maintain record manually. This software system easily does
the job of maintaining daily records as well as the transaction according to the user
requirements. Some advantages are
Identifying needs is the first step while designing a system and implementation. This is
the way to handle user needs, it must be an outgoing process to know requirements of
customer during whole system development life cycle. During this phase the main things to
be considered are got by placing meetings and questionnaires with customer. Requirements
found during all the stages proposed system development are
Depending on the results of the initial investigation the survey is now expanded to a
more detailed feasibility study. “FEASIBILITYSTUDY” is a test of system proposal according to
its workability, impact of the organization, ability to meet needs and effective use of the
resources. It focuses on these major questions: 1.What are the user’s demonstrable needs
and how does a candidate system meet them? 2. What resources are available for given
candidate system? 3. What are the likely impacts of the candidate system on the
organization? 4. Whether it is worth to solve the problem? During feasibility analysis for this
project, following primary areas of interest are to be considered. Investigation
and generating ideas about a new system does this. Steps in feasibility analysis eight steps
involved in the feasibility analysis are:
Form a project team and appoint a project leader.
Prepare system flowcharts.
Enumerate potential proposed system.
Define and identify characteristics of proposed system.
Determine and evaluate performance and cost effective of each proposed system.
Weight system performance and cost data.
Select the best-proposed system.
Prepare and report final project directive to management.
Feasibility study is the procedure to identify, describe the evaluate candidate system and
select the best possible action for the job. The initial investigation culminated in a proposal
summarized the thinking of the analyst, was presented to the user for review. The proposal
initiated a feasible study to describe and evaluate the best system to choose in terms of
economical, technical and behavioral constraints. The terms constraints involved in
feasibility analysis are-
o Technical
o Economical
o Operational
o Behavioral
2.4.1 Technical Feasibility
A study of resource availability that may affect the ability to achieve an acceptable
system. This evaluation determines whether the technology needed for the
proposed system is available or not.
Can the work for the project be done with current equipment existing
software technology & available personal?
Can the system be upgraded if developed?
If new technology is needed then what can be developed?
This is concerned with specifying equipment and software that will successfully satisfy the
user requirement. The technical needs of the system may include:
Front-end and back-end selection
An important issue for the development of a project is the selection of suitable front-end
and back-end. When we decided to develop the project we went through an extensive study
to determine the most suitable platform that suits the needs of the organization as well as
helps in development of the project. The aspects of our study included the following factors.
Front-End selection
1. It must have a graphical user interface that assists employees that are not from
IT background.
2. Scalability and extensibility.
3. Flexibility.
4. Robustness.
5. According to the organization requirement and the culture.
10 | P a g e
3.2.3 Second Level DFD
Order
11 | P a g e
3.2.4 Third Level DFD
4) Front-End and Back-End
Traditionally programming is essentially linear and is based on the flow of the execution.
Operation runs for fixed span or until they reached a decision Point. At the decision point
the programming branches depending on the point to the program or the status of various
variable of the program. This operation continues till the program is completed. Once the
program execution starts it is impossible to interrupt the activity. The programmer is
responsible for the structure looks and the flow of program. If the programmer wants a good
user interface, he has to explicitly write the long and complex code for the user interface of
the program. In the conventional method the programs are usually written in a top down
manner. This may be done either using the structure programming Approach i.e. by breaking
up the program in to small sections of independent Procedures or function or using a
modular approach i.e. by creating a program from a set of more or less self-contained
function and procedures. Theoretically, this makes a possible to reuse the modules to
be used in other programs. In Practice, there are generally a very few routines that can
be reused without major Reworking. On this data is declared globally, any function or
procedure can Access the data, which might put it at the mercy of any function
or procedure. The likelihood of incorrect data manipulation is high. If data is declared locally
only the procedure in which the data is safer, it is very restricted. In object oriented
programming, a method (the function or procedure of an object) Know what data if can
manipulate them. There is no confusion about who control whom. Declaring object and
enclosing method and their data in a Class achieve this. General procedures the kind use in
structured programming cannot access data with an object without using the object
methods which are designed to manipulate their data. In procedural program, the order of
procedure and control statement determines the program, flow of control. This implies that
the programmer knows the entire flow of the program while he developed it. In program
designed to capture the essence of the dynamic world, this assumption is unrealistic and
cumbersome. Object oriented programming captures these logical relationship in object
Determines the flow of control in objects clarify the communication along the Component of
an application. Object responds to the other objects. Massages move through the system,
not data. Instead of invoking a Function on some data like in conventional programming
method, a message is sent to object. This is the principle of operation in windows, Visual
Basic is Object oriented, i.e. revolves around readymade objects, and it is event driven, All
the activity in program are
Triggered by one event or another. Each object also has its own event
Handling procedures. The Visual Basic system knows all about this already. It knows
what button is and how it work. It also knows how to handle Menus dialogue boxes,
drive and directory list and much else. The
Programmer’s job is to determine where, how and when an object appears on the screen
what it is to do. What is caption reads what colorist would He end what happens, when an
event occurs. The events are trapped by the Execute, when the event occurs. Because the
program code run through event and as such at any point a Whole range of event might be
possible, the program flow is not as fixed as in a Conventional program. Operations do not
have to follow a set if sequence, and Can be easily interrupted, suspended or abandoned.
The processes of program Design reflex the nature of the system. One begins by creating the
screen layout, And work out words from here , adding first the code that will run in response
to Specific events and then any necessary code to co-ordinate the whole program. This
approach of programming is called event driven programming.
Programming terminology
The terminology that is used in Visual Basic programming are:
o Forms
o Controls
o Module
o Project
o Procedures
o Properties
o Methods
o Events
Forms
The form is the basic object used in Visual Basic application development. It is a window,
initially black on which controls are placed to create the screen display. The forms size,
colors type reprogrammable. Code can be attached to the form, which would be executed
when the form is loaded, closed or when the mouse is clicked or moved on the form. A
simple application may use only one form but a complex application may use many form
activated by various controls pasted on the form. Each of the form on the application is
saved in the
Disk as separate file with an extension “Form”
Controls
These are objects which can be pasted on to a form and these Controls range from simple
labels, which are used to display text on the screen on Form, or picture boxes for buttons,
check boxes, list and other menus, to file management utilities and spreadsheet style grids.
Their properties, and event they can handle, very to suit their nature. Each control can have
coed Attached to it, though not all will have. A text label or graphic image, for ex. May be
There simply to improve the display, and not as the start point for any activities.
Module
Code that is attached to form is accessible from anywhere on that Form, but a program
more than one form. In such a case a code attached to a form. In such case a code attached
to a form is not available to the other forms. In this case, the code that is required to be
made available to the other forms is written in a separate module. Modules are code
segments, which are not written inside the scope of any form. They have global scope.
These cannot be made visible during run time. It is like any other program code. There may
be several modules in one program and each is saved as separate file. These
Files have an extension of “BAS”, because these are BASIC code modules.
Procedure
All the code in the visual basic program is written in the forms of procedure, or subroutines.
Most of these procedures will be attached to the event some controls or forms. Some of the
procedures would be separately written inside the modules as global functions. All the
procedures start with keyword Sub and close with the keyword End Sub.
Project
The project is a file in which all the form files (*.frm files) and the modules (*.bas files) that
make up the entire application, is kept. These
Have an extension of “* .Mac”. They are called
Make file thus any
Application will have a “*. vbp”file.
Properties
Each control has a set of predefined properties, method and events that it will respond to.
Properties are simply characteristics of an object or control. They are used to store data
describes some particular attribute of the object such as color, size or the picture present in
a control. The one property that every object must have is the Name property. This is used
to refer to the object must be unique in a project. Visual Basic assign default name to
control when you add them to your form, but you can alter these at design time (and you
should alter them at design time) to make
Your code more descriptive. Note that you can’t change a control’s
Name property at run time, and
These won’t appear in the properties
Window .Properties can be set at design time using the properties window or they can be
set and reference within your Visual Basic code. Properties are reference in the form of
object name. Property and in some respect you can think of them like a variable. You can
assign a value to a property
Just as you assign a value to a variable. Here we assign the text string
“John smith” to text property of the object called Text1:
Text1.text=” john smith”
Just as with variable, properties can also be used as part of other statement: Print your
name is: Text1.text
Methods
Methods are action that can be performing on an object. These are like procedures. They are
written in code in the form object name. Method parameters for e. forms have a move
method that moves them to the procedure specified by the parameter. In this case, the top
left of the form would be move screen coordinates (370,915) asForm1.move 30,915When
you referred to the property or method of an object that resides in a form other than one
form which you are refereeing it , you will need to give it a fully qualified reference. These
means preceding name of the object with the name of the form like this:
FormName.ObjectName.property This sort of reference to an object can be extended in the
case of OLE application to include the name of the project before the name of
The form. If you don’t supply a fully qualified reference,
Visual Basic assumes that you are referring to the project and form in which you are making
the reference.
Events
Events are the key to Visual Basic programming each object in the Visual Basic can
be respond to a predefined set of events. These would-be movement of the mouse,
the pressing of the key on the keyboard or
The lapsing the particular period of time. You can see which events control can respond to
by adding controls to your form and double-clicking it to bring up the code window. The
procedure dropdown list box in the top right corner of the code window contains a list of all
the events that a control can respond to. If you select one of the item in the list box, the first
and last lines of a procedure are added to your code. Thisproce4dure will be triggered
whenever that particular event occurs, so any code that you add to the procedure will be
executed at the sometime. This is how you create Visual Basic code to respond to
user interaction and other events.
Management System) Software. We can use access database to stores almost any information
when purpose of application is to allow voluminous data to be stored in computer and
permit quires to be made to find needed data with the little effort.
Access is powerful database and is for ease with which you can use it. Using
Access you can built relationship between tables that contain different fields to pull
together reports. Our primary navigation tool in access is that database windows tabs on
database window which
Give access to each object contained in the current database it contains tables,
queries, forms, reports, macros, modules etc.
Database
A database is files in which you store data include all the major objects related to the
stored data; including objects you define to automate the use of your data. In other
database systems, the term database used to refer to only those files in which you store
data.
Table
An object you define and use to store data. Each table contains information
about a particular subject, such as customers or orders.
Table contains Fields (or columns) that store different kinds of data, such as a name or an
address, and, Records (or rows) that collect all the information about a particular instance of
the subject.
E.g. All the information about a company
You can define a primary key (one or more fields that have a unique value for each record)
and, one or more indexes on each table to help retrieve your data more quickly.
Query
Query in an object that provides a custom view of data from one or more tables. In Access,
you can use the graphical query by example (QBE) facility or you can write SQL statements to
create your queries. You can define queries to select, update, insert, or delete data. You can
also define queries that create new tables from data in one or more existing tables.
Form
An object designed primarily for data input or display or for control; of application
execution. You use forms to customize the presentation of data that your application
extracts for queries or tables. You can also print forms. You can design a form to run a macro
or a Visual Basic procedure in response to any of a number of events- for example, to run a
procedure when the value of data changes.
Report
An object designed for formatting, calculating, printing, and summarizing selected data. You
can view a report on your screen before you print it.
5) System Design
Code Generation
The design must be translated into a machine readable form. The code generation
steps perform this task.
Testing
The testing process focuses on the logical internals of the software assuring that all
statements have been tested and on the functional externals that is conducting tests to
uncover errors and ensure that defined input will produce actual results that agree with
required.
Maintenance
1 User_Name Text
2 Password Text
1 BookID Number
2 BookName Text
3 ISBN Text
4 Category Number
5 Author Text
6 Price Number
7 SalePrice Number
8 Stock Number
20 | P a g e
3) Cat Table – Book Categories Information
1 Cat_ID Number
2 Cat_Name Text
1 Cust_ID Number
2 Cust_Name Text
3 Cust_Addr Text
4 Cust_No Text
5 CreditAmt Number
6 GenTime Date\Time
21 | P a g e
5) Bills Table – Bills Information
1 Bill_ID Number
2 Customer_ID Number
3 BillDate Date\Time
4 Bill_Details Number
5 Bill_Time Date\Time
6 Total Number
7 TotalDisc Number
8 AmtRecv Number
1 Bill_Details_ID Number
2 Bill_ID Number
3 Book_ID Number
4 Quantity Number
5 Discount Number
6 Cust_ID Number
6) Input / Output Screens
Splash Screen
Login Screen
Main Screen
Sales Operations Screen
New Bill screen
Book Details Screen
Customer Details Screen
Inventory Operations screen
Order Entry
30 | P a g e
Inventory Details Screen
31 | P a g e
Reports
Customer Details Report
Stock Report
7) Documentation
Login Process
Start program and enter user name and password in the boxes and press ok button
Sales Operations
View Existing Bills/Sale Details
o Start the program and login
o Press the Sales Button or Select View\Edit Details from Sales Menu
o Press OK button
Books Operations
o Make Changes
o Press OK Button
Delete Book
o From the Main screen Press Books Button or Select View\Edit
from Books Menu
o Select Book from list which details you want to edit
o Confirm Operation
Add New Book
o From the Main screen Press Books Button or Select View\Edit
from Books Menu
o Enter Details
o Press OK Button
Customers Operations
View Details of Customers
o From the Main screen Press Books Button or Select View\Edit
from Customers Menu
o Select Customer from list which details you want
Edit Details of Customers
o From the Main screen Press Customers Button or Select
View\Edit from Customers Menu
o Select Customer from list which details you want to edit
o Make Changes
o Press OK Button
Delete Customer
o From the Main screen Press Customers Button or Select
View\Edit from Customers Menu
o Select Customer from list which details you want to edit
o Confirm Operation
Add New Customer
o From the Main screen Press Customers Button or Select
View\Edit from Customers Menu
o Select Customer from list which details you want to edit
o Press Add Button at the Bottom
o Enter Details
o Press OK Button
Reports
Stock Report
o From the Main screen Press Reports Button or Select Stock
Report from Reports Menu
o Press Stock Report Button
Sales Report
o From the Main screen Press Reports Button or Select Sales
Report from Reports Menu
o Press Sales Report Button
Customer Details Report
o From the Main screen Press Reports Button or Select Customer
List from Reports Menu
o Press Customer List Button
Books Report
o From the Main screen Press Reports Button or Select Books List
from Reports Menu
o Press Books List Button
Inventory Operations
Order Entry
o From the Main screen Press Inventory Button or Select Order
Entry from Inventory Menu
o Press Order Entry
o Press OK
Adjust Quantity
o From the Main screen Press Inventory Button or Select
Adjust Quantity from Inventory Menu
o Press Adjust Quantity
o Press OK
View All Sold Inventory
o From the Main screen Press Inventory Button or Select Show All
Sold from Inventory Menu
40 | P a g e
8) Future Scope and Limitation
This software has demands in private and public area. This software provides a great
help in managing the data in a well-mannered order. This project is designed specially to
maintain the data in a sequential manner and to save the tome and efforts of database
Administrator. The project is structured according to today’s need.
Due to time constraint it is possible that some points might remain uncovered by us. In
future we will update our software to give valuable information left at present.
Though the system has been designed according to the requirements of the users it has its
own limitation. Thus the limitation of system are-
No facility to create new users with different roles
Object oriented Approach has been not been fully utilized
41 | P a g e
9) References
Books
Websites
Google.com
Freetutes.com
Freevbcode.com