Академический Документы
Профессиональный Документы
Культура Документы
INTRODUCTION TO PROJECT
This project is developed to fulfill the requirements of
any information regarding the boarder living in Government
Girls Hostel , VGC Mandi. This project is very helpful to keep
record of student personal information as well as their other
important details like Academic records etc. The future scope of
this project is very bright because if any authorized person
wants to get information about the boarder who has lived in the
hostel can be easily sort out.
There are also some other benefits of this project. For
example, if any boarder is found faulty then fault can be
corrected by giving information to the parents or guardians.
This project is very easy to user and simply editing the
record does the maintenance of the records. The project is
secured by providing it with password and access level for
security purposes so that this software is used properly and can
be accessed by the authorized user only who knows the
password.
OBJECTIVES
The main objectives of this project
NEED OF PROJECT
CHAPTER 2
ACTIVITIES OF SDLC
Recognition of needs
Feasibility study
Analysis
Designing
Coding
Testing
Implementation
Post Implementation and Maintenance
RECOGNITION OF NEED
Recognition of need is a kind of document generated by a
user and problem statement is a written document that will tell
software developer what to develop.
FEASIBILITY STUDY:
In this phase, we access whether or not a project should
be undertaken. This stage involves defining the problem and
fixing up its boundaries.
REQUIREMENT ANALYSIS:
In this phase the user requirement are studied and
analyzed. The technical development team works with the
customer and system end users to identify the various
requirements related to the system to be developed.
8
DESIGNING:
This is the phase where new system is designed
according to the needs of the user. In this phase the
specification of each and every component of the project is laid
down.
CODING:
This is the phase where system is actually developed.
The system design is coded in some suitable programming
language in this phase.
TESTING:
In this phase, the system is judged for all its worth.
During this phase, the developed system is reviewed against
each and every customer requirement specification.
IMPLEMENTATION:
This is the phase in which the development system is
handed over to the client. The old system is dispensed, new
system is put into operation for use and all personnel are trained
to
manage
and
maintain
the
new
system.
10
CHAPTER -3
11
PROBLEM STATEMENT
Problem statement was to design a module:
Which will be user friendly?
Which will restrict the user from accessing other users
data?
Which will help the user in viewing his data and
privileges?
Which will help the administrator to handle all changes?
In which further additions can be made without changing
its design drastically.
Which would restrict the server traffic?
12
FUNCTIONS TO BE PROVIDED
The various features that the proposed system will possess
will be:
The system will be user friendly and completely menudriven so that users shall have no problem in using all the
options provided.
The system will be efficient and fast in response by
careful programming
FEASIBILITY STUDY
An important outcome in the preliminary investigation is
to determine that the system requested is feasible. Three key
considerations involved in feasibility analysis.
TECHNICAL
ECONOMIC
OPERATIONAL
We determine the performance and cost effectiveness of the
proposed system and constraints, it is recommended in
feasibility report.
13
Technical feasibility
REQUIREMENT ANALYSIS
It is the detail study of the various operations performed
by the system and their relationship with in & outside the
organization. The key question is:
What must be done to solve the problem?
16
SOFTWARE REQUIREMENTS
SPECIFICATION
SOFTWARE REQUIREMENTS
Front end- vb.net
Back end- MS-Access
17
HARDWARE REQUIREMENTS
Processor Pentium 4 or Higher.
Monitor: - Color Monitor Having Pixel Setting
(800*600), True colors.
Hard Disk: - 80GB or more
RAM: - 512MB RAM or more
Floppy Disk Drive: - 1.44
Mouse Keyboard.
Printer
DESIGNING
The most creative and challenging phase of the system
development life cycle is system design. The term design
describes a final system and the process by which it is
developed, i.e. we have moved from logical to physical
aspect of life cycle, the key question in case of designing is
How the problem should be solved?
The
19
CHAPTER -4
20
SQUARE:
Describe the Source and Destination of
data or information. The Source Must is
written in capital letters.
BUBBLE:
A Circle used to show the Process. These
can be number of process in a program.
Each process must be assign a suitable
number
21
OPEN RECTANGLE:
An Open Rectangle Used to describe the
storage of database
22
23
CHAPTER-5
24
PHOTO GALLERY
SPLASH WINDOW
25
LOGIN SCREEN
26
27
28
29
30
31
32
33
34
CHAPTER - 6
35
SOURCE CODING
SPLASH WINDOW
Public Class splash
Private Sub splash_KeyPress(ByVal sender As Object,
ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles
Me.KeyPress
login.Show()
Me.Close()
End Sub
LOG IN SCREEN
Public Class Login
Dim ctr As Integer
Private Sub Login_Load(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Load
getconnected()
TextBox2.PasswordChar = "*"
End Sub
Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
Dim str As String
str = " select * from users where userid='" &
TextBox1.Text & "' and pwd='" & TextBox2.Text & "'"
cn.open()
scommand(str)
If dr.read() Then
MsgBox("WELCOME TO HOSTEL MANAGEMENT SYSTEM")
Form1.Show()
Me.Close()
Else
ctr += 1
If ctr < 3 Then
MsgBox("Either username or passward is
wrong!! Try Again", MsgBoxStyle.Information)
Else
MsgBox("Unauthorised user !! Now Exiting",
MsgBoxStyle.Critical)
End
End If
End If
cn.close()
End Sub
End Class
36
37
Private Sub
ViewStudentsRoomsReportToolStripMenuItem_Click(ByVal sender
As System.Object, ByVal e As System.EventArgs) Handles
ViewStudentsRoomsReportToolStripMenuItem.Click
StudentRooms.MdiParent = Me
StudentRooms.Show()
End Sub
Private Sub HostelToolStripMenuItem_Click(ByVal sender
As System.Object, ByVal e As System.EventArgs) Handles
HostelToolStripMenuItem.Click
HostelInfo.MdiParent = Me
HostelInfo.Show()
End Sub
End Class
APPLICATION FORM
Public Class Students
Dim str As String
Private Sub Students_Load(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
Me.WindowState = FormWindowState.Maximized
getconnected()
fillList()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
str = "insert into studentDetails values('" &
TextBox1.Text & "','" & TextBox2.Text & "',"
If RadioButton1.Checked Then
str = str & "'Old','"
Else
str = str & "'Fresh','"
End If
str = str & TextBox3.Text & "','" & TextBox4.Text &
"','" & TextBox5.Text & "',"
If RadioButton3.Checked Then
str = str & "'Yes','"
Else
str = str & "'No','"
End If
str = str & TextBox6.Text & "','" & TextBox7.Text &
"',"
If RadioButton5.Checked Then
str = str & "'Married',"
ElseIf RadioButton6.Checked Then
38
=
=
=
=
=
=
=
=
=
False
False
False
False
False
False
False
False
False
End Sub
Private Sub fillList()
ListBox1.Items.Clear()
str = "select * from StudentDetails"
cn.Open()
scommand(str)
While dr.Read
ListBox1.Items.Add(dr(1) & "/" & dr(3) & "/" &
dr(0))
End While
cn.Close()
End Sub
Private Sub ListBox1_SelectedIndexChanged(ByVal sender
As System.Object, ByVal e As System.EventArgs) Handles
ListBox1.SelectedIndexChanged
On Error GoTo xx
Dim n As Integer
n = InStr(ListBox1.SelectedItem, "/")
39
n -= 1
str = Mid(ListBox1.SelectedItem, 1, n)
str = "select * from studentdetails where
CRollNo='" & str & "'"
cn.Open()
scommand(str)
If dr.Read Then
TextBox1.Text = dr(0)
TextBox2.Text = dr(1)
If dr(2) = "Old" Then
RadioButton1.Checked = True
Else
RadioButton2.Checked = True
End If
TextBox3.Text = dr(3)
TextBox4.Text = dr(4)
TextBox5.Text = dr(5)
If dr(6) = "Yes" Then
RadioButton3.Checked = True
Else
RadioButton4.Checked = True
End If
TextBox6.Text = dr(7)
TextBox7.Text = dr(8)
If dr(9) = "Married" Then
RadioButton5.Checked = True
ElseIf dr(9) = "Unmarried" Then
RadioButton6.Checked = True
Else
RadioButton7.Checked = True
End If
If dr(10) = "Cubical" Then
RadioButton8.Checked = True
Else
RadioButton9.Checked = True
End If
TextBox8.Text = dr(11)
TextBox9.Text = dr(12)
End If
PictureBox1.Load("D:\HostelManagement\images\"
& dr(3) & ".jpg")
cn.Close()
Exit Sub
xx:
cn.Close()
PictureBox1.Load("D:\HostelManagement\images\na.jpg")
End Sub
Private Sub Button3_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Button3.Click
str = "delete from studentDetails where CRollNo='"
& TextBox2.Text & "'"
Dcommand(str)
MsgBox("Record removed")
40
clearform()
fillList()
End Sub
Private Sub Button2_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Button2.Click
str = "update studentDetails set class='" &
TextBox1.Text & "', Sname='" & TextBox3.Text & "',
FatherName='" & TextBox4.Text & "', Address='" &
TextBox5.Text & "',LRollNo='" & TextBox6.Text & "',
LClass='" & TextBox7.Text & "', AdmDate='" & TextBox8.Text
& "', AppDate='" & TextBox9.Text & "',"
If RadioButton1.Checked Then
str = str & "AdmType='Old',"
Else
str = str & "AdmType='Fresh',"
End If
If RadioButton3.Checked Then
str = str & "Category='Yes',"
Else
str = str & "Category='No',"
End If
If RadioButton8.Checked Then
str = str & "RType='Cubical',"
Else
str = str & "RType='Domitary',"
End If
If RadioButton5.Checked Then
str = str & "Marital='Married' "
ElseIf RadioButton6.Checked Then
str = str & "Marital='Unmarried' "
Else
str = str & "Marital='Divorsed' "
End If
str = str & " where CRollNo='" & TextBox2.Text &
"'"
Dcommand(str)
MsgBox("Changed Successfully")
clearform()
fillList()
End Sub
41
Button3.Enabled = False
End Sub
Private Sub Button1_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
str = "Select * from RoomAllot where RollNo='" &
TextBox1.Text & "'"
cn.Open()
scommand(str)
If dr.Read Then
MsgBox(dr(1) & " Already allotted to the
Student")
cn.Close()
clearForm()
Else
cn.Close()
str = "Select * from StudentDetails where
CRollNo='" & TextBox1.Text & "'"
cn.Open()
scommand(str)
If dr.Read Then
TextBox2.Text = dr(0)
TextBox3.Text = dr(3)
TextBox4.Text = dr(4)
TextBox5.Text = dr(5)
TextBox6.Text = dr(12)
TextBox7.Text = dr(10)
Else
MsgBox("Cannot find the record ! plz check
the roll no ")
clearForm()
End If
End If
cn.Close()
End Sub
Private Sub Button2_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
Button2.Click
fillList()
End Sub
Private Sub FillList()
ListBox1.Items.Clear()
str = "Select * from beds where stts='Available'"
cn.Open()
scommand(str)
While dr.Read
ListBox1.Items.Add(dr(1) & "/" & dr(0))
End While
cn.Close()
End Sub
42
43
scommand(Str)
If dr.Read Then
MsgBox("Already Received all dues from the
Student")
cn.Close()
clearForm()
Else
cn.Close()
Str = "Select * from StudentDetails where
CRollNo='" & TextBox1.Text & "'"
cn.Open()
scommand(Str)
If dr.Read Then
TextBox2.Text = dr(0)
TextBox3.Text = dr(3)
TextBox4.Text = dr(4)
TextBox5.Text = dr(5)
cn.Close()
Str = "Select * from RoomAllot where
RollNo='" & TextBox1.Text & "'"
cn.Open()
scommand(Str)
If dr.Read Then
TextBox6.Text = dr(1)
cn.Close()
Else
MsgBox("Before Accepting Fee ! first
Allot a Seat to the Student")
clearForm()
cn.Close()
End If
Else
MsgBox("No student details found ! First
Fill up admission form for the student")
cn.Close()
clearForm()
End If
End If
cn.Close()
End Sub
Private Sub clearForm()
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
TextBox9.Text = ""
TextBox10.Text = ""
TextBox11.Text = ""
DataGridView1.Rows.Clear()
End Sub
44
45
STUDENT REPORT
Public Class FeeReport
Private Sub FeeReport_Load(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
MyBase.Load
Me.WindowState = FormWindowState.Maximized
Dim cr As New FeeRcpt
cr.RecordSelectionFormula = "{FeeReceipt.rcptNo}='"
& rno & "'"
CRV1.ReportSource = cr
CRV1.Refresh()
End Sub
End Class
46
CONCLUSIONS
47
BIBLIOGRAPHY
48