Shikha (Repaired)
-
Upload
bhatiaharryjassi -
Category
Documents
-
view
222 -
download
0
Transcript of Shikha (Repaired)
-
8/10/2019 Shikha (Repaired)
1/95
PROJECT REPORT
ON
L ibrary Management System
Submitted to: Submitted by:
-
8/10/2019 Shikha (Repaired)
2/95
-
8/10/2019 Shikha (Repaired)
3/95
CERTIFIC TE
This is to certify that hassatisfactorily completed the project work entitled:
LIBERARY MANAGEMENT SYSTEM
in partial fulfillment of examination by PTU.
The work has been carried out by the student himself and has not been submitted anywhere elsefor the award of any other course.
(Project Guide)
-
8/10/2019 Shikha (Repaired)
4/95
c k n o w l e d g m e n t s
It is easy to highlight those persons who are actively involve in development of any project but itis hard to bring to highlight those persons who have given their best in the making of project
indirectly, thats why they have acquired a special corner in our hearts and it is a Herculean task
to foot the bill of their precious support and encouragement and they will win laurels for theirgenerous help because we were unable to come with flying color without their support.
Very first, I would like to thank trend me for this level of project. She taught
how the system should be designed? She gave me some personal skills to understand any system,
and to make the project adoptable. She taught me the standards, which provide a professional
look-n-feel to any package. Her Skill of analyzing any problem is quite different but effectiveenough. She gave pretty best approaches for making this attractive project.
, who opt me for her trust and direction which made a royal for me to prove me.e encouraged me to make this level of project so that I can make my identity. She was the only
one who envisaged for such a system that can make feel better relief in examination to benefit
both by the faculties and students. All this attributed him for a key personality.
Contribution of is really remarkable who have given their allkind of help to make this project at its best output. What ever result are being gain from this
project were helpless without their guideline and support. The success of this project cant be
imagine in the absence of their precious suggestions.
-
8/10/2019 Shikha (Repaired)
5/95
INTRODUCTION
OF
PROJECT
-
8/10/2019 Shikha (Repaired)
6/95
INTRODUCTION
Now a day every field wants a computerized system for the better performances of their work.The computerized system, all the information will be carried out in the same way as the manual
system but so many aspects.
The manual system is time consuming because of less work efficiency in comparison to machine
and also it need much paper work that is a big problem and there may be possibilities of errors.
The computer system proposed is beneficial more powerful, hang accuracy and speed and it
remove the problem related with manual system.
The main of LIBRARY INFORMATION SYSTEM is as follows:
1. Information of members.
2.
Information of books.
3. Information of issuing detail.
4. Elimination of manual labor.
.
-
8/10/2019 Shikha (Repaired)
7/95
PROJECT
REQUIREMENT
-
8/10/2019 Shikha (Repaired)
8/95
PROJECT REQUIREMENT
Category : - LIBERARY MANAGEMENT SYSTEM
Tools/ Platform :-
Language Software: - RDBMS and Visual Basic
Front End : - Microsoft Visual Basic 6.0
Back End : - Microsoft Access
Hardware : - Pentium or Equivalent Processor,
32MB or above RAM, 2GB or above
Hard Disk, VGA/SVGA Monitor.
Operating System : - Windows XP Service Pack 2
-
8/10/2019 Shikha (Repaired)
9/95
RATIONALS
CURRENT SYSTEM:-
Now a days, in IT era after computerizing the system, the accuracy, efficiency and record
increase tremendously and access of data information will become easier and quicker. By
computerizing the manual system, we have thought of reducing and solving the problem of
manual system which are as following:
1. Managing through manual process is time taking, a lengthy / difficult process.
2. It dose not provide the facility of fine calculation.
3.
Maintenance of book issuing detail is difficult.4. In this way, we can save the time & man power.
PRESENT SYSTEM:-
In present system we are trying to reduce drawback of current system. The drawback of
time consolation could rectify in our present system, which will make our system more time
efficient. Secondary being computerizing our system will have much speed accuracy as
compared to system. Our all data and information will be stored on secondary storage
device, which are not perishable as compared to paper stationary resulting less out
expenditure on stationary items. In our present the process are carried out automatically.
It avoid or reduce human action ant thus save labors.
CANDIDATE SYSTEM:-
With the help of GUI we will reduce the handling problems of current system and made it
easy in use, using database system we will make a project, which will be feasible in all
respect. It increase efficiency and speed in operation in our project it make a easy
separation & accounting the dues and gives the reports of all object like members, books
etc.
-
8/10/2019 Shikha (Repaired)
10/95
OBJECTIVE
1.
To convert existing manual system in to computerized.2. To add the facilities of automatic fine calculation.
3. To make possible reports on various object based.
4. To develop such system through which access of information become easy for
voting.
-
8/10/2019 Shikha (Repaired)
11/95
REQUIREMENT ANALYSIS
AN OVERVIEW TO SYSTEM ANALYSIS
The system analysis phase is considered to be one of the most important phases in the systemdevelopment life cycle. It is immensely important that the software developer make throughstudy of the existing system, through study of the system is made and need i.e. features that are
critical to system success and users wants are brought out.
The study will enable the developer to know the intricacies of the existing system.
Requirement analysis is done in order to understand the problem which the S/W system is to
solve e.g., the problem could be automating the existing manual system or developing a
completely new automated system or a combination of the two. For large systems having a large
number of features and the need to perform many different task. The emphasis in requirementanalysis is on identifying what is needed from the system, and not how the system achieves its
goal.The system analysis can be divided into three major steps They are as follows:
1.Identification of Needs (Customers requirement)
2.Preliminary investigation
3.Feasibility Study(i) Technical Feasibility
(ii)Economical Feasibility
(iii) Operational Feasibility
1.
PROBLEM DEFINITION):-
In the present scenario we use the manual voting system at most of the places which has the
following problem:-
1. Show working procedure.
2. More and more papers need more space.
3. Files management is typical.
4.
Chances of errors in calculation
Therefore we want to create such powerful software which not only computerized the present
library management system -
But also should be so handy and easy that can be handled and operated easily without anyproblem.
-
8/10/2019 Shikha (Repaired)
12/95
2. Preliminary investigation:-As there is a likely to be a stream of user requests, standard
procedure must be established to deal with them. The preliminary investigation is one way to
handle this. The objective is to determine whether the request is valid and feasible before a
recommendation is reached to do nothing, improve or modify the existing system or build a new
one. For eliciting information regarding users requirements various approaches can be followed
likeasking, getting information from the existing system and prototyping. Here existing
system is examined in the light of current problems faced by the staff and candidates and found
unsatisfactory, and new system has to be put as soon as possible to cope up with current
situation. So, all the requests of the user is gathered and put in a file.
3. Feasible study:-Feasibility study is a test of system proposal according to its work ability,
impact on the organization, ability to meet user needs, and effective use of resources. This study
is carried out to select the best system that meets performance requirements. This entails
identification, description, and evaluation of candidate systems and selection of the best system
for the job. As discussed above, it is must to install new system which is capable to cope up with
current situation. So, it after studying all the feasibility and current demand of the organization
the system proposed is found feasible to built.
Economic feasibility:-Feasibility analysis is the most frequently used method for evaluating the
effectiveness of a candidate system. More commonly known as cost / benefit analysis, the
procedure is to determine the benefits and savings that are expected of a candidate system and
compare them with costs. If benefits outweigh costs, then the decision is made to design and
implement the system. Otherwise further justification or alterations in the proposed system will
have to be made if it is to have a chance of being approved.
-
8/10/2019 Shikha (Repaired)
13/95
Technical Feasibility:-Technical feasibility centers around the existing computer system
(hardware, software etc) and to what extent it can support the proposed addition. For eg.if the
current computer is operating at 80% capacityan arbitrary ceilingthen running another
application could overload the system or require additional hardware. This involves financial
considerations to accommodate technical enhancements. If the budget is a serious constraint, the
candidate system is considered not feasible.
Operational Feasibility:-It is common knowledge that computer installations have something
to do with turnover, transfers, retraining and changes in employee job status. People are
inherently resistant to change, and computers have been known to facilitate change. An estimate
should be made of how strong a reaction the user staff is likely to have toward the development
of a computerized system.
-
8/10/2019 Shikha (Repaired)
14/95
REQUIREMENT COLLECTION AND ANALYSIS
Interviewing Personnel:-The S/w is being developed basically for use of personnel dept. So
discussions were made with the persons of the dept. To extract out the exact requirement.
Observing The Current System:-The current system is manual and is worth observing the
current system. It helped a lot in designing the Computerized System.
Studying similar Project on Business Managing:-The developer went to study development of
various database management system. The other software were studied.
-
8/10/2019 Shikha (Repaired)
15/95
SOFTWARE ENGINEERING PARADIGM APPLIED
To solve actual problems in a industry setting, a software engineer (or the team) must incorporatea development strategy that encompasses the process, methods and tools. This strategy is often
referred to as a process model, which is chosen based on the nature of the project and
application, the methods and tools to be used, and the controls and deliverables that are required.For Hospital Staff I have chosen an INCREMENTAL MODEL that combines elements of thelinear sequential model with the iterative philosophy of prototyping. In an incremental mode, the
first increment is often a core product. That is, basic requirements are addresses, but many
supplementary features(some known, others unknown) remain undelivered. The core product isused by the candidate (undergoes detailed review). This review helps in the formation of a plant
and addresses the modification of core product to better meet the needs of customer and the
delivery of additional features and functionality. The process is repeated following delivery of
each delivery of each increment, until the complete product is produced.
( i ) ER DIAGRAM
Entity Relationship diagram is a technique for analysis and logical modeling of a systems data
requirement. It uses three basic units, their attributes and the relationships that exist between the
entities. It uses a graphical notation for representing these.
PROPERTI ES OF A GOOD ER DIAGRAM:-
1. A good E-R- diagram has always 1:M relationship2. If some entities always have 1:1 relationship, then it is better to put one entity as an
attribute of other.
3. break all the M:M relationship into two equivalent 1:M relationships by intorducing an
additional entity.
( ii ) AN OVERVIEW OF SYSTEM DESIGN
System design involves first the logical design and then the physical design construction of thesystem. When a system analyst formulates the logical design, s/he writes the detailed
specification for the new system; he describes its features, the outputs, the inputs, files and
databases and procedure. The statements of these features are termed as the design specification.
Physical construction, the activities following the logical design, produces program softwaredesign specification instructs programmer about what the system do. The programmers that
accept data from the users, process data, produce the reports and store data.
One the basis of the system analysis, the system is designed to follow the top down approach,function requirements, modular design, modular design, data dictionary and input/output formatare carefully analyzed and designed so that it is easy to understand the whole system by going
through the design of the system.
Modular approach is taken into consideration such that is minimum coupling and maximumcohesion. If we want to change the module there may be hardly any effect on the other
module/modules are broken up to atomic level so that the program level becomes simple.
-
8/10/2019 Shikha (Repaired)
16/95
The system design involves the following three phases:-1. Design of input
2. Design of output
3. Design of database
( iii ) DESIGN OF INPUT
Input design if the process of converting user originated inputs to a computer based format. The
goal of designing the input data is to make the data entry as easy, logical and free from errors aspossible. Inaccurate input data are the most common cause of errors in data processing. Errors
entered by the data entry operator can be controlled by input design. In entering data the
operators need to know the following:
The allocated space for each quantity/item.
Field sequence, which must match that in the source document.
The format in which the data field are entered for e.g. the data may be ofdifferent formats but the user might be required to enter it only in one format.
So, it is essential for him to know the exact format in which he should enter
data so that later on wrong results re not obtained after processing the data.
The LIBRARY MANAGEMENT SYSTEM has input screen designed during VB 6.0. The
forms and the reports are extremely user friendly and the major features of the screen are listedbelow:
Appropriate hints are provided on the field level in each form, whichfacilitates the data entry operator when he/she is using the form for data
entry.
Lists of values are provided adequately as and when required, for theconvenience of the user.
For each of the options, data entry is facilitated through the use of single screen.These in turns
make the data entry less cumbersome and less confusing for data entry operator.
( IV) DESIGN OF OUTPUT
Output is the most important and direct source of information to the user. Efficient, intelligible
output design should improve the systems relationship with the user and helps in decision
making. A form of output is a hard copy from the printer and can also be displayed on the
terminal.
(V) DESIGN OF DATABASE
Design of database may be considered as the backbone of the candidate system. How well and
efficiently the system is able to retrieve data, process it and put it back depends on how well the
database has been structured and organized. This section and the following subsection throw
-
8/10/2019 Shikha (Repaired)
17/95
light on how the database has been structured and organized and how the database has been
designed for the candidate system.
(VI) NORMALIZATION
Normalization is a process, which ensures that data in the database are not unnecessarilyduplicated. It also ensures that addition and deletion of entity rows (or tuples) or change ofindividual attribute values do not lead to accidental loss of data or error in database. It is
performed by first converting a relation so that all entities are simple. These results in a relation
said to be in First Normal Form (1NF). Successive normalization steps such as 2NF, 3NF,BCNF, 4NF, 5NF are carried out to meet the objectives.
1. 1NF:-In 1nf composite attribute is converted to individual attribute. After doing this the
common attributes for a composite attribute are duplicated as many times as there are lines in thecomposite attribute. This form is also called a flat file. The tables here are free from 1NF.
2. 2NF:- A relation is said to be in 2NF if it is in 1NF and non-key attributes arefunctionally dependent on the key attribute(s). Further if the key has more than one attribute
then no non key attributes should be functionally dependant upon a part of the key attributes.
The tables in the given system are in 2NF.
3. 3NF:- A third normal form normalization will be needed where all attributes in a relation
tuple are not functionally dependent only on the key attribute. If two non key attributes are
functionally dependent on each other then there will be unnecessary duplication of data.
BCNF(Boyce-codd normal form):- Assume that relation has more than one possible key.
Assume further that the composite keys have a common attribute. If an attribute of a composite
key is dependent on an attribute of the other composite key normalization called BCNF isneeded.
4NF & 5NF(Fourth and fifth normal form):- When attributes in a relation have multivalued dependency then 4Nf and 5NF normalization are required.
-
8/10/2019 Shikha (Repaired)
18/95
-
8/10/2019 Shikha (Repaired)
19/95
Got it starts by developing ROM based interpreted BASIC for the early micro processor based
computer. In 1982 Microsoft quick basic revolutionized basic a legit lionized as the serious
development language for MS-DOS environment. Later On Microsoft Corporation create
The enhance version of basic called visual basic for window.
The proposed automated payroll system is developed in visual basic 6.0 version and for data baseMS ACCESS is used as back end. The system is designed and developed to suit requirement ofmedium size of payroll system.
ADVANTAGES OF ACCESS :-
More Reliable than other RDBMS.
Easy to use and learn.
Data security is high.
Updating database.
Support ODBC , ADO data programming objects.
Disadvantages of Manual System:-
The manual system required more time for processing.
The processing is very lengthy.
It require more clerical work.
The manual system is more error prone.
Manual system is costly.
Immediate response to the quires is difficulty and time consuming.
It is not possible to create quick report.
Mathematical calculation done manfully.
No authentication measures.
-
8/10/2019 Shikha (Repaired)
20/95
Standard EXE:-
A standard EXE project is a typical application most of the application in this language art
standard EXE project.
Active X EXE, Active DLL:-
Active X components are basic code-building components thats do not have a visible interfaceand that can add special functionality to your application.
Active X Control:-
Active X control such as a TextBox or command button control is a basic element of the userinterface .if the Active X control ,that come with visual basic do not provide the functionality
you need, you can build your own custom controls .
Active X Document EXE,Active X Document DLL That can run in the environmentsof acontainer that supports hyperlinking.
VB Application Wizard,VB Wizard Manager:-The application wizard takes you through the stenos of setting up the skelton of a new
application.
Data Project:-It is identical to the Standard EXE project type ,but it automatically adds the controls that are
used in accessing databases to the toolbox.
DHTM Application:-VB6 allows you to build dunamic HTML page that can be displayed in the browsers window on
a client computer .Instead of showing you how to use VBs tool to automate the process of
designing DHTML pages.
HS Application:-
VB6 allows you to build applications that run on the web server and interact wuth client over the
internet with the internet information server.
VB Enterprise Edition Controls:-
It simply creates a new standard EXE project and load all the tools of the enterprise edition ofVB.
Project Explorer:-
The window totled project explorer ,which display the components of the project .The projectwindow is called project explorer causes it has the look of the window explorer.
Properties Window:-
The property window contains the property of setting for the selected control properties are
attributes of an object ,such as its size caption and color . you can adjust the appearance of thecontrols and the form with point and click operations.
-
8/10/2019 Shikha (Repaired)
21/95
Form Designer:-
The form designer is the main window in the middle of the screen ,and in it you design and editthe applications user interface .The same windows display a test editor in which you can enter
and edit the applications code.
Form Layout:-You use the form layout window ,which is in the lower right corner of the VB IDL , todetermine the initial positions of the forms in your application.you can move forms around and
place them on too of each other.
Immediate Window:-The immediate window ,the bottom of the IDE is a debugging while an application is running
you can stop it and use the immediate window to examine of change of value of the application
variable and to execute VB commands in immediate mode.
THE MENU BAR
The menu bar contains the commands you need work with Visual Basic. The basics menu are------
File:-
The contains the commands for opening and saving projects and creating executable files and listof recent projects.
Edit:-Edit contains the editing commands (e.g.-Undo, Copy, Paste) plus a number of commands for
formatting and editing your code (e.g Find, Replace).
View:-View contains commands for showing of hinding components of the IDE.
Project:-Project contains commands thar add componenrs to current project, references to windows and
new tools to the toolbax.
Format:-Format contains commands for aligning the control on the form.
Debug:-Debug contains the usual debugging commands.
Query:-Query contains commands that simplify the design of structures Query Language(SQL).
-
8/10/2019 Shikha (Repaired)
22/95
Diagram:-
Diagram contains commands for efiting database diagrams.
Run:-Run contains commands that start, break an execution of the current application.
Tools:-
Tools contains the tools you need in building Active X components and Active controls; containsthe commands to start the Menu Editor and the otions commands, which lets the customize the
environment.
Window:-Windows is the standard Windows menu of an application that contains commands ti arrange on
the screen.
Help:-Help contains formation to help you as you work.
THE ELEMENT USE IN THE INFORMATION:-
The toolbax of the visual IDE and lets quickie run through controls shown in the Toolbax.
Label:-
The Label text appears to be placed directly on the form. You set the labels text with the captionproperty.
TextBox:The Textbox control is a mini text editor, and its most important property is the text property,
which can set the text on the control or read the text that the user enters.
Frame:-
This control is used to draw boxes on the form and to group other elements.
Command Button:-Command buttons representdan action that is carried out when the user click the button.
Option Button:-
The Option Buttons main property is checked,a nd it is True if the control is checked, and Falseotherwise.
-
8/10/2019 Shikha (Repaired)
23/95
Combo Box:-
It contains an Edit fields. The user can choose an item from the list oriented a new string in theEdit field. The item selected from the list(or entered in the Edit field.)
List Box:-List box control can contains many lines and the user can scroll the list to locate an item. Theselected item in a list box control is given by the text property.
Shape:-This control is used to draw graphical element such as boxes and circles, on the surface of a
form.
MSFlex Grid Control:-The MSFlex Grid Control is an extremely used tool for displaying information in a tabular form,
but not for data entry.
VISUAL BASIC PROGRAMMING
1. Work completely differently
The core of a visual basic programmed is a set of independent pieces of code (more
maintainable) that are activated by, and respond to only the events they have been told recognize.
2.
Fundamental shift
Instead of designing a program to do what a programmer thinks should happen, the user is incontrol (modeless programming).
3. Event procedures
Much of the programming code in visual basic that tells your program how to respond to events
like mouse
Clicks occur in what visual basic calls events procedures.Essentially, everything executable in visual basic program is either
in event procedures.Or is used by event procedures to help the
procedures to carry out its job.
-
8/10/2019 Shikha (Repaired)
24/95
WHY WE CHOOSE VISUAL BASICAS AS A FRONT END TOOL
Visual Basic is not just a language. Its an IDE in which you can develop run, test and
debug your application.
The working environment in Visual Basic is often referred to as the integrateddevelopment environment or IDE because it integrated many different functions such asdesign, editing, compiling and debugging within a common environment.
Visual Basic provides a great deal of flexibility, allowing user of configure the workingenvironment to best suit your application.
User can choose between a single or multiple document interface and user can adjust the
size and positioning various integrated development environment element.
Data access features allows users to created database front end application and scalableserver side component for most popular database formats, including Microsoft SQLserver and other database.
-
8/10/2019 Shikha (Repaired)
25/95
INTRODUCTION TO MS-ACCESS
It is a coherent of data with some inherent meaning. Design cast and populated with data for aspecific purpose. A data base stores data that is useful to us. This data is only part of the entiredata available in the world around us.
To be able to successfully design and maintain database we have to do the following:-
Identify which part of the world data is of interest to us.
Identify what specific objects in that part of world data are of interests to us.
Identify a relationship between the object.
Hence, the objects, their tributes and the relationship between them that are to us are stored in
database that is designed, build and populated data for a specific purpose.
MS Access is developed by Microsoft according to above consideration. MS Access a powerfultool of MS Office which allow user to create database and also have ability to maintain a
database.
-
8/10/2019 Shikha (Repaired)
26/95
WHY WE CHOOSE MS-ACCESS AS A BACK END TOOL?
Microsoft access is a powerful relation data base management (RDBMS), because it canestablish between two or more data base and table very easily.
Microsoft access is a user friendly-program, Microsoft access can be used to store large
amount of data for examples students records, employmentsrecords, and inventory records etc.
MS-Access helps to create database table, enter new records, delete desired records,
relation between its table and get the print very easily. In MS-Access we can create reports and
mailing labels on based of data base table.
-
8/10/2019 Shikha (Repaired)
27/95
-
8/10/2019 Shikha (Repaired)
28/95
STRUCTURE OF VB APPLICATION
.FRM
.FRX
.BAS
.CLS
.OCX
Project file Application.RES . VBP .EXE
Package Structure
1.
FromModule
Binary
Data
Standard
Module
Class
Module
Custom
Module
Resource
File
From1.frm
From2.frm
Mod1.basClass1.cls
Res1.res
-
8/10/2019 Shikha (Repaired)
29/95
2.
Book Detail
Add Book Delete Book
Issue Detail
Record
Book Detail
Delete Member
Member
Detail
Add New Member
Issue Detail
Report
Member Detail
-
8/10/2019 Shikha (Repaired)
30/95
SYSTEM FLOW CHART
-
8/10/2019 Shikha (Repaired)
31/95
SYSTEM FLOW CHART
MEMBER MENU
FLOWCHART
START
Click on member
menu on main form.
x
Login FormNo EXIT
O
K
LIBRARY
MANAGEMENT SYSTEM
DISPLAY ALL FORMS
OUTPUT
EXIT
-
8/10/2019 Shikha (Repaired)
32/95
3 1
2
1. Detail
2. Add
3. Del
Display
BackDisplays
delete
member
Displayy
-
8/10/2019 Shikha (Repaired)
33/95
yes
no
Wantto
add?
X
INPUTDETAILS
FOR
MEMBER
Display main
form
Add
-
8/10/2019 Shikha (Repaired)
34/95
yes
no
Wantto
delete
y
Enter record
ofMember to
be deleted
Display main
form
Delete
DisplayDelete
Member
Form
-
8/10/2019 Shikha (Repaired)
35/95
ADD CADIDATE
FLOWCHART
No
Yes
No
Yes
Start
Display Record
Accept Information
If
Add
If
Save
Exit
Record File
-
8/10/2019 Shikha (Repaired)
36/95
DELETE CANDIDATE
FLOWCHART
No
Yes
No
Yes
Start
Display Record
Accept record to be deleted
If
Delete
If
Save
Exit
Record File
-
8/10/2019 Shikha (Repaired)
37/95
SEARCHING FLOWCHART
No No
Yes Yes
Yes
Start
Display Record
by Member ID no.
Display
Record
If by
Member ID
no.
If By
Member
Name
Exit
-
8/10/2019 Shikha (Repaired)
38/95
LIBRARY FLOWCHART
Start
Display Massage
For New Member
Accept New Member
Exit
Data Processing
Display All Member
list
-
8/10/2019 Shikha (Repaired)
39/95
Start
Accept Code
ExitCall Application
If
Valid
-
8/10/2019 Shikha (Repaired)
40/95
ENTITY RELATIONSHIP DIAGRAM
-
8/10/2019 Shikha (Repaired)
41/95
ENTITY RELATION DIAGRAM
DATA FLOW DIAGRAM
BOOK
ISSUE &
RETURN
MEMBER
BOOK
STOCK PUBLISH
ER
CODE AUTHOR
BOOK
NAME RACK
NO.
MEMBER
CODE
MEMBER
FEES
RENEWL
DATE
MEMBER
NAME
ADDRESS
-
8/10/2019 Shikha (Repaired)
42/95
Data entryProgram
LibraryTransaction
LibraryProgram
Report
TRANSACTION
-
8/10/2019 Shikha (Repaired)
43/95
DATA FLOW DIAGRAM
Is book
already
Issued
or not
Collect
Data
Library
Program
REPORT
Report Add
Members
MEMBER
ISSUE
DATABASE
-
8/10/2019 Shikha (Repaired)
44/95
request to
issue book Yes/No
Book issued
Y/N
Is book
Available/ not
Y/
N
Update
MEMBER
CODE
LIBRARY
MEMBER
NAME
BOOK
DATABASE
LIBRARY
-
8/10/2019 Shikha (Repaired)
45/95
REPORT
ADDRESS
MEMBER
FEES
RENEWEL
DATE
BOOK CODE
BOOK NAME
AUTHER
PUBLISHER
RECK NO.
-
8/10/2019 Shikha (Repaired)
46/95
-
8/10/2019 Shikha (Repaired)
47/95
-
8/10/2019 Shikha (Repaired)
48/95
ENTRANCE FORM
-
8/10/2019 Shikha (Repaired)
49/95
LOGIN FORM
-
8/10/2019 Shikha (Repaired)
50/95
WELCOME FORM
-
8/10/2019 Shikha (Repaired)
51/95
INTRODUCTORY FORM
USER PLATFORM
-
8/10/2019 Shikha (Repaired)
52/95
-
8/10/2019 Shikha (Repaired)
53/95
LIBRARAY MANAGEMENT
ABOUT PROGRAMER
-
8/10/2019 Shikha (Repaired)
54/95
BOOK DETAILS
-
8/10/2019 Shikha (Repaired)
55/95
MEMBER DETAILS
-
8/10/2019 Shikha (Repaired)
56/95
ADD MEMBER FORM
-
8/10/2019 Shikha (Repaired)
57/95
CONGRATULATIONS
-
8/10/2019 Shikha (Repaired)
58/95
DELETE MEMBER FORM
-
8/10/2019 Shikha (Repaired)
59/95
ADD BOOK FORM
-
8/10/2019 Shikha (Repaired)
60/95
BOOK DELETION FORM
-
8/10/2019 Shikha (Repaired)
61/95
ISSUE DETAIL FORM
-
8/10/2019 Shikha (Repaired)
62/95
ISSUE BOOK
-
8/10/2019 Shikha (Repaired)
63/95
-
8/10/2019 Shikha (Repaired)
64/95
FORM 1
Private Sub Command1_Click()
Form7.Hide
-
8/10/2019 Shikha (Repaired)
65/95
Form10.Show
End Sub
Private Sub Start_Click()
Login.Show
Form7.Hide
End Sub
FORM 2
Private Sub Command1_Click()
Form11.Show
Form8.Hide
End Sub
FORM 3
Private Sub Command1_Click()
Form10.HideForm11.Show
End Sub
Private Sub Command2_Click()
Form10.Hide
Form12.Show
End Sub
Private Sub Command3_Click()
Form10.Hide
Form7.Show
End Sub
-
8/10/2019 Shikha (Repaired)
66/95
FORM 4
Private Sub Command2_Click()
Form11.Hide
frmSplash.Show
End Sub
FORM 5
Private Sub Command1_Click()
Form12.HideForm8.Show
End Sub
FORM 6
Private Sub Command1_Click()
Form1.Hide
Form2.Show
Form2.Text1.Text = ""
Form2.Text2.Text = ""
Form2.Text3.Text = ""
Form2.Text4.Text = ""
Form2.Text5.Text = ""
End Sub
Private Sub Command2_Click()
Form1.Hide
Form3.Show
Form3.Text1.Text = ""
-
8/10/2019 Shikha (Repaired)
67/95
Form3.Text2.Text = ""
Form3.Text3.Text = ""
Form3.Text4.Text = ""
Form3.Text5.Text = ""
Form3.Text6.Text = ""
End Sub
Private Sub Command3_Click()
Form1.Hide
Form4.Show
Form4.Data1.RecordSource = "select * from Issue_mast"
Form4.Data1.Refresh
Form4.Text1.Text = ""
Form4.Text2.Text = ""
Form4.Text3.Text = ""
Form4.Text5.Text = ""
Form4.Text6.Text = ""
Form4.Text7.Text = ""
Form4.Text8.Text = ""Form4.Text1.SetFocus
End Sub
Private Sub Command4_Click()
d = InputBox("Enter the member code to delete the record", "Delete")
Data3.RecordSource = "select * from issue_mast where mem_code='" + d + "'"
Data3.Refresh
Do While Not Data3.Recordset.EOF
c = c + 1
Data3.Recordset.MoveNext
Loop
If c 0 Then
-
8/10/2019 Shikha (Repaired)
68/95
MsgBox "The member has not returned the book", vbInformation, "Library"
Data3.Recordset.Close
Else
Data1.RecordSource = "select * from mem_mast"
Data1.Refresh
Form1.Hide
Form5.Show
End If
End Sub
Private Sub Command5_Click()
r = InputBox("Enter your member code", "Book Return")
Data3.RecordSource = "select * from issue_mast where mem_code='" + r + "'"
Data3.Refresh
qty = Data3.Recordset.Fields(6)
Data3.Recordset.Delete
Data3.Recordset.Close
Data3.RecordSource = "select * from issue_mast"
Data3.Refreshb = InputBox("Enter your book code", "Book Return")
Data2.RecordSource = "select * from book_mast where book_code='" + b + "'"
Data2.Refresh
Data2.Recordset.Edit
s = Data2.Recordset.Fields(4)
cs = s + qty
Data2.Recordset.Fields(4) = cs
Data2.Recordset.Update
Data2.Recordset.Close
End Sub
Private Sub Command6_Click()
-
8/10/2019 Shikha (Repaired)
69/95
d = InputBox("Enter the book code to delete the book", "Delete")
Data3.RecordSource = "select * from issue_mast where book_code='" + d + "'"
Data3.Refresh
Do While Not Data3.Recordset.EOF
c = c + 1
Data3.Recordset.MoveNext
Loop
If c 0 Then
MsgBox "Don't Delete, we have issued this book", vbInformation, "Library"
Data3.Recordset.Close
Else
Data2.RecordSource = "select * from book_mast"
Data2.Refresh
Form1.Hide
Form6.Show
End If
End Sub
Private Sub Command7_Click()Form7.Show
Form1.Hide
End Sub
Private Sub Command8_Click()
Form1.Hide
Form7.Show
End Sub
Private Sub Form_Load()
If SSTab1.Tab = 0 Then
Data1.RecordSource = "select * from mem_mast"
-
8/10/2019 Shikha (Repaired)
70/95
Data1.Refresh
Command1.Visible = True
Command2.Visible = False
Command3.Visible = False
Command4.Visible = True
Command5.Visible = False
Command6.Visible = False
End If
If SSTab1.Tab = 1 Then
Data2.RecordSource = "select * from Book_mast"
Data2.Refresh
Command1.Visible = False
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = True
End If
If SSTab1.Tab = 2 ThenData3.RecordSource = "select * from Issue_mast"
Data3.Refresh
Command1.Visible = False
Command2.Visible = False
Command3.Visible = True
Command4.Visible = False
Command5.Visible = True
Command6.Visible = False
End If
End Sub
Private Sub SSTab1_Click(PreviousTab As Integer)
-
8/10/2019 Shikha (Repaired)
71/95
If SSTab1.Tab = 0 Then
Data1.RecordSource = "select * from Mem_mast"
Data1.Refresh
Command1.Visible = True
Command2.Visible = False
Command3.Visible = False
Command4.Visible = True
Command5.Visible = False
Command6.Visible = False
ElseIf SSTab1.Tab = 1 Then
Data2.RecordSource = "select * from Book_mast"
Data2.Refresh
Command1.Visible = False
Command2.Visible = True
Command3.Visible = False
Command4.Visible = False
Command5.Visible = False
Command6.Visible = True
ElseIf SSTab1.Tab = 2 ThenData3.RecordSource = "select * from Issue_mast"
Data3.Refresh
Command1.Visible = False
Command2.Visible = False
Command3.Visible = True
Command4.Visible = False
Command5.Visible = True
Command6.Visible = False
End If
End Sub
-
8/10/2019 Shikha (Repaired)
72/95
FORM 7
Private Sub Command1_Click()
Data1.RecordSource = "select * from mem_mast"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset.Fields(0) = Text1.Text
Data1.Recordset.Fields(1) = Text2.Text
Data1.Recordset.Fields(2) = Text3.Text
Data1.Recordset.Fields(3) = CInt(Text4.Text)
Data1.Recordset.Fields(4) = CDate(Text5.Text)
Data1.Recordset.Update
Data1.Recordset.Close
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Form9.ShowForm2.Hide
End Sub
Private Sub Command2_Click()
Form1.Data1.RecordSource = "select * from mem_mast"
Form1.Data1.Refresh
Form2.Hide
Form1.Show
End Sub
Private Sub Text1_LostFocus()
On Error GoTo errorhandle
-
8/10/2019 Shikha (Repaired)
73/95
Data1.RecordSource = "select * from mem_mast where mem_code='" + Text1.Text + "'"
Data1.Refresh
Do While Not Data1.Recordset.EOF
c = c + 1
Data1.Recordset.MoveNext
Loop
If c 0 Then
MsgBox "Duplicate Code", vbExclamation, "Duplicate"
Text1.Text = " "
Text1.SetFocus
Else
Text2.SetFocus
End If
Exit Sub
errorhandle:
MsgBox "Error occurred!Wrong Member Code", vbInformation, "Error"
End
End Sub
Private Sub Text4_GotFocus()
Text4.Text = "500"
End Sub
FORM 8
Private Sub Command1_Click()
Data1.RecordSource = "select * from book_mast"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset.Fields(0) = Text1.Text
-
8/10/2019 Shikha (Repaired)
74/95
Data1.Recordset.Fields(1) = Text2.Text
Data1.Recordset.Fields(2) = Text3.Text
Data1.Recordset.Fields(3) = Text4.Text
Data1.Recordset.Fields(4) = CInt(Text5.Text)
Data1.Recordset.Fields(5) = CInt(Text6.Text)
Data1.Recordset.Update
Data1.Recordset.Close
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
End Sub
Private Sub Command2_Click()
Form1.Data2.RecordSource = "select * from book_mast"
Form1.Data2.Refresh
Form3.HideForm1.Show
End Sub
Private Sub Text1_LostFocus()
On Error GoTo errorhandle
Data1.RecordSource = "select * from book_mast where book_code='" + Text1.Text + "'"
Data1.Refresh
Do While Not Data1.Recordset.EOF
c = c + 1
Data1.Recordset.MoveNext
Loop
If c 0 Then
-
8/10/2019 Shikha (Repaired)
75/95
MsgBox "Duplicate Code", vbExclamation, "Duplicate"
Text1.Text = " "
Text1.SetFocus
Else
Text2.SetFocus
End If
Exit Sub
errorhandle:
MsgBox "Error occurred!Wrong Book Code", vbInformation, "Error"
End
End Sub
FORM 9
Private Sub Command1_Click()Data1.RecordSource = "select * from issue_mast"
Data1.Refresh
Data1.Recordset.AddNew
Data1.Recordset.Fields(0) = Text1.Text
Data1.Recordset.Fields(1) = Text2.Text
Data1.Recordset.Fields(2) = Text3.Text
Data1.Recordset.Fields(3) = Text4.Text
Data1.Recordset.Fields(4) = CDate(Text5.Text)
Data1.Recordset.Fields(5) = CDate(Text6.Text)
Data1.Recordset.Fields(6) = CInt(Text7.Text)
Data1.Recordset.Update
Data1.Recordset.Close
-
8/10/2019 Shikha (Repaired)
76/95
Form1.Data2.RecordSource = "select * from book_mast where book_code='" + Text3.Text
+ "'"
Form1.Data2.Refresh
Form1.Data2.Recordset.Edit
Form4.Text8.Text = Form1.Data2.Recordset.Fields(4)
Text8.Text = Val(Text8.Text) - Val(Text7.Text)
Form1.Data2.Recordset.Fields(4) = Val(Text8.Text)
Form1.Data2.Recordset.Update
Form1.Data2.Recordset.Close
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
End Sub
Private Sub Command2_Click()Form1.Data3.RecordSource = "select * from issue_mast"
Form1.Data3.Refresh
Form4.Hide
Form1.Show
End Sub
Private Sub List1_Click()
Text4.Text = List1.Text
Form1.Data2.RecordSource = "select * from book_mast where book_name='" + List1.Text
+ "'"
Form1.Data2.Refresh
Do While Not Form1.Data2.Recordset.EOF
-
8/10/2019 Shikha (Repaired)
77/95
Form4.Text3.Text = Form1.Data2.Recordset.Fields(0)
Form4.Text8.Text = Form1.Data2.Recordset.Fields(4)
Form1.Data2.Recordset.MoveNext
Loop
Form1.Data2.Recordset.Close
End Sub
Private Sub Text1_LostFocus()
On Error GoTo errorhandle
Data1.RecordSource = "select * from issue_mast where mem_code='" + Text1.Text + "'"
Data1.Refresh
Do While Not Data1.Recordset.EOF
c = c + 1
Data1.Recordset.MoveNext
Loop
If c 0 Then
MsgBox "Please return the book first", vbInformation, "Book Return"
Text1.Text = ""
Form4.HideForm1.Show
Else
Form1.Data1.RecordSource = "select * from mem_mast where mem_code='" + Text1.Text
+ "'"
Form1.Data1.Refresh
Form1.Data1.Recordset.Edit
Text2.Text = Form1.Data1.Recordset.Fields(1)
Form1.Data1.Recordset.Update
Form1.Data1.Recordset.Close
List1.Clear
Form1.Data2.RecordSource = "select * from book_mast"
Form1.Data2.Refresh
-
8/10/2019 Shikha (Repaired)
78/95
Do While Not Form1.Data2.Recordset.EOF
Form4.List1.AddItem (Form1.Data2.Recordset.Fields(1))
Form1.Data2.Recordset.MoveNext
Loop
Form1.Data2.Recordset.Close
End If
Exit Sub
errorhandle:
MsgBox "Error occured!Wrong Member Code", vbInformation, "Error"
End
End Sub
Private Sub Text5_GotFocus()
Text5.Text = Date
End Sub
Private Sub Text7_LostFocus()
If Val(Text8.Text) > Val(Text7.Text) Then
Text8.Text = Val(Text8.Text) - Val(Text7.Text)Command1.SetFocus
Else
MsgBox ("Please check your stock")
Text7.Text = " "
End If
End Sub
FORM 10
Private Sub Command1_Click()
Data1.Recordset.MoveFirst
Command1.Enabled = False
Command4.Enabled = False
-
8/10/2019 Shikha (Repaired)
79/95
Command3.Enabled = True
Command2.Enabled = True
End Sub
Private Sub Command2_Click()
Data1.Recordset.MoveNext
s = Data1.Recordset.RecordCount
Command1.Enabled = True
Command4.Enabled = True
If Data1.Recordset.AbsolutePosition = s - 1 Then
Command2.Enabled = False
Command3.Enabled = False
End If
End Sub
Private Sub Command3_Click()
Data1.Recordset.MoveLast
Command1.Enabled = True
Command4.Enabled = TrueCommand2.Enabled = False
Command3.Enabled = False
End Sub
Private Sub Command4_Click()
Data1.Recordset.MovePrevious
s = Data1.Recordset.RecordCount
Command2.Enabled = True
Command3.Enabled = True
If Data1.Recordset.AbsolutePosition = s Then
Command1.Enabled = False
Command4.Enabled = False
-
8/10/2019 Shikha (Repaired)
80/95
End If
End Sub
Private Sub Command5_Click()
Data1.Recordset.Delete
If Data1.Recordset.EOF Then
Data1.Recordset.MoveFirst
Else
Data1.Recordset.MoveNext
End If
End Sub
Private Sub Command6_Click()
Form5.Hide
Form1.Show
Form1.Data1.RecordSource = "select * from mem_mast"
Form1.Data1.Refresh
End Sub
FORM 11
Private Sub Command1_Click()
Data1.Recordset.MoveFirst
Command1.Enabled = False
Command4.Enabled = False
Command3.Enabled = True
Command2.Enabled = True
End Sub
Private Sub Command2_Click()
Data1.Recordset.MoveNext
-
8/10/2019 Shikha (Repaired)
81/95
s = Data1.Recordset.RecordCount
Command1.Enabled = True
Command4.Enabled = True
If Data1.Recordset.AbsolutePosition = s - 1 Then
Command2.Enabled = False
Command3.Enabled = False
End If
End Sub
Private Sub Command3_Click()
Data1.Recordset.MoveLast
Command1.Enabled = True
Command4.Enabled = True
Command2.Enabled = False
Command3.Enabled = False
End Sub
Private Sub Command4_Click()
Data1.Recordset.MovePreviouss = Data1.Recordset.RecordCount
Command2.Enabled = True
Command3.Enabled = True
If Data1.Recordset.AbsolutePosition = s Then
Command1.Enabled = False
Command4.Enabled = False
End If
End Sub
Private Sub Command5_Click()
Data1.Recordset.Delete
If Data1.Recordset.EOF Then
-
8/10/2019 Shikha (Repaired)
82/95
Data1.Recordset.MoveFirst
Else
Data1.Recordset.MoveNext
End If
End Sub
Private Sub Command6_Click()
Form6.Hide
Form1.Show
Form1.Data2.RecordSource = "select * from book_mast"
Form1.Data2.Refresh
End Sub
FORM 12
Private Sub Command1_Click()
Form2.Show
Form9.Hide
End Sub
FORM 13
Option Explicit
Private Sub Command1_Click()
frmSplash.Hide
Form10.Show
-
8/10/2019 Shikha (Repaired)
83/95
End Sub
Private Sub Form_KeyPress(KeyAscii As Integer)
Unload Me
End Sub
Private Sub Form_Load()
lblVersion.Caption = "Version " & App.Major & "." & App.Minor & "." &
App.Revision
lblProductName.Caption = App.Title
End Sub
Private Sub Frame1_Click()
Unload Me
End Sub
FORM 14
Dim x As StringDim y As String
Private Sub Command1_Click()
x = LTrim(RTrim(Text1.Text))
y = LTrim(RTrim(Text2.Text))
If (x = "sandeep") And (y = "saraswati") Then
Unload Me
Form1.Show
Else
MsgBox "invalid user"
Text2.SetFocus
SendKeys "{home}+{end}"
-
8/10/2019 Shikha (Repaired)
84/95
End If
End Sub
Private Sub Command2_Click()
Form9.Hide
Form7.Show
End Sub
-
8/10/2019 Shikha (Repaired)
85/95
TABELS
ISSUE TABLE
-
8/10/2019 Shikha (Repaired)
86/95
BOOK TABLE
-
8/10/2019 Shikha (Repaired)
87/95
MEMBER TABLE
-
8/10/2019 Shikha (Repaired)
88/95
-
8/10/2019 Shikha (Repaired)
89/95
TESTING AND DEBUGGING
Testing is the major control neasure used during software development. Its basic
function is to detect errors in the software. During requirements analysis and design, the outut is
a document that is usually textual and non-executable. After the coding phase, computer
programs are available that can be executed for testing purposes. This implies that testing not
only has to uncover errors introduced of testing is to uncover requirement, design and codinh
errors in the programs Consequently, different levels of testing are used.
Unit Testing:-
The stating point of testing.In this module is tested separately and is often performed by thecoder himself simultaneously along with the coding of the module. The purpose is to exercise the
different part module code to detect coding errors.
Integration Testing:-
Integration Testing is performed to detect design errors by focusing on testing the
interconnection between modules.
System Testing:-
System is tested against the system, requirements to see if all the requirements are met and if thesystem performs as specified by the requirements.
Acceptance testing:-
Acceptance Testing is performed to demonstrate to the client, on the real-life data of the client
the operation of the system.
Testing is an extremely critical and time-consuming activity. It requires proper planning of the
overall testing process, Frequently the testing process starts with a test plan that indentifies all
the testing-related activities that must be performed and specifies the schedule allocates the
resources, and specifies guidelines for testing. The test plan specifies conditions that should be
tested, different units to be tested, and the manner in which the modules will be integrated
together. Then for different test units, a test case specification document is produced, which lists
all the different test cases, together with the experienced output. During the testing of the unit,
the specified test cases are executed and the actual result compared and the error report or a set
-
8/10/2019 Shikha (Repaired)
90/95
of such report(one for each unit tested). Each test report contains the set of test cases and the
result of executing the code with these test cases. The error report describes the errors
encountered and the action taken to remove the errors.
-
8/10/2019 Shikha (Repaired)
91/95
ADVANTAGES
Fast working Procedure
Computer are fast and usually do most of the work in second this not only increase
our speed increase but also helps users to get theirs work done easily and also saves theirs
time .
No paper work
As we know when we work on the computer we do not need any paper. Computers
have their own memory to store data and information. Computers can stores information
which at least occupy thousands of paper if done manually. It saves money and space.
No such maintenance for a file is needed
As we know in manual file management system needs a lot of money for maintenance but
in computerized payroll system we dont expense more for file management.
Error Free Calculation
As we knows in manual work there are chances of error every time the task is done
this is very to handle but in the computerized system calculation is error free
LIMITATION
We have put our almost effort in this project but we found the following limitation in it:
-
8/10/2019 Shikha (Repaired)
92/95
Due to shortage of time we were unable to incorporate all the feature of library
management system.
Less security levels.
Dose not support DOS mode
No on line facility.
-
8/10/2019 Shikha (Repaired)
93/95
CONCLUSION
-
8/10/2019 Shikha (Repaired)
94/95
CONCLUSION
We can not say our work is 100% complete. There is always space for rectification and
modification. So there fore, in this library management system all the drawback of manual
system have been removed and the efficiency of the system has been improved up to the
maximum extent.
Generally manual system are very time consuming and so work or inquiry can be
performed instantly, but here by working on the computer overall efficiency of the system
increase a lot every task is done instantly. In this systema large database can be
maintained easily. This system is very user friendly, so therefore it can be handled easilyjust by carry training.
-
8/10/2019 Shikha (Repaired)
95/95
BIBLIOGRAPHY
1.Mastering In Visual Studio.NetBpp Publication
2.Black BookDreamtech Press
3.Visual Basic In 21 DaysBpp Publication
4.Analysis And Design Of Information System Phi V.Rajaraman
5.Software Engineering Pankaj Jalote
6.Become Pro In Vb, Wrox