Documente Academic
Documente Profesional
Documente Cultură
BACHELOR IN COMPUTER
APPLICATIONS {B.C.A.}
Session :- 2008
-1-
MAKHAN LAL CHATURVEDI RASHTRIYA
PATRAKARITA VISHWAVIDYALAY BHOPAL
1. Candidate’s Roll
No………………..Name………………………….
2. Project title…………………………………………
3. Software base………………………
4. Sponsoring Institute Address……………………………..
5. Submitted for Course & Year……………………………………..
6. Study Centre Code, Name,
Address………………………………….
7. Total Internal assessment and exam work
evaluation………………...
Marks out of 200.
Details of evaluation along with name and sign of
teacher……………
…………………………………………………………………
……….
Particulars Mark out of Marks Awarded Internal Examiner’s
Name & Signature
9. Remarks of Study
Centre………………………………………………
…………………………………………………………………
………
10. University project Examiner’s Evaluation
Total marks awarded…………….Out of 450
-2-
Details of Evaluation along with name & sign of university
examiner.
Acknowledgement
Author
Ashish & Chandrabhan & Raghvendra
Date :-
-3-
Place :-Brain Computer College Chhatarpur (M.P.)
-4-
Guide Certificate
Certificate
Signature of Student
Signature of Guide
1. Ashish
2. Chandrabhan
3 Raghvendra
-5-
CENTER CERTIFICATE
Aditya Pathak
Director
-6-
SELF CERTIFICATE
Signature
of the student
Ashish.
-7-
Chandrabhan
Raghvendra
Roll no………………..
Brain
Computer College
Chhatarpur (m.p.)
Objective of Project: -
We are surviving in the modern era of computers
and information technology. In present, every
field is affected with computers, where there is,
need to interchange and manage the information.
However, in today’s information age there is a
need to manage information effectively.
Computer satisfies this demand and the market
abounds with numerous software, which claims to
be highly effective and offer various add on
-8-
facilities. All fields are going to be automated in
present. It enhances the working style of the
organization. The main goal of this automated
software is to perform the routine work and
manage the information Of LIC.
-9-
different Lic policy/premium management in easy way. “Lic
policy Management all competition premium is software that
strives to meet a number of goals. Centre manager may
handle different activities related to Centre, in a proper way.
They may sustain information about the items available in
centre, detail of a customer and agents. They may fill the
detail of customer in electronic documents, create the policy
and premium memos, monitors the stock time to time,
monitors the sales, profit and loss as well as they may
achieve the information about the extra expenditures with
help of this software. This software is able to store backup of
different records and information. Lic Management
represents a fully automated premium, which provides better
services to the centre manager as well as to the customer and
Agents.
Easy to use: -
This software is easy and simple to use. You may select the
field according to your interest and you may access or store
the information of particular content.
Fast accessing: -
- 10 -
Accuracy: -
- 11 -
System Requirement Analysis
Design
Flow chart
The pictorial representation of the algorithms is
called flow charts. There are many types of the boxes used in
to the flow charts. Every boxes have own different
meanings. Flow chart shows flow of the programming
For writing algorithm for solving the problems, we
take help of flowcharts. A flowchart is nothing but the
diagrammatic representation of the various steps involve in
the solving the problem. The flowchart is a step by step
diagrammatic representation of the logics path contained
within a solution to given problem. Flowcharts are drawn up
as a pictorial guide for assisting in writing of an algorithm.
The flowchart indicates the direction of the flow of a
process, relevant operations and computations, point of
decision and other information which are part of the
solution. Once developed and properly checked, the
flowchart provides an excellent guide for writing the
program.
- 12 -
- 13 -
Decision Tree
Decision tree is a old tool for showing the
alternatives actions that can result from different
combination from circumstances. The diagram resembles a
fallen tree, with the root on the left hand side and branches
representing each decision. The tree is read from left to right.
And the actions to be undertaken are recorded down. The
conditional logic of the order having process.
- 14 -
INPUT / OUTPUT SCREEN DATABASE
Database Structure
- 15 -
- 16 -
Policy Plan Table
- 17 -
Proposal Registration
- 18 -
Premium Yearly
- 19 -
Premium Half Yearly
- 20 -
Premium Quarterly
- 21 -
INPUT / OUTPUT SCREEN PROJECT
Coding:-
In this state the design of the software translate
into machine readable form. If design process is
performed in detailed manner then the coding became
very easy step.
Testing:-
When coding step is going to complete then we
starts testing of the software. The testing process focus on
structural, functional, logical and internal functioning of
the software. Testing of the software reduces the errors
from the software. And make it very clear and reliable in
its working.
SPLASH WINDOW:-
- 22 -
CODE SPLASH WINDOW
Option Explicit
- 23 -
Label3.ForeColor = RGB(Rnd * 255, Rnd * 255,
Rnd * 255)
End Sub
ProgressBar1.Visible = True
ProgressBar1.Value = ProgressBar1.Value + 1
If ProgressBar1.Value >= 100 Then
Me.Hide
frmLogin.Show
Timer2.Enabled = False
End If
End Sub
LOGIN FORM
- 24 -
CODE OF USER LOGIN FORM
Option Explicit
- 25 -
Public Login Succeeded As Boolean
End Sub
MDI FORM
- 26 -
CODE OF MDI FORM
- 27 -
Private Sub abl_Click()
Me.Hide
HelpForm.Label1 = "Help About LIC"
HelpForm.HelpFile.FileName = App.Path &
"\helpfiles\helpaboutlic.txt"
HelpForm.Show
End Sub
End Sub
End Sub
- 28 -
End Sub
End Sub
End Sub
End Sub
Private Sub yp_Click()
Me.Hide
YearlyPremium.Show
- 29 -
End Sub
Half Yearly Premium Plan:-
- 30 -
Code Half Yearly Premium Plan:-
mbDataChanged = False
End Sub
- 31 -
Private Sub Form_KeyDown(Key Code As
Integer, Shift As Integer)
If mbEditFlag Or mbAddNewFlag Then
Exit Sub
- 32 -
Private Sub
adoPrimaryRS_WillChangeRecord(By Val ad
Reason As ADODB.EventReasonEnum, ByVal
cRecords As Long, adStatus As
ADODB.EventStatusEnum, ByVal pRecordset As
ADODB.Recordset)
'This is where you put validation code
'This event gets called when the following
actions occur
Dim bCancel As Boolean
- 33 -
MsgBox Err. Description
End Sub
adoPrimaryRS.MoveFirst
mbDataChanged = False
Exit Sub
GoFirstError:
MsgBox Err.Description
End Sub
adoPrimaryRS.MoveLast
mbDataChanged = False
Exit Sub
GoLastError:
MsgBox Err.Description
End Sub
- 34 -
If Not adoPrimaryRS.EOF Then
adoPrimaryRS.MoveNext
If adoPrimaryRS.EOF And
adoPrimaryRS.RecordCount > 0 Then
Beep
'moved off the end so go back
adoPrimaryRS.MoveLast
End If
'show the current record
mbDataChanged = False
Exit Sub
GoNextError:
MsgBox Err.Description
End Sub
IfNotadoPrimaryRS.BOFThen
adoPrimaryRS.MovePrevious
If adoPrimaryRS.BOF And
adoPrimaryRS.RecordCount > 0 Then
Beep
'moved off the end so go back
adoPrimaryRS.MoveFirst
End If
'show the current record
mbDataChanged = False
Exit Sub
GoPrevError:
MsgBox Err.Description
End Sub
- 35 -
Private Sub SetButtons(bVal As Boolean)
cmdClose.Visible = bVal
cmdRefresh.Visible = bVal
cmdNext.Enabled = bVal
cmdFirst.Enabled = bVal
cmdLast.Enabled = bVal
cmdPrevious.Enabled = bVal
End Sub
End Sub
- 36 -
Code Quarterly Premium Plan:-
- 37 -
Dim mbChangedByCode As Boolean
Dim mvBookMark As Variant
Dim mbEditFlag As Boolean
Dim mbAddNewFlag As Boolean
Dim mbDataChanged As Boolean
mbDataChanged = False
End Sub
- 38 -
Select Case Key Code
Case vbKeyEscape
cmdClose_Click
Case vbKeyEnd
cmdlast_Click
Case vbKeyHome
cmdfirst_Click
Case vbKeyUp, vbKeyPageUp
If Shift = vbCtrlMask Then
cmdfirst_Click
Else
cmdprevious_Click
End If
Case vbKeyDown, vbKeyPageDown
If Shift = vbCtrlMask Then
cmdlast_Click
Else
cmdnext_Click
End If
End Select
End Sub
Private Sub
adoPrimaryRS_WillChangeRecord(ByVal ad
Reason As ADODB.EventReasonEnum, ByVal
cRecords As Long, adStatus As
ADODB.EventStatusEnum, ByVal pRecordset As
ADODB.Recordset)
- 39 -
'This is where you put validation code
'This event gets called when the following actions
occur
Dim bCancel As Boolean
- 40 -
Private Sub cmdfirst_Click()
On Error GoTo GoFirstError
adoPrimaryRS.MoveFirst
mbDataChanged = False
Exit Sub
GoFirstError:
MsgBox Err.Description
End Sub
adoPrimaryRS.MoveLast
mbDataChanged = False
Exit Sub
GoLastError:
MsgBox Err.Description
End Sub
- 41 -
'show the current record
mbDataChanged = False
Exit Sub
GoNextError:
MsgBox Err.Description
End Sub
Exit Sub
GoPrevError:
MsgBox Err.Description
End Sub
- 42 -
End Sub
End Sub
- 43 -
Code Yearly Premium Plan:-
- 44 -
Dim With Events adoPrimaryRS As Record
set
Dim mbChangedByCode As Boolean
Dim mvBookMark As Variant
Dim mbEditFlag As Boolean
Dim mbAddNewFlag As Boolean
Dim mbDataChanged As Boolean
mbDataChanged = False
End Sub
- 45 -
If mbEditFlag Or mbAddNewFlag Then
Exit Sub
Private Sub
adoPrimaryRS_WillChangeRecord(ByVal ad
Reason As ADODB.EventReasonEnum, ByVal
cRecords As Long, adStatus As
- 46 -
ADODB.EventStatusEnum, ByVal pRecordset As
ADODB.Recordset)
'This is where you put validation code
'This event gets called when the following
actions occur
Dim bCancel As Boolean
- 47 -
Exit Sub
AddErr:
MsgBox Err.Description
End Sub
- 48 -
EditErr:
MsgBox Err.Description
End Sub
Private Sub cmdCancel_Click()
On Error Resume Next
SetButtons True
mbEditFlag = False
mbAddNewFlag = False
adoPrimaryRS.CancelUpdate
If mvBookMark > 0 Then
adoPrimaryRS.Bookmark =
mvBookMark
Else
adoPrimaryRS.MoveFirst
End If
mbDataChanged = False
End Sub
adoPrimaryRS.UpdateBatch adAffectAll
If mbAddNewFlag Then
adoPrimaryRS.MoveLast 'move to
the new record
End If
mbEditFlag = False
mbAddNewFlag = False
SetButtons True
mbDataChanged = False
- 49 -
Exit Sub
UpdateErr:
MsgBox Err.Description
End Sub
adoPrimaryRS.MoveFirst
mbDataChanged = False
Exit Sub
GoFirstError:
MsgBox Err.Description
End Sub
adoPrimaryRS.MoveLast
mbDataChanged = False
Exit Sub
GoLastError:
MsgBox Err.Description
End Sub
- 50 -
If Not adoPrimaryRS.EOF Then
adoPrimaryRS.MoveNext
If adoPrimaryRS.EOF And
adoPrimaryRS.RecordCount > 0 Then
Beep
'moved off the end so go back
adoPrimaryRS.MoveLast
End If
'show the current record
mbDataChanged = False
Exit Sub
GoNextError:
MsgBox Err.Description
End Sub
Exit Sub
GoPrevError:
MsgBox Err.Description
- 51 -
End Sub
Label3.Caption = Right(Label3.Caption,
Len(Label3.Caption) - 1) & Left(Label3.Caption,
1)
End Sub
- 52 -
ProposalReg:-
- 53 -
Code ProposalReg:-
- 54 -
Dim With Events adoPrimaryRS As Record
set
Dim mbChangedByCode As Boolean
Dim mvBookMark As Variant
Dim mbEditFlag As Boolean
Dim mbAddNewFlag As Boolean
Dim mbDataChanged As Boolean
End Sub
Private Sub cmdlast_Click()
On Error GoTo GoLastError
adoPrimaryRS.MoveLast
mbDataChanged = False
Exit Sub
GoLastError:
MsgBox Err.Description
End Sub
- 55 -
On Error GoTo GoNextError
Exit Sub
GoNextError:
MsgBox Err.Description
End Sub
Exit Sub
- 56 -
GoPrevError:
MsgBox Err.Description
End Sub
mbDataChanged = False
End Sub
- 57 -
Private Sub Form_KeyDown(Key Code As
Integer, Shift As Integer)
If mbEditFlag Or mbAddNewFlag Then
Exit Sub
End Sub
- 58 -
Private Sub
adoPrimaryRS_WillChangeRecord(ByVal
ad Reason As ADODB.EventReasonEnum,
ByVal cRecords As Long, adStatus As
ADODB.EventStatusEnum, ByVal
pRecordset As ADODB.Recordset)
'This is where you put validation code
'This event gets called when the following
actions occur
Dim bCancel As Boolean
Case adRsnAddNew
Case adRsnClose
Case adRsnDelete
Case adRsnFirstChange
Case adRsnMove
Case adRsnRequery
Case adRsnResynch
Case adRsnUndoAddNew
Case adRsnUndoDelete
Case adRsnUndoUpdate
Case adRsnUpdate
End Select
- 59 -
If Not (.BOF And .EOF) Then
mvBookMark = .Bookmark
End If
.Add New
lblStatus.Caption = "Add record"
mbAddNewFlag = True
SetButtons False
End With
Exit Sub
AddErr:
MsgBox Err.Description
End Sub
MsgBox Err.Description
- 60 -
End Sub
EditErr:
MsgBox Err.Description
End Sub
SetButtons True
mbEditFlag = False
mbAddNewFlag = False
adoPrimaryRS.CancelUpdate
If mvBookMark > 0 Then
adoPrimaryRS.Bookmark =
mvBookMark
Else
adoPrimaryRS.MoveFirst
End If
mbDataChanged = False
End Sub
- 61 -
On Error GoTo UpdateErr
adoPrimaryRS.UpdateBatch adAffectAll
If mbAddNewFlag Then
adoPrimaryRS.MoveLast 'move to
the new record
End If
mbEditFlag = False
mbAddNewFlag = False
SetButtons True
mbDataChanged = False
Exit Sub
UpdateErr:
MsgBox Err.Description
End Sub
- 62 -
cmdprevious.Enabled = bVal
End Sub
Proposal Registration:-
- 63 -
- 64 -
Code Proposal Registration:-
End If
End Sub
- 65 -
Con.Provider =
"Microsoft.Jet.OLEDB.3.51;Data Source="
& App.Path &
"\DataBase\LicDataBase.mdb;"
Con.Open
Mstr = "select distinct (policy) from
policyplan"
Text10.Text = Date
End Sub
End Sub
- 66 -
Private Sub Text4_LostFocus()
Dim D1 As Date
Dim D2 As Date
Dim DDiff As Integer
D1 = Text4.Text
D2 = Date
DDiff = (D2 - D1) / 365
Text7.Text = DDiff
End Sub
End Sub
Sub AddPolicyRecord()
Rs.AddNew
Rs.Fields(1) = Text1.Text
Rs.Fields(2) = Text2.Text
Rs.Fields(3) = Text3.Text
Rs.Fields(4) = Text4.Text
Rs.Fields(5) = text13.Text
Rs.Fields(6) = Text5.Text
Rs.Fields(7) = Combo3.Text
Rs.Fields(8) = Combo1.Text
Rs.Fields(9) = Text7.Text
Rs.Fields(10) = Combo2.Text
Rs.Fields(11) = Text8.Text
Rs.Fields(12) = Text10.Text
Rs.Fields(13) = Text11.Text
- 67 -
Rs.Fields(14) = Text12.Text
Rs.Fields(15) = text14.Text
Rs.Fields(16) = Text15.Text
Rs.Fields(17) = Text16.Text
Rs.Update
End Sub
- 68 -