Professional Documents
Culture Documents
INTRODUCTION
CHAPTER-1
INTRODUCTION
1.1 Objectives.
Every year the company is designing new apartments and it’s a difficult
to manage the records of each and every apartment in the manual system.
It will not only take a lot of time but also it increases the chances of errors.
Its create problem when you need details of any particular project all
these problems lead to the rise of an alternate option.
SOFTWARE COMPONENTS
CHAPTER-2
SOFTWARE COMPONENTS
Features:
Easily design great-looking and easy-to-use applications using an intuitive,
drag-and-drop interface designer.
Built-in support for Windows XP Themes lets you easily create
applications with a Windows XP look and feel.
Over 30 new controls simplify development.
In-place menu editor enables quick and easy creation of main menus and
right-click context menus.
My namespace provides intuitive access to common functions working
with files, accessing the registry, and utilizing applications settings and
resources.
CHAPTER 3
REQIREMENTS AND SPECIFICATIONS
3.1.1 Scope
RAM : 1 GB or more.
SYSTEM DESIGN
CHAPTER-4
SYSTEM DESIGN
and the required data resources. The logical design also specifies input forms and
screen layouts.
The activities following logical design are the procedure followed in the physical
design e.g., producing programs, software, file and a working system. Design
specifications instruct the user about what system should do.
Level 0:
Level 1:
Admin or Employee
Valid
Main Screen
ERDIAGRAM
APARTMENT MANAGEMENT
We had plenty of options to select the technology and tools. The selection
criteria we set are as detailed below:
The technology and upgrading the system very easy and less costly.
The technology selected should be platform independent.
The language should be easy and robust; making is simpler to learn
for the new members.
The application must be browser independent.
TESTING
CHAPTER-5
TESTING
5.1 TESTING
The development of software systems involves a series of production
activities where opportunities for injections of human fallibilities are enormous.
Errors may begin to occur at very inception of the process where the objectives,
may be erroneously or imperfectly specified, as well as in later design and
development stages. Because of human inability to perform and communicate in
perfection, software development is accompanied by quality assurance activity.
Generally Black Box testing is applied for high level testing such as system
testing, acceptance testing.
Unit Testing
Integration Testing
Acceptance Testing
Unit Testing:
Integrated Testing:
With unit testing the modules may function properly, but at time they may
have inadvertent, adverse effect on another; sub function, when combined, may
not produce the desired major function; Individually acceptable impression may
be magnified to unacceptable level; global data structures may present problems.
Integration testing is symmetric technique for constructing the program
structure while at the same time conducting tests to uncover errors associated
with interfacing. The objective is to take unit tested modules and builds a program
structure that has been dictated by the design.
Acceptance Testing:
Functional test is the exercising of the code with nominal input values for which
the expected values for which the expected values for which the expected values
are known.
Performance test determines the amount of execution time spent in various parts
of the unit, program throughput and response time. This test is productive at the
subsystem and system level.
Stress test is designed to intentionally break the unit and the strength and the
limitation of the program are examined.
CHAPTER 6
I/O SCREENS
6.10RESIDENT REPORTS
VALIDATION
CHAPTER-7
Validation
loginform1.show()
End If
End Sub
Imports System.Data.SqlClient
Public Class LoginForm1
End Sub
Imports System.Windows.Forms
PublicClassMDIParent1
m_ChildFormNumber += 1
ChildForm.Text = "Window "& m_ChildFormNumber
ChildForm.Show()
EndSub
If (SaveFileDialog.ShowDialog(Me) =
System.Windows.Forms.DialogResult.OK) Then
Dim FileName AsString = SaveFileDialog.FileName
' TODO: Add code here to save the current contents of the
form to a file.
EndIf
EndSub
Me.Close()
EndSub
PrivateSub TileHorizontalToolStripMenuItem_Click(ByVal
sender AsObject, ByVal e AsEventArgs)
Me.LayoutMdi(MdiLayout.TileHorizontal)
EndSub
PrivateSub ArrangeIconsToolStripMenuItem_Click(ByVal sender
AsObject, ByVal e AsEventArgs)
Me.LayoutMdi(MdiLayout.ArrangeIcons)
EndSub
Privatem_ChildFormNumberAsInteger
PrivateSub
ResidentRegistrationToolStripMenuItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
ResidentRegistrationToolStripMenuItem.Click
ResidentRegistration.MdiParent = Me
ResidentRegistration.Show()
EndSub
PrivateSub
EmployeeRegistrationToolStripMenuItem_Click(ByVal sender
AsSystem.Object, ByVal e As System.EventArgs) Handles
EmployeeRegistrationToolStripMenuItem.Click
EmpRegistration.MdiParent = Me
EmpRegistration.Show()
EndSub
PrivateSub ResidentReportToolStripMenuItem_Click(ByVal
sender As System.Object, ByVal e As System.EventArgs)
Handles ResidentReportToolStripMenuItem.Click
ResidentReport.MdiParent = Me
ResidentReport.Show()
EndSub
PrivateSub EmployeeReportToolStripMenuItem_Click(ByVal
sender As System.Object, ByVal e As System.EventArgs)
Handles EmployeeReportToolStripMenuItem.Click
EmployeeReport.MdiParent = Me
EmployeeReport.Show()
EndSub
PrivateSub VehicleReportToolStripMenuItem_Click(ByVal
sender As System.Object, ByVal e As System.EventArgs)
Handles VehicleReportToolStripMenuItem.Click
VehicleReport.MdiParent = Me
VehicleReport.Show()
EndSub
Logins.Show()
Me.Hide()
EndSub
EndSub
EndSubEndClass
PublicClassLogins
EmpLogin.Show()
EndSub
EndClass
EMPLOYEE LOGIN
PublicClassLogins
Imports System.Windows.Forms
PublicClassMDIParent2
m_ChildFormNumber += 1
ChildForm.Text = "Window "& m_ChildFormNumber
ChildForm.Show()
EndSub
OpenFileDialog.InitialDirectory =
My.Computer.FileSystem.SpecialDirectories.MyDocuments
If (OpenFileDialog.ShowDialog(Me) =
System.Windows.Forms.DialogResult.OK) Then
If (SaveFileDialog.ShowDialog(Me) =
System.Windows.Forms.DialogResult.OK) Then
Dim FileName AsString = SaveFileDialog.FileName
' TODO: Add code here to save the current contents of the
form to a file.
EndIf
EndSub
EndSub
'Use My.Computer.Clipboard.GetText() or
My.Computer.Clipboard.GetData to retrieve information from
the clipboard.
EndSub
EndSub
Me.LayoutMdi(MdiLayout.TileVertical)
EndSub
PrivateSub TileHorizontalToolStripMenuItem_Click(ByVal
Privatem_ChildFormNumberAsInteger
PrivateSub
VehicleRegistrationToolStripMenuItem_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
VehicleRegistrationToolStripMenuItem.Click
' VehicleRegistration.MdiParent2 = Me
VehicleRegistration.Show()
EndSub
PrivateSub TrackVehiclesToolStripMenuItem_Click(ByVal
sender As System.Object, ByVal e As System.EventArgs)
Handles TrackVehiclesToolStripMenuItem.Click
' TrackVehicles.MdiParent2 = Me
TrackVehicles.Show()
EndSub
PrivateSub VisitorTrackingToolStripMenuItem_Click(ByVal
sender As System.Object, ByVal e As System.EventArgs)
Handles VisitorTrackingToolStripMenuItem.Click
' VisitorTracking.MdiParent2 = Me
VisitorTracking.Show()
EndSub
Logins.Show()
Me.Hide()
EndSub
RESIDENT REGISTRATION
Imports System.Data.SqlClient
Imports System.Text.RegularExpressions
PublicClassResidentRegistration1
Dim pkvar AsString
PrivateSub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
Conn.Open()
ComboBox3.Text = ""
ComboBox4.Text = ""
ComboBox5.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
EndSub
SubSaveRecord()
If TextBox1.Text = ""Then
MsgBox("Please enter the necessary details")
Exit Sub
EndIf
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim Cmd0 AsNewSqlCommand("select Apartment_number from
ResidentReg where Apartment_number='"& ComboBox1.Text &"'",
Conn)
Dim D1 AsSqlDataReader = Cmd0.ExecuteReader()
If D1.HasRows Then
MsgBox("This record is allready present in the database")
EndIf
a = ComboBox1.Text
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
q1Var = "insert into ResidentReg("
q2Var = " values("
q1Var = q1Var &"Apartment_number"&","
q2Var = q2Var &"'"& a &"',"
q1Var = q1Var &"Name"&","
q2Var = q2Var &"'"& TextBox1.Text &"',"
q1Var = q1Var &"Age"&","
ComboBox3.Text = ""
ComboBox4.Text = ""
ComboBox5.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
EndSub
Conn.Open()
Dim cmd1 AsNewSqlCommand("Delete from ResidentReg where
Apartment_number='"& ComboBox1.Text &"'", Conn)
cmd1.ExecuteNonQuery()
If Conn.State = ConnectionState.Open ThenConn.Close()
ComboBox3.Text = ""
ComboBox4.Text = ""
ComboBox5.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = "EndSub
TextBox1.Text = ""
EndSub
EndSub
Dim Expression
AsNewSystem.Text.RegularExpressions.Regex("\S+@\S+\.\S+")
IfExpression.IsMatch(TextBox5.Text) Then
MsgBox("The email address is valid.")
Else
EndIf
EndSub
EndSub
TextBox1.Text = ""
TextBox1.Focus()
EndIf
EndSub
EndSub
EndIf
EndSub
EndSub
IfNotRegex.Match(TextBox3.Text, "^[0-9]*$",
RegexOptions.IgnoreCase).Success Then
MsgBox("Please enter numbers only.")
TextBox3.Text = ""
TextBox3.Focus()
EndIf
EndSub
EndSub
EndSub
EndSub
EndClass
Imports System.Data.SqlClient
PublicClassEmpLogin
If D1.HasRows Then
MDIParent2.Show()
Me.Hide()
If Conn.State = ConnectionState.Open ThenConn.Close()
Else
MsgBox("Username or Password is not correct please check")
EndIf
EndSub
EndSub
EndClass
Imports System.Data.SqlClient
Imports System.Text.RegularExpressions
PublicClassVehicleRegistration1
Dim pkVar AsString
SubSaveRecord()
If TextBox1.Text = ""Then
MsgBox("Please enter the necessary details")
Exit Sub
EndIf
disRecords()
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
EndSub
SubdisRecords()
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim DS1 AsNewDataSet
Dim adp AsNewSqlDataAdapter("Select * From Vehicletab order
by cardno", Conn)
adp.Fill(DS1)
DataGridView1.DataSource = DS1.Tables(0)
If Conn.State = ConnectionState.Open ThenConn.Close()
EndSub
PrivateSub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
If vbNo = MsgBox("Are you sure you want modify this record",
MsgBoxStyle.YesNo, "Modify") ThenExit Sub
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim cmd1 AsNewSqlCommand("Delete from Vehicletab where
cardno='"& pkVar &"'", Conn)
cmd1.ExecuteNonQuery()
If Conn.State = ConnectionState.Open ThenConn.Close()
SaveRecord()
ComboBox1.Text = ""
ComboBox2.Text = ""
ComboBox3.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
System.Windows.Forms.DataGridViewCellEventArgs) Handles
DataGridView1.CellContentClick
pkVar = DataGridView1.CurrentRow.Cells(0).Value
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim Cmd0 AsNewSqlCommand("select * from Vehicletab where
Cardno='"& pkVar &"'", Conn)
Dim D1 AsSqlDataReader = Cmd0.ExecuteReader()
If D1.HasRows Then
D1.Read()
TextBox1.Text = D1(0).ToString
ComboBox1.Text = D1(1).ToString
TextBox2.Text = D1(2).ToString
TextBox3.Text = D1(3).ToString
TextBox4.Text = D1(4).ToString
ComboBox2.Text = D1(5).ToString
ComboBox3.Text = D1(6).ToString
Else
ComboBox1.Text = ""
ComboBox2.Text = ""
ComboBox3.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
EndIf
EndSub
disRecords()
EndSub
ComboBox1.Text = ""
ComboBox2.Text = ""
ComboBox3.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
EndSub
EndSub
EndSub
EndClass
Imports System.Data.SqlClient
Imports System.Text.RegularExpressions
PublicClassEmpRegistration
Dim pkvar AsString
Dim q1Var, q2Var AsString
EndSub
SubSaveRecord()
If TextBox1.Text = ""Then
MsgBox("Please enter the necessary details")
Exit Sub
EndIf
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim Cmd0 AsNewSqlCommand("select empid from Employeetab
where empid='"& TextBox1.Text &"'", Conn)
Dim D1 AsSqlDataReader = Cmd0.ExecuteReader()
If D1.HasRows Then
MsgBox("This record is allready present in the database")
If Conn.State = ConnectionState.Open ThenConn.Close()
Exit Sub
EndIf
disRecords()
EndSub
SubdisRecords()
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim DS1 AsNewDataSet
Dim adp AsNewSqlDataAdapter("Select
empid,name,age,designation,date,address,phoneno,salary
From Employeetab order by empid", Conn)
adp.Fill(DS1)
DataGridView1.DataSource = DS1.Tables(0)
If Conn.State = ConnectionState.Open ThenConn.Close()
EndSub
EndSub
System.Windows.Forms.DataGridViewCellEventArgs) Handles
DataGridView1.CellContentClick
pkvar = DataGridView1.CurrentRow.Cells(0).Value
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim Cmd0 AsNewSqlCommand("select * from Employeetab where
empid='"& pkvar &"'", Conn)
Dim D1 AsSqlDataReader = Cmd0.ExecuteReader()
If D1.HasRows Then
D1.Read()
TextBox1.Text = D1(0).ToString
TextBox2.Text = D1(1).ToString
TextBox3.Text = D1(2).ToString
ComboBox1.Text = D1(3).ToString
RichTextBox1.Text = D1(5).ToString
TextBox7.Text = D1(6).ToString
TextBox8.Text = D1(7).ToString
Else
ComboBox1.Text = ""
RichTextBox1.Text = ""
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
EndIf
If Conn.State = ConnectionState.Open ThenConn.Close()
EndSub
Conn.Open()
Dim cmd1 AsNewSqlCommand("Delete from Employeetab where
empid='"& pkvar &"'", Conn)
cmd1.ExecuteNonQuery()
If Conn.State = ConnectionState.Open ThenConn.Close()
SaveRecord()
TextBox2.Text = ""
TextBox3.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
EndSub
EndSub
EndSub
EndSub
EndSub
EndSub
EndSub
EndSub
EndSub
EndClass
Imports System.Data.SqlClient
Imports System.Text.RegularExpressions
PublicClassDueEntry
Conn.Open()
q1Var = "insert into dueentry("
q2Var = " values("
q1Var = q1Var &"name"&","
disRecords()
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
EndSub
SubdisRecords()
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim DS1 AsNewDataSet
DataGridView1.DataSource = DS1.Tables(0)
If Conn.State = ConnectionState.Open ThenConn.Close()
EndSub
IfNotRegex.Match(TextBox3.Text, "^[0-9]*$",
RegexOptions.IgnoreCase).Success Then
MsgBox("Please enter numbers only.")
TextBox3.Text = ""
TextBox3.Focus()
EndIf
EndSub
EndSub
EndSub
EndSub
EndClass
Imports System.Data.SqlClient
Imports System.Text.RegularExpressions
PublicClassDueDisplay
If D1.HasRows Then
D1.Read()
ComboBox1.Text = D1(0).ToString
EndIf
EndSub
Subdisrecords()
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim ds1 AsNewDataSet
Dim adp AsNewSqlDataAdapter("select * from dueentry where
name='"& ComboBox1.text &"'", Conn)
adp.Fill(ds1)
dg1.DataSource = ds1.Tables(0)
If Conn.State = ConnectionState.Open ThenConn.Close()
EndSub
Imports System.Data.SqlClient
PublicClassDueEntry1
PrivateSub Button1_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button1.Click
If vbNo = MsgBox("Are you sure you want modify this record",
MsgBoxStyle.YesNo, "Delete") ThenExit Sub
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim cmd1 AsNewSqlCommand("Delete from dueentry where
name='"& ComboBox1.Text &"'", Conn)
cmd1.ExecuteNonQuery()
If Conn.State = ConnectionState.Open ThenConn.Close()
SaveRecord()
EndIf
a = ComboBox1.Text
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
q1Var = "insert into dueentry("
q2Var = " values("
q1Var = q1Var &"name"&","
q2Var = q2Var &"'"& ComboBox1.Text &"',"
q1Var = q1Var &"elebill"&","
q2Var = q2Var &"'"& TextBox1.Text &"',"
q1Var = q1Var &"waterbill"&","
q2Var = q2Var &"'"& TextBox2.Text &"',"
q1Var = q1Var &"maintainancecharge"&","
q2Var = q2Var &"'"& TextBox3.Text &"',"
q1Var = q1Var &"parking"&","
q2Var = q2Var &"'"& TextBox4.Text &"',"
q1Var = q1Var &"rent"&","
q2Var = q2Var &"'"& TextBox5.Text &"',"
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
EndSub
EndSub
EndSub
EndClass
Imports System.Data.SqlClient
PublicClassEmployeeReport
XPos = 10
e.Graphics.DrawString("Cust Care Administration", MyFont,
Brushes.Black, XPos, YPos)
YPos += 50
MyFont = NewFont("Arial", 12)
e.Graphics.DrawString("No. 101, 4th floor, UB City,
Bangalore - 560001", MyFont, Brushes.Black, XPos, YPos)
YPos += 100
XPos = 10
e.Graphics.DrawString("Employee List Report", MyFont,
Brushes.Black, XPos, YPos)
YPos += 50
XPos = 10
MyFont = NewFont("Arial", 12)
e.Graphics.DrawString("empid", MyFont, Brushes.Black, XPos,
YPos)
XPos = XPos + 150
e.Graphics.DrawString("name", MyFont, Brushes.Black, XPos,
YPos)
XPos = XPos + 150
YPos += 25
ForEach r AsDataGridViewRowIn DataGridView1.Rows
XPos = 10
e.Graphics.DrawString(r.Cells(0).Value, MyFont,
Brushes.Black, XPos, YPos)
YPos += 25
Next
EndSub
EndSub
EndClass
Imports System.Data.SqlClient
Imports System.Text.RegularExpressions
PublicClassTrackVehicles
Conn.Open()
Dim cmd0 AsNewSqlCommand("select * from vehicletab where
cardno ='"& TextBox1.Text &"'", Conn)
D1.Read()
TextBox1.Text = D1(0).ToString
TextBox6.Text = D1(5).ToString
TextBox2.Text = D1(2).ToString
TextBox3.Text = D1(4).ToString
TextBox4.Text = D1(3).ToString
TextBox5.Text = D1(1).ToString
Me.BackColor = Color.Green
Else
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
Me.BackColor = Color.Red
EndIf
If Conn.State = ConnectionState.Open ThenConn.Close()
EndSub
adapter.Fill(table)
DataGridView1.DataSource = table
EndSub
EndSub
EndClass
Imports System.Data.SqlClient
PublicClassVehicleReport
Me.Close()
EndSub
YPos += 50
XPos = 10
MyFont = NewFont("Arial", 12)
e.Graphics.DrawString("Card Number", MyFont, Brushes.Black,
XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString("Model", MyFont, Brushes.Black, XPos,
YPos)
XPos = XPos + 150
YPos += 25
ForEach r AsDataGridViewRowIn DataGridView1.Rows
q1Var = r.Cells(1).Value &" : "&
r.Cells(2).Value
XPos = 10
e.Graphics.DrawString(r.Cells(0).Value, MyFont,
Brushes.Black, XPos, YPos)
XPos = XPos + 150
e.Graphics.DrawString(r.Cells(1).Value, MyFont,
Brushes.Black, XPos, YPos)
Next
EndSub
EndSub
EndClass
Imports System.Data.SqlClient
PublicClassViewVisitors
PrivateSub Button2_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles Button2.Click
Me.Close()
MDIParent1.Show()
EndSub
EndSub
SubdisRecords()
If Conn.State = ConnectionState.Open ThenConn.Close()
Conn.Open()
Dim DS1 AsNewDataSet
Dim adp AsNewSqlDataAdapter("Select
Name,Phone_Number,From1,Date From VisitorTrack order by
Name", Conn)
adp.Fill(DS1)
DataGridView1.DataSource = DS1.Tables(0)
If Conn.State = ConnectionState.Open ThenConn.Close()
EndSub
Imports System.Data.SqlClient
Imports System.Text.RegularExpressions
PublicClassVisitorTracking
Label2.Hide()
Label3.Hide()
TextBox1.Hide()
TextBox2.Hide()
Button2.Hide()
Button3.Hide()
EndSub
Else
Label3.Show()
TextBox2.Show()
Button3.Show()
Label2.Hide()
TextBox1.Hide()
Button2.Hide()
EndIf
EndSub
If D1.HasRows Then
D1.Read()
TextBox3.Text = D1(0)
TextBox4.Text = D1(1)
TextBox5.Text = D1(2)
TextBox6.Text = D1(3)
TextBox10.Text = D1(4)
Else
MsgBox("Resident does not exist")
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox10.Text = ""
EndIf
If Conn.State = ConnectionState.Open ThenConn.Close()
EndSub
Else
MsgBox("Resident does not exist")
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox10.Text = ""
EndIf
If Conn.State = ConnectionState.Open ThenConn.Close()
EndSub
EndSub
SaveRecord()
EndSub
SubSaveRecord()
Dim b AsString
If TextBox7.Text = ""Then
MsgBox("Please enter the necessary details")
Exit Sub
EndIf
a = TextBox7.Text
b = TextBox8.Text
SerialPort1.WriteLine("AT"& vbCrLf)
Threading.Thread.Sleep(2000)
SerialPort1.WriteLine("AT+CMGF=1"& vbCrLf)
Threading.Thread.Sleep(2000)
SerialPort1.WriteLine("AT+CMGS="& TextBox10.Text &""&
vbCrLf) ' enter the mobile number whom you want to send the
SMS
Threading.Thread.Sleep(2000)
Threading.Thread.Sleep(2000)
SerialPort1.WriteLine("VISITOR : NAME : " + a + " PHONE
NUMBER :" + b + " IF UNKNOWN PERSON PLEASE CALL SECURITY"&
vbCrLf)
SerialPort1.WriteLine(Chr(26)) 'SMS sending
MsgBox("Message Sent")
EndSub
EndSub
EndSub
EndSub
EndSub
EndSub
EndIf
EndSub
EndSub
IfNotRegex.Match(TextBox6.Text, "^[0-9]*$",
RegexOptions.IgnoreCase).Success Then
MsgBox("Please enter numbers only.")
TextBox6.Text = ""
TextBox6.Focus()
EndIf
EndSub
EndSub
IfNotRegex.Match(TextBox8.Text, "^[0-9]*$",
RegexOptions.IgnoreCase).Success Then
EndSub
CHAPTER-8
CONCLUSION
FUTURE ENHANCEMENT
Apartment Management Project deals with registering and tracking the residents
and vehicles. The main objective of this project is to track the visitors and
vehicles. Here the card numbers are entered manually. So in the future tracking
can be done easily by using RFID as residents will be provided with the unique
ID cards to track the vehicles and the visitors .As the visitors or vehicle holders
will tap the cards on the RFID, visitors or vehicles will be allowed if the card is
recognised.
CHAPTER-9
BIBILOGRAPHY
The following material was used as the references during the course of the project.
Text Books
www.google.co.in