Professional Documents
Culture Documents
Passport Status Tracking System Report
Passport Status Tracking System Report
NG SYSTEM
A PROJECT REPORT
Submitted by
G.SUDHARSAN
(201061026)
&
P.RAGHAV SANDEEP
(201061018)
i
IFET COLLEGE OF ENGINEERING
(An Autonomous Institution)
BONAFIDE CERTIFICATE
Certified further that to the best of my knowledge the work reported herein
does not form part of any other thesis or dissertation on the basis of which a
candidate.
ii
CERTIFICATE OF EVALUTION
Branch : B.Tech - IT
PASSPORT
G.SUDHARSA 201061026&20106101 STATUS Ms.E.ANANDH
N &P. 8 TRACKIN A VIJALAXMY
RAGHAV G SYSTEM Super Visor
SANDEEP
The report for the Mini project-I submitted for the fulfillment of the
award of the degree of Bachelor of Technology in Information Technology of
IFET College of Engineering (Autonomous), permanently affiliated to Anna
University was evaluated and confirmed to be the work done by the above
student.
iii
ACKNOWLEDGEMENT
We thank the almighty, for the blessings that have been showered upon me to
bring forth the success of the project. I would like to express my sincere gratitude to
our Chairman Mr.K.V.Raja, Vice Chairman and our Secretary Mr.K.Shivram
Alva for providing us with an excellent infrastructure and necessary resources to
carry out this project and we extend our gratitude to our principal
Dr.G.Mahendran, for his constant support to our work.
We also take this opportunity to express our sincere thanks to our Vice-
Principal Dr.S.Matildawho has provided all the needful help in executing the
project successfully.
We also thank our lab technicians and all the staff members of our department
for their support and assistance.
Last but not the least, I wholeheartedly thanks my family and friends for their
moral support in tough times and their constructive criticism which made me
succeed in our work.
iv
TABLE OF CONTENTS
CHAPTER NO TITLE PAGE NO
List of Abbreviations 06
List of Figures 07
Abstract 08
1 Introduction 09
1.1 General
1.2 Domain Overview
2 Existing System 11
2.1.Existing System
2.2. Disadvantages of Existing System
3 Proposed System 12
Proposed System
3.1 Simplex Algorithm
3.2 Advantage Of proposed System
4 system requirements
4.1 Software requirements
5
6.1.4.Admin Page
6.1.5 Passport Registration Form
6.1.6 Change Passport Status
7 Conclusion
Appendix-I(source code)
Appendix-II (snap shots)
Reference
6
LIST OF ABBREVIATIONS
7
LIST OF FIGURES
8
ABSTRACT
This project provides a clear Passport status tracking for the end users.It
provides a single user interface for both the administrators and also the passport
officer.Project covers the end to end communication of applying passport to Status
tracking.It involves the case officer can represent the user to apply for passport and
also the end user can access it and track the status of the application.This application
is used only by the passport officer.This study is carried out to check the economic
impact that the system will have on the organizationThe amount of fund that the
company can pour into the research and development of the system is limited. The
expenditures must be justifiedThus the developed system as well within the budget
and this was achieved because most of the technologies used are freely available.
9
CHAPTER 1
INTRODUCTION
1.1 GENERAL
Ever since the entire passport application process is done online, it has
become incredibly easy for applicants to track their application status. Applicants
can get real time status updates on their passport application. They can even get
SMS updates on the status.It is important to be updated with the application status
so that you can take timely action if needed. One can easily check their application
status on the ‘Passport Seva’ portal.There are different kinds of status tracking
available on the Passport Seva portal:
1. Passport Applications
2. Police Clearance Certificate (PCC)
3. RTI Application
4. Diplomatic or Official Passport Application
5. Surrender Certificate
10
CHAPTER 2
EXISTING SYSTEM
2.1 EXISTING SYSTEM
Passport can be provided by the admin departmentAdmin Department updated
the status.Finally User check the updated status.Usually the passport will be applied
by the admin department.
• Admin department play the role of updating the status.
• User will be manually verify the status of the project.
11
CHAPTER 3
PROPOSED SYSTEM
3.1.PROPOSED SYSTEM
The development of the new system contains the following activities, which
try to automate the entre process keeping in the view of database integration
appmuch. User friendliness is provided in the application with various controls
provided by system rich user interface This system makes the overall project
management much easier and flexible. Various classes have been used for maintain
the details of all the users and catalog Authentication is provided for this application
only registered users can access. Report generation features is provided using to
generate different kind of reports. In this system the individual fills all the
information or details required for pasport reservation through online. The
individuals lave as fill at the detail and can't leave any field as Blank.
• A Single User Interface for both the end user and the passport officer.
• This reduce complexity of using multiple applications for a single purpose.
• An Interactive complete flow of the system is made in one single point.
12
The vector of variables obtained is called the basic solution (it contains both basic
and non-basic variables).
Each basic solution of (LP=) for which all variables are nonnegative, is called an
admissible basic solution. This admissible basic solution corresponds to an extreme
point (corner solution).
Maximum of the Cj - zjfor maximum problems.
Minimum of the Cj - zjfor maximum pproblem.
Fig.1 SimplexAlgorithm
13
CHAPTER 4
SYSTEM REQUIREMENTS
14
CHAPTER 5
SYSTEM ARCHITECTURE
Fig.2Architecturediagrams
5.2 SYSTEMDESIGN
Design is multi-step process that focuses on data structure software
architecture, procedural details, (algorithms etc.) and interface between modules.
The design process also translates the requirements into the presentation of software
that can be accessed for quality before coding begins. Computer software design
changes continuously as new methods; better analysis and broader understanding
15
evolved. Software Design is at relatively early stage in its revolution. Therefore,
Software Design methodology lacks the depth, flexibility and quantitative nature
that are normally associated with more classical engineering disciplines.
5.3.ER DIAGRAM
Entity Relationship Diagram, also known as ERD, ER Diagram or ER model, is a
type of structural diagram for use in database design. An ERD contains different
symbols and connectors that visualize two important information: The major entities
within the system scope, and the inter-relationships among these entities. And that's
why it's called "Entity" "Relationship" diagram (ERD) ER diagrams are used to
model and design relational databases, in terms of logic and business rules (in a
logical data model) and in terms of the specific technology to be implemented (in a
physical data model.) In software engineering, an ER diagram is often an initial step
in determining requirements for an information systems project
16
ER Diagrams are composed of entities, relationships and attributes. They also
depict cardinality, which defines relationships in terms of numbers. Here’s a
glossary: ER Diagrams are composed of entities, relationships and attributes. They
also depict cardinality, which defines relationships in terms of numbers. Here’s a
glossary:
17
CHAPTER 6
Modules
Types of Module Method
Login module page
Admin registration form
Passport status
Admin page – Page Selection Module
Passport registration form
Change Passport Status
6.1.1.Module -1
Login module page:
When he/she select the user login, if the username and password matches it
will move to the view status page. A person when opens the online passport
page ,system asks for whether he/she is a user or Admin.
6.1.2.Module – 2:
Adminregistrationform:
When the person clicks the new user, it will reach new admin user registration
page. A person has to fill the details and submit.
FieldsUserin thismodule:
Name: Name of the person
User name: Name of the user name
Password: It is a user's choice.
DOB: It must be in dd/mm/yyyy format.
Security Question: It is used as an authenticator provides an extra security.
18
6.1.3.Module – 3:
Passport status:
When user need a passport details ,he can login the page and view the
passport status. Status values are Pending and Ready to Deliver which can be
checked by this view status page
6.1.4.Module – 4 :
Adminpage – PageSelectionModule:
When the person login the Admin page it will reach the Admin login .
Moves to the passport registration form when he clicks the passport apply form
button. Moves to the view status when he clicks the passport status button.
6.1.5.Module – 5:
Passportregistrationform:
When he clicks the passport apply form button, it will reach passport
registration form page. Admin has to fill the details and submit. This Registration
form includes the personal profile of the user. The following details first name ,sur
name, email id,DOB,address,district,state,Gender,photo of the user,photo name are
to be filled by the user.
6.1.6.Module - 6:
ChangePassportStatus:-
When the passport is pending or ready ,it will reach the change passport status
page. Passport number: Customer Passport number.
19
CHAPTER 7
CONCLUSIONS
20
{
public ApplyPassport()
{
InitializeComponent();
}
SqlConnection conn;
public void OpenDB()
{
conn = new SqlConnection(@"Data Source=VENKAT-KRISHIV\MSSQLSERVER01;Integrated
Security=true;Initial Catalog=PassportVerificationSystem");
conn.Open();
}
private void btn_Submit_Click(object sender, EventArgs e)
{
}
private void NewUserForm_Load(object sender, EventArgs e)
{
}
private void btn_Cancel_Click(object sender, EventArgs e)
{
Login login = new Login();
login.Show(); this.Hide();
}
private void btn_Submit_Click_1(object sender, EventArgs e)
{
try
{
OpenDB();
string DOB = Wikitechy.UserDetails.GetDate(dateTimePicker1.Value);
Random r = new Random();
int n = r.Next(0, 20000);
stringmyQuery="insertpassport_details(FirstName,SurName,Email,DOB,[Address],District,
[State]Gender,photo,PassportRefNumber,PPStatus) values('" + txt_FirstName.Text + "' , '" +
txt_surname.Text + "' , '" + txt_Email.Text + "' , '" + DOB + "' , '" + txt_Address.Text + "' , '" +
21
txt_District.Text + "' , '" + txt_State.Text + "' , '" + cmb_gender.Text + "' , '" +
txt_PhotoName.Text + "' , " + n.ToString() + "' , '" + "Pending" +")";
SqlCommandcmd = new SqlCommand(myQuery, conn);
cmd.CommandType = CommandType.Text;
int i = cmd.ExecuteNonQuery();
string myQuery1 = "select id from passport_details order by id desc";
SqlCommand cmd1 = new SqlCommand(myQuery1, conn);
SqlDataAdapter da = new SqlDataAdapter();
DataSet ds = new DataSet();
da.SelectCommand = cmd1;
da.Fill(ds);
int id = Convert.ToInt32(ds.Tables[0].Rows[0][0]);
string myQuery2 = "insert into
passport_logindetails(Id,username,pwd,Security_Question,Security_Password) values(" + id + ", '"
+ txt_UserName.Text + "' , '" + txt_Password.Text + "' , '" +
cmb_secQuestion.SelectedItem.ToString() + "' , '" + txt_SecAnswer.Text + "')";
SqlCommand cmd2 = new SqlCommand(myQuery2, conn);
cmd2.CommandType = CommandType.Text;
int i2 = cmd2.ExecuteNonQuery();if (i2 > 0)
{
MessageBox.Show("Your Passport Reference Number is :" + n.ToString());
}
else
MessageBox.Show("Issue in amending the user data");
}
catch (Exception ex)
{
MessageBox.Show("Error in User Addition. Please check the input data");
}
}
private void button1_Click(object sender, EventArgs e)
{
openFileDialog1.Filter = "Image Files(*.jpg; *.jpeg; *.gif; *.bmp)|*.jpg; *.jpeg; *.gif; *.bmp";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
22
pictureBox1.Image = new Bitmap(openFileDialog1.FileName);
txt_PhotoName.Text = openFileDialog1.FileName;
Image img = pictureBox1.Image;
img.Save(txt_FirstName.Text + "-" + txt_surname.Text + ".jpg");
}
}
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
this.Close();
}
}
}
namespace PassportVerificationSystem
{
partial class ApplyPassport
{
namespace PassportVerificationSystem
{
public partial class Change_Status : Form
{
public Change_Status()
{
InitializeComponent();
}
FILE 2:-
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
23
using Wikitechy;
namespace PassportVerificationSystem
{
public partial class ViewStatus : Form
{
public ViewStatus()
{
InitializeComponent();
}
private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
SqlConnection conn;
public void OpenDB()
{
conn = new SqlConnection(@"Data Source=VENKAT-KRISHIV\MSSQLSERVER01;Integrated
Security=true;Initial Catalog=PassportVerificationSystem");
conn.Open();
}
private void ViewStatus_Load(object sender, EventArgs e)
{
OpenDB();
string name = UserDetails.Username;
DataSet ds = new DataSet();
SqlDataAdapter adapter = new SqlDataAdapter();
SqlCommandcmd = new SqlCommand("SELECT b.username,a.FirstName,a.SurName,a.PPStatus
FROM [passport_details] a inner join dbo.passport_logindetails b on a.Id = b.Id where a.
[PPStatus] ='Ready to Collect' b.username='" + name + "'", conn);
cmd.CommandType = CommandType.Text;
adapter.SelectCommand = cmd;
adapter.Fill(ds);
conn.Close();
}
}
}
24
APPENDIX-II (SNAP SHOTS)
25
26