PROBLEM STATEMENT
This project is used for passport generation. Display the application form to the user. If
the user needs to renew the passport then additional information about the old passport is
required. Else the user is considered to be a new applicant. Get the filed in application form from
the user. Check whether the attached verification documents are valid. If valid, then process the
application for passport generation. During the processing of the passport the status of the
application can be checked with application number. The status displays the expected date of
issue of the passport and the current processing information.
DATABASE DESIGN
APPLICATION TABLE
ISSUE TABLE
PASSPORT AUTOMATION SYSTEM
furnish details
store details in db
applicant
administrator
issue passport
CLASS DIAGRAM
SEQUENCE DIAGRAM
furnish details
details to be verified
verification
issue passport
ACTIVITY DIAGRAM
apply for
passport
applied
applicant no
furnish
details
check details
incorrect
deny issue
passport passport
COMPONENT DIAGRAM
passport admin
office
DEPLOYMENT DIAGRAM
admin passpor
t office
LAYERED ARCHITECTURE DIAGRAM
ui layer
police form
application form verfication form
regional
administra...
domain layer
regional
administrator
technical layer
database
MODULE
Private Sub mApply_Click()
Form1.Show
End Sub
FORM1 (APPLICATION)
Private Sub cmdAddr_Click()
CommonDialog1.ShowOpen
txtAddr.Text = CommonDialog1.FileName
End Sub
FORM2 (VERIFICATION)
Private Sub cmdOk_Click()
query = "select * from Apply where APPLN= " &Val(txtAppln.Text) & ""
Set rs = db.Execute(query)
txtName.Text = rs("ANAME")
If Not rs.EOF Then
txtAppln.Text = rs(0)
rs.Close
End If
End Sub
FORM3 (ISSUE)
Private Sub cmdIssue_Click()
renewdate = DateAdd("YYYY", 5, Date)
db.Execute ("insert into
Issue(APPLN,ANAME,PASSPORTNO,MODE,ISSUEDATE,RENEWDATE) values (" &
txtAppln.Text & ",'" & txtName.Text & "'," & txtPass.Text & " , '" & cmbMode.Text & "', '" &
Date & "', '" & renewdate & "')")
db.Execute ("update Apply set STATUS='ISSUED' where APPLN= " & txtAppln.Text & "")
MsgBox ("Passport Issued")
End Sub
Private Sub cmdOk_Click()
query = "select * from Apply where APPLN= " &Val(txtAppln.Text) & ""
Set rs = db.Execute(query)
txtName.Text = rs("ANAME")
If Not rs.EOF Then
txtAppln.Text = rs(0)
rs.Close
End If
End Sub
FORM4 (RENEWAL)
Private Sub cmdIssue_Click()
query = "update Issue set RENEWDATE='" & txtRenew & "' where PASSPORTNO=" &
txtPass & ""
Set rs = db.Execute(query)
End Sub
OUTPUT
MDI FORM
FORM1 (APPLICATION)
FORM2 (VERIFICATION)
FORM3 (ISSUE)
FORM4 (RENEWAL)
RESULT: