A Project Report For BCA
A Project Report For BCA
A Project Report For BCA
Submitted by:
Pankaj
Registration No:
Course: BCA
Semester: FINAL
INDEX
TOPIC PAGE NO
Certificate 3
Acknowledgement 4-5
Introduction 6-8
Coding 59-82
Bibliography 87-88
CERTIFICATE
This is to Certify that this project entitled School Management
{ } { }
Acknowledgement
As we know that whenever we are going to do something new we have to face
many obstacles and of course many experiences too. To introduce a new thing is
not an easy task for anybody. I pay our gratitude to the management for their
acknowledge our deep sense of gratitude and personal regard to project guide Mr.
Ajay for her valuable guidance in the completion of my project. I feel great pleasure
concentration, alteration and best efforts to present this project in simplest way. At
last, I would like to thank “Mr. Ajay” who was being source of continuous
inspiration and support for me. Her unique talent and ability helped me a lot.
Introduction
This system is designed for Bank Management System. It is designed for keeping
distribution.
I have used Visual Basic and Microsoft Access as front end and back end. Visual
Basic is an object oriented programming language, the fastest and easiest way to
The “Visual” part refers to the method used to create the graphical user interface
(GUI). Rather than writing numerous lines of code to describe the appearance and
location of interface elements, you simply dray and drop pre built objects into
place on screen.
Using Microsoft Access, we can manage all your information from a single
database file. Within the file, we can use tables to store our data, Queries to find
and retrieve just the data we want, Forms to view, add, and update data in tables,
Reports to analyze or print data in a specific layout, Data access pages to view,
update, or analyze the database’s data from the Internet or an Intranet. It gives the
very popular among the users due to its user friendliness and advanced features.
Security is also main consideration in this project, without using password this
project cannot be run, beside this you cannot open another instance of this project
simultaneously while running this project, and reports and Microsoft Access used
In the existing system information is kept manually the information about new
accounts brought in the account ledger. In spite of keeping these records, its
difficult to get the required information instantly, for doing this one has to go
2. Mistakes are often made during calculations. Numeric calculations like the
estimation of stock, daily collection, monthly calculation, quite often results in
mistakes.
4. The registers call for enormous work in terms searching and sorting whenever
information regarding a student marks data is to be added or modified.
Need For Computerization
Computers are having profound effect on the society in general and the business
in particular. The repaid and drastic change in the past two decades undoubtedly
proves the worth of computers in all walks of life.
The computer applications field can be divided into basically two field’s viz.
business applications and scientific applications. The difference between two
types of application is that of ratio of operations performed to that of total data
processed.
The main purpose of using computers is to process the data quickly, to simulate it,
and give the results that are accurate and are available in real time, which have
become a buzzword help the chemist in making decisions. In the manual system,
all the above functions are very time consuming and also difficult at the time of
maintenance of big medical store.
System Study
Existing System with limitations
There were some limitations in the earlier system because of that limitations the
new system needs to be adopted
1. Earlier everything was manual. If any customer wants to check the status of
his account then it could not traced easily. For that he had to wait for a long
time.
1. It is user friendly.
2. It is secure.
3. Data redundancy can be eliminated.
4. Getting rid of old file handling/registers/ledgers.
5. The status of accounts can be seen easily by the customers and employees.
Feasibility Study
When a new application is proposed, it normally goes through a feasibility study
before it is approved for development. It helps in evaluating alternative approaches
to its development.
Five types of feasibility are addressed in the study. They result in the recognition of
both the benefits and risks inherent in the development and implementation of the
proposed application system.
2 Economic Feasibility: The system is being developed with the aim that it
provides benefits greater than the cost. It presents tangible/intangible
benefits in a formal way. A cost/benefits analysis of the proposed system
that :-
4 Feasibility: There is high probability that the organization can complete the
development process in the time allowed for development. Care has been
taken of the point that adding the development resources does not always
reduced the development time, in fact, adding staff cannot be used
effectively may impend the development because of the time spent in
communication.
encountered in this system. On spot stock details were not available. It was difficult
The proposed system is user-friendly. A person can ask about stock and can
see the status whatever it is. No user can make the cheating in this system
everything is feed in the files and they are only tend to make the entries. They are
Visual Basic 6 is Microsoft’s latest and greatest version of the Visual Basic
as dragging graphic object onto the screen with your mouse. Multiple Document
interface lets you work with several sets of data in multiple windows within your
program, each window is called a child window. Single Document Interface (SDI)
aspect of any programming language is its ability to access and manipulate files.
Visual Basic provides all the statements and commands necessary for storing
information to and reading it from files. Moreover, Visual Basic makes it easy to
store information in databases and access it with the Data Access Objects (DAO).
Visual Basic support a wide range of ActiveX data objects (ADO) because these
objects are ActiveX-based, they work across different platforms and programming
languages, they offers several advantages over the data control ADO technology
supports faster database access than the data control does, ADO generally write
more program code than you would with the data control, you can write code that
accesses the various data control methods, ADO enable you to control data access
in much stricter way than the data control. In some cases, however, we want to be
able to store a few lines of text to a file or read a few numbers from a binary file.
database isn’t stored on a computer, or only parts of it are, you may be tracking
information from a variety of sources that you’re having to coordinate and organize
yourself.
Using Microsoft Access, you can manage all your information from a single
database file. Within the file, you can use:
.Data access pages to view, update, or analyze the database’s data from the
Internet or an Intranet.
Tables and relationship
To store your data, create one table for each type of information that you track. To
bring the data from multiple tables together in a query, form, report, or data access
Relationship in a database
After you’ve set up different tables for each subject in your Microsoft Access
Database, you need a way of telling Microsoft how to bring that information back
together again. The first step in this process is to define relationship between your
tables. After you’ve done that, you can create queries, forms, and reports to display
. One-to-many relationship
. Many-to-many relationship
. One-to-one relationship
Queries
To find and retrieve just the data that meets conditions that you specify, including
data from multiple tables, create a query. A query can also update or delete
multiple records at the same time, and perform predefined or custom calculations
on your data.
About designing a database Good database design ensures that your database is
easy to maintain. You store data in tables and each table contains data about only
one subject, such as customers. Therefore, you update a particular piece of data,
such as an address, in just one place and that change automatically appears
A well-designed database usually contains different types of queries that show the
information you need. A query might show a subset of data, such as all customers
The first step in designing a database is to determine its purpose and how it’s be
used:
. Talk to people who will use the database. Brainstorm about the questions you
and
As you determine the purpose of your database, a list of information you want from
the database will begin to emerge. From that, you can determine what facts you
need to store in the database and what subject each fact belongs to. These facts
correspond to the fields (columns) in your database, and the subjects that those
Data flow diagram is another tool use to describe the design specification. It is also
a pictorial representation of data flow. The only difference between flowchart and
the data flow diagram is that DFD show only the flow of data not the actual
procedure or coding to perform that function. On the other hand flowcharts show
Describe the source and destination of data or information. The source must be
A circle used to show the process. There can be number of process in a program.
Arrow used to show the flow of data. A DFD can be drawn from top to bottom or
CONTEXT DFD
OF
BANK MANAGEMENT SYSTEM
Customer Master
1. 2.
CREATE
CUSTOMER/USER CUST INFO CHECK NEW CUSTOMER NEW
FOR ACCOUN
EXISTENC T
E
OLD
CUSTOMER/USER
TRANSACTION MASTER
3.
4. MAKE
PRINT or TAKE
A/C TRANSACTIO UPDATION IN TRANSTION MASTER
STATEMENT N
(Dr./Cr.)
Entity Relation Diagram
ENTITY RELATION
MODEL
OF
BANKING
Descriptio
Current n
Bal
Tel/Mob
DATE NAME
No
ADDRESS Opening ADDRESS
bal
DEPOSIT
AND
CUSTOMER/USER WITHDRAW TRANSACTION
NAME
A/C
ID Proof A/C NO
AMT Typ
No Dr/Cr e
DO
B
Typ
Mode
e
Database Detail
START
ENTER THE PASSWORD
CHECK
NO
CHANGE FOR
PASSWORD VALIDATIO
N
EXIT FROM
LOGIN FORM
YES
LOGIN TO THE
APPLICATION
STOP
START
GOTO
CUSTOMER
ENTER Account No, Name, Date, Address, Father Name,
SAVE RECORD
Phone No, Occupation, MASTER IN Opening Balance,
Type, Mode,
DATABASE
Current Balance etc.
OK
STOP
START
IF GOTO
A/C No.
CUSTOME
IS
FOUND
ENTER R No TO
A/C
MASTER
SEARCH
ELSE
SEARCH
AGAIN
NO
SHOW
“RECORD
YES NOT FOUND
EXIT
STOP
START
IF GOTO
A/C No.
CUSTOME
IS
FOUND
ENTER R No TO
A/C
MASTER
SEARCH AND EDIT
ELSE
SEARCH
AGAIN
NO
SHOW
“RECORD
YES NOT FOUND
EXIT
STOP
START
IF GOTO
A/C No.
CUSTOME
IS
FOUND
ENTER R No TO
A/C
MASTER
SEARCH
ELSE
SEARCH
AGAIN
NO
SHOW
“RECORD
YES NOT FOUND
EXIT
STOP
START
GOTO
TRANSACTIO
N
MASTER
ENTER A/C No TO SEARCH AGAIN
SEARCH
NO
YES
THEN ENTER
Description, Date, Amount Withdraw. SHOW
RECORD
NOT FOUND
OK
SAVE
Record In DataBase
STOP
START
GOTO
TRANSACTIO
N
MASTER
ENTER A/C No TO SEARCH AGAIN
SEARCH
NO
YES
THEN ENTER
Description, Date, Amount Deposit. SHOW
RECORD
NOT FOUND
OK
SAVE
Record In DataBase
STOP
Hardware and Software
Requirement
Hardware Requirement
Software Requirement
User Authentication
This is the opening form where users have to enter the correct password for Login
to use the Application or Software.
Main Form or MDI Form
This is the Second after you Login, it contains all the menus like file, list, reports etc.
This form is to get full detail of transactions of customers A/C that exists in the
database.
Coding
End If
End Sub
Coding for User Authentication
Dim rs As ADODB.Recordset
Dim conn As New ADODB.Connection
End Sub
End Sub
End Sub
Dim rs As ADODB.Recordset
Dim conn As New ADODB.Connection
Call Record_set_open ' Calling a user made procedure to open the record set
Call Save_rec ' Calling a user made procedure to save into the table
MsgBox "A New Record Is Modified"
Call blank_boxes ' Calling a user made procedure to blank the textboxes
cmdCustMod.Caption = "&Modify"
End If
End Sub
End Sub
End Sub
rs!account_no = txtCustAccNo
rs!dated = dtpCustDate
rs!Name = txtCustName
rs!Father_name = txtCustFatherName
rs!address_permanent = txtCustAddPerma1
rs!address_corresp = txtCustAddCorres1
rs!city_town = txtCustCity
rs!District = txtCustDistt
rs!State = txtCustState
rs!pin_code = txtCustPin
rs!ph_off = txtCustTelOff
rs!ph_resi = txtTelResi.Text
rs!mob_no = txtMbNo
rs!Email_address = txtCustEmail
rs!pan_no = txtCustPan
rs!occupation = txtCustOccu
rs!DOB = txtCustDOB
rs!Type = comCustType.Text
rs!Mode = comCustMode.Text
rs!Id = comCustID.Text
rs!opening_bal = txtCustOpen
rs!current_bal = txtCustCurr
rs.Update
rs.Close
End Sub
End Sub
End Sub
End If
End Sub
Private Sub cmdTransNew_Click()
Call unlock_Fields
Call blank_boxes
'Call listBox
ListView1.ListItems.Clear
txtTransAcc.SetFocus
cmdTransSave.Enabled = False
cmdTransMod.Enabled = False
cmdTransDel.Enabled = False
End Sub
End Sub
End Sub
rs!account_no = txtTransAcc
rs!dated = dtpTransDate.Value
rs!Description = txtTransDesc
'rs!balance = txtTransBal
rs!amt_deposit = Val(txtTransDeposit)
rs!amt_withdraw = Val(txtTransWithdraw)
rs.Update
rs.Close
rs.Open "select * from custmaster where account_no= '" & txtTransAcc.Text & "'",
conn, adOpenKeyset, adLockOptimistic
rs!current_bal = rs!current_bal - Val(txtTransWithdraw)
rs!current_bal = rs!current_bal + Val(txtTransDeposit)
rs.Update
rs.Close
End Sub
Private Sub ListView1_DblClick()
dtpTransDate = ListView1.SelectedItem.ListSubItems(2)
txtTransDeposit = ListView1.SelectedItem.ListSubItems(5)
txtTransWithdraw = ListView1.SelectedItem.ListSubItems(4)
txtTransDesc.Text = ListView1.SelectedItem.ListSubItems(3)
MsgBox ListView1.ListItems(ListView1.SelectedItem.Index).SubItems(5)
End Sub
If rs.RecordCount = 0 Then
If rs.State = 1 Then
rs.Close
End If
End If
Exit Sub
End If
Call lock_unlock_fields
txtTransAcc.Text = rs.Fields(0)
dtpTransDate = rs!dated
txtTransName = rs!Name
txtTransAdd = rs!address_permanent
'txtTransDesc = rs!Description
txtTransType = rs!Type
'txtTransDeposit = rs!amt_deposit
'txtTransWithdraw = rs!amt_withdraw
txtTransBal = IIf(IsNull(rs!current_bal), 0, rs!current_bal)
For i = 1 To rs.RecordCount
newitem.SubItems(1) = rs!account_no
newitem.SubItems(2) = rs!dated
newitem.SubItems(3) = rs!Description
newitem.SubItems(5) = IIf(IsNull(rs!amt_deposit), 0, Val(rs!amt_deposit))
newitem.SubItems(4) = Val(rs!amt_withdraw)
rs.MoveNext
Next i
rs.Close
End Sub
End Sub
Testing forms the first step in determining the errors in a program, the success of
testing in revealing errors in programs depends critically on the test cases. Testing
can be broken into smaller activities, due to this incremental testing is generally
performed, in which components and subsystems of the system are tested
separately before integrating them. The basic purpose of the testing is to detect the
errors that may be present in the program; there are two basic approaches to
testing i.e.:
. Functional Testing.
. Structural Testing.
. System Testing.
. Functional Testing: In the functional testing the structure of the program is not
considered, test cases are decided on the basis of the requirements or
specifications of the program or module and the internals of the module or the
program are not considered for selection of the test cases. Due to this nature, it is
often called Black box testing.
. Structural Testing: In Structural testing test cases are generated based on the
actual code of the program or module to be tested, it deals with the internal
structure of the program responsible for actually implementing that function, this
approach is sometimes called Glass box testing.
. System Testing:
In the implementation phase programs are written, files and data bases are created,
education and training of user takes place in the old system is replaced by new
one. The implementation of a system may take place when: -
The target date of chance over is due.
The system has been proved to the satisfaction of system analyst and other
implementation activities have been completed.
The user manager is satisfied with the results of testing, staff training and
reference manuals.
Pilot Running: - In this method historical data for the whole or part of the
system is run on this system and results obtained from the new system are
compared with old system.
Bibliography
Bibliography: -
Visual Basic
Software Engineering