eproperty project report

60
Project Courtesy : Readymadeproject Email : [email protected] Website : www.readymadeproject.com This project must be used for academic purpose only. Contact [email protected] for technical support, complete source code, documentation, Synopsis and Project Report of eProperty System at Rs. 1500/- only.

Upload: gaurav-bhagchandani

Post on 10-Apr-2015

1.210 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Eproperty Project Report

Project Courtesy : Readymadeproject

Email : [email protected]

Website : www.readymadeproject.com

This project must be used for academic purpose only. Contact [email protected] for technical support, complete source code, documentation, Synopsis and Project Report of eProperty System at Rs. 1500/- only.

Page 2: Eproperty Project Report

A project Report on

Estate Agent and Property Management System – eProperty

Bachelor of XXXXX XXXXXX

Of

XXXXXX UNVERSITY

By

Mr XXXXX CXXXXXX

Roll No : XXXXXX

Course : XXXXXX

Semester : Xth

Page 3: Eproperty Project Report

DECLARATION

I hereby declare that the project entitled “ ____ Estate Agent and Property Management

System (eProperty)____ “ submitted for the XXXX. degree of XXXXX University is my

original work and the project has not formed the basis for the award of any other degree,

association ship, fellowship or any other similar titles.

Place:

Date :

------------------------------

Signature of the Student

Mr. XXXX XXXXX

Roll No : 5XXXXX

Course : XXXXX

Semester : Xth

Page 4: Eproperty Project Report

ACKNOWLEDGEMENT

I would like to acknowledge our sincere thanks towards our study center, and its

faculties for their valuable guidance and suggestions that have resulted in the successful

completion of the project.

I am grateful to all those who have directly or indirectly helped me in completion of the

project.

Page 5: Eproperty Project Report

Table of Contents

ABSTARCT..............................................................................................................................................................................7

PROPERTY MANAGEMENT SYSTEM BENEFITS.......................................................................................................9

Scope and Features.............................................................................................................................10Master Modules..............................................................................................................................10Transaction Modules......................................................................................................................11Search / Query Module..................................................................................................................12

Out of Scope.......................................................................................................................................13Goal and objective..............................................................................................................................14Solution Concept................................................................................................................................14User Profiles.......................................................................................................................................15

PROBLEM STATEMENT..................................................................................................................................................16

Requirements Summary.....................................................................................................................16Business Requirements..................................................................................................................16User Requirements.........................................................................................................................16Operational Requirements..............................................................................................................17System Requirements.....................................................................................................................17

SYSTEM ARCHITECTURE..............................................................................................................................................18

High Level Solution Architecture......................................................................................................18Data Flow and Process Flow Chart....................................................................................................19Usage Summary.................................................................................................................................20

SOFTWARE AND HARDWARE REQUIREMENT.......................................................................................................21

General Requirement for Server/Client:........................................................................................21

DEVELOPMENT TOOLS AND TECHNOLOGIES.......................................................................................................21

DEVELOPMENT TOOLS AND TECHNOLOGIES.......................................................................................................22

VB 6...................................................................................................................................................22SQL Server.........................................................................................................................................22

DESIGN GOALS AND CONSTRAINTS...........................................................................................................................23

Performance.......................................................................................................................................23Availability.........................................................................................................................................23Reliability...........................................................................................................................................23Scalability...........................................................................................................................................23Security..............................................................................................................................................23Interoperability...................................................................................................................................23Location..............................................................................................................................................23Setup/Installation................................................................................................................................23

SYSTEM REQUIREMENT AND SPECIFICATION SRS..............................................................................................24

DATA DICTIONARY..........................................................................................................................................................26

Table : appointment............................................................................................................................26Table : clientmaster............................................................................................................................26Table : detailsend...............................................................................................................................27Table : incomingphone.......................................................................................................................28

Page 6: Eproperty Project Report

Table : keywords................................................................................................................................28Table : otgoingphone..........................................................................................................................29Table : offeracceptanceletter..............................................................................................................29Table : offerletter................................................................................................................................30Table : propertymaster.......................................................................................................................30Table : pwd.........................................................................................................................................31Table : solicitormaster........................................................................................................................32Table : user.........................................................................................................................................32Table : vendormaster..........................................................................................................................33

PROPERTY MANAGEMENT SYSTEM– DATA SCHEMA ER DIAGRAM.............................................................34

DATA FLOW DIAGRAM AND EVENT TABLE............................................................................................................35

Event Table........................................................................................................................................35DFD Context Diagram.......................................................................................................................35DFD Level 0 Diagram........................................................................................................................36DFD Level 1 Diagram (Match Property with Client)........................................................................36DFD Level 1 Diagram (Match Property with Client)........................................................................37DFD Level 2 Diagram (Client Registration)......................................................................................37DFD Level 2 Diagram (Client Registration)......................................................................................38DFD Level 3 Diagram (Vendor Delivery).........................................................................................39DFD Level 4 Diagram (Property Registration)..................................................................................40

SCREEN SHOT AND CODING.........................................................................................................................................41

Splash Screen.................................................................................................................................41Login..............................................................................................................................................42Main Screen...................................................................................................................................44Residential Property.......................................................................................................................51Commercial Property.....................................................................................................................72Floor Plan.......................................................................................................................................93Property Images.............................................................................................................................95Vendor Registration.......................................................................................................................99Client Registration.......................................................................................................................119Property History...........................................................................................................................142Search Builder..............................................................................................................................154Match Property.............................................................................................................................164Offer Letter...................................................................................................................................177Appointments...............................................................................................................................185Property Thumbnail.....................................................................................................................193

PROPERTY MANAGEMENT SYSTEM TEST PLAN.................................................................................................197

Introduction......................................................................................................................................197Test Scope........................................................................................................................................197Test Strategy.....................................................................................................................................197Preconditions....................................................................................................................................198Test Priorities...................................................................................................................................198Test Techniques...............................................................................................................................198Test Organization.............................................................................................................................199Roles and Responsibilities...............................................................................................................199Deliverables......................................................................................................................................199Test Environment.............................................................................................................................199

Page 7: Eproperty Project Report

Hardware and Software....................................................................................................................199Testing Automation Software..........................................................................................................200Application Configuration...............................................................................................................200Test Management.............................................................................................................................200Testing Schedules.............................................................................................................................200Threats to Testing.............................................................................................................................200

CONCLUSION AND FUTURE ENHANCEMENT.......................................................................................................201

BIBLIOGRAPHY...............................................................................................................................................................202

Websites...........................................................................................................................................202Books................................................................................................................................................202

Page 8: Eproperty Project Report

ABSTARCT

eProperty – is an Estate Agent and Property Management System is a user friendly contact and

property manager for real estate professionals. Save time and sell more by empowering to easily keep

track of leads, manage listings, and market to new prospects.

.

.

.

.

.

.

.

.

Estate Agent / Property Management System – eProperty is complete end to end solution to cover all

aspects of Estate Agent day to day activity and Property buying selling procedure for small and large

organization.

The basic objective of developing this project is:

Maintain client details line contact details, required property details, client type like residential

and commercial client. Price limit. Preference.

Maintain property details, registration of property for sale includes property address, property

description, price, facilities available. Store property floor plan, property documents. Creation

Page 9: Eproperty Project Report

of thumbnail of property images for brochure.

System has powerful logical access management in place, each user must be identified by

login id and strict password policy is applied to secure the system

Generate property thumbnail and details in html file to send client via email.

Page 10: Eproperty Project Report

Property Management System Benefits

Type of property and features searching for.

Match with properties for sale by number of bedrooms / price criteria.

Filter all views for easy record location

Allow easy entry of Property and Vendor details

Easy to use and impressive GUI.

Auto spells checker facility to check spelling and suggest for changes while entering data by

connecting MS Word spell checker.

Page 11: Eproperty Project Report

Scope and FeaturesFrom an end-user perspective, the Property Management System Project consists of three functional elements: Master Module, Transaction Modules and a Search and Query Module.

Master ModulesMaster module is developed to maintain property registration, floor plan and property images, maintain property document, client registration, vendor registration solicitor details, and user management.

Property Registration: This module is used to register new property details, their are two different types of forms for Residential property and commercial property, all property are registered with . I.

Property Document:

Floor Plan and Property Images: Client Registration:

Vendor Registration:

Solicitor Master: Login: User must provide their user name and.

Main Menu: After successfully login system display main screen with.

User Master: The System Administrator can able to add, modify system users, and also set the login rights and.

Change Password: User can change his/her own password.

Transaction ModulesTransaction module is developed to perform various activities like match property with clients, maintain history for.. Send email.

Match client with properties: This module is used to match client requirement with register property, system has flexible options to select clients requirement and it search the database and show all matched same window.

Match Property with clients:.

Property History:.

Page 12: Eproperty Project Report

Client History:.

Vendor History:.

Offer Letter:

Offer Acceptance Letter: Confirmation:

Agent Outgoing Phone:.

Incoming Phone/ Enquiry: Appointment: t.

Diary / Set appointment:

Property Thumbnail: System generate HTML page for properties with property images and all details like cost, location. This file can be saved and send client via email.

Search / Query ModuleSearch and Query module is used for the user, supervisor and management of Property Management System.

The search and query module will include the following features:

Search Module:

Extensive Search: System has unique keyword based search engine, which allow user to search any thing from entire database, It helps user when he not sure where to search, for example if user want to search for ‘AJAY’, this search will search for all table and all field for ‘AJAY’ and produce search results.

Update Keyword: This is used to generate keyword for perform extensive search.

Both of these areas of functionality will be delivered as the first version of the Property Management System is released. Functionality is described in more detail later in this document.

Page 13: Eproperty Project Report

Out of ScopeThe following functions are considered out of scope for Version 1 of the New Paper Agency System. Versions 2.0 address items not in scope and those deemed not feasible during V1.0. Function

Comment Version

Linking and integration of any legacy system for accounting.

Required by management to control and maintain the accounting activity

2

Creating web interface to share property details to the client

For conveyance of the client 2

Page 14: Eproperty Project Report

Goal and objective

This section presents a conceptual overview of the solution, and then provides an introduction to its requirements.

Solution ConceptThe Property Management System consists of:

Master Module: A master module is developed to maintain property registration, floor plan and property images, maintain property document, client registration, vendor registration solicitor details, and user management.

Transaction Module:

Search and Query Module: .

Page 15: Eproperty Project Report

User ProfilesThe following user types are expected for the Property Management System:

User Brief Description of User ActionsUser Read-only login rights to the system Can see the user

profile, query the items. Match the property and clients, view property documents, property images.

SupervisorSystem Administrator

Page 16: Eproperty Project Report

Problem Statement

Requirements SummaryThe following preliminary lists are based on initial interviews

Business RequirementsThe business goal for the application is to increase efficiency of registration process and powerful search facilities and capable of matching property with clients. And increase the productivity and Business requirements are discussed in the Scope section, with the following additional detail:

Improve the search facility and all the users of Property Management System should get all the information in a second.

The application should support the capability to use multi user environment. Manager should able to generate all type of letters as and when required by the organization. . System should store all the transaction like phone call to client, generate offer letter and can be

produced whenever is required

The Management wants to improve their current ability to analyze property, client. In particular, they want to focus on identifying their best property and client. To enable them to accomplish this goal, they want to extract meaningful data that easily answers the following questions:

What are the early warning signs of problems? What are my users' issues as groups?

User RequirementsUser requirements are categorized by user type.

User Able to search and view his or her own read only information.

Supervisor

Page 17: Eproperty Project Report

Able to match client with property and able to generate letters and send email.. View and edit various document and letter.

System Administrator

Create new user, assign role and privileges Database backup and maintenance.

Operational RequirementsThe following requirements provide a high-level view of how the system will run:

A full weekly backup is required to WORM drives. . .

Application should run in Client-Server architecture..

System RequirementsThese are additional constraints from a system perspective:

The administrator must be able to monitor everything from the IT department. .

Page 18: Eproperty Project Report

System Architecture

High Level Solution Architecture

High Level Solution Architecture of online Property Management System

DataData Warehouse

OLAP Access

Data Access

SQL OLEDB Driver

Properties

Client Vendor Match property

with client

Search and Retrieval

of Information

Transactional Facade Retrieval Facade

System

Windows Application

Microsoft VB Run Time

.Net Framework

2.0 CLR

Database Engine

Search and Query data

Page 19: Eproperty Project Report

Data Flow and Process Flow Chart

Page 20: Eproperty Project Report

Usage SummaryProperty Management System Version 1.0 will address the following use cases. Selected use cases will be expanded into usage scenarios and features that are derived from both use cases and the usage scenarios, as represented in the following diagram:

Usage summary use case

User

Supervisor

Administrator

Property Management System

View Client

Search property

View Property Details

Match Property

Update Property

Generate Letters

Manage Users

Manage Transaction

Property Details

Vendor Details

Page 21: Eproperty Project Report

Software and Hardware Requirement

General Requirement for Server/Client:

Type Software HardwareWork Station/ Node 1. Windows XP

2. .NET Framework 2.0 1. P-4 2. RAM -256 MB 3.Hard Disk-40GB

Database Server 1.Win2000 Advance Server2. SQL Server 2005

1.P-42.RAM- 1GB3.Hard Disk-40GB

Application Server 1.Win 2000 Advance Server 1.P-42.RAM- 1GB3.Hard Disk-40GB

Application ServerData Base Server

Workstation 1 Workstation 2 Workstation 3 Workstation N

Page 22: Eproperty Project Report

Development Tools and Technologies

VB 6

Visual Basic 6 is built on the Windows Server System to take major advantage of the OS and which comes with a host of different servers which allows for building, deploying, managing and maintaining Windows Based solutions. The Windows Server System is designed with performance as priority and it provides scalability, reliability.

The advantage of VB 6 includes Rapid Application Development (RAD) Support. Powerful Windows-based Applications Simplified Deployment Powerful, Flexible, Simplified Data Access Improved Coding Direct Access to the OS Platform Object-Oriented Constructs COM Interoperability

SQL Server

When we choose a backend for an enterprise level application we have so many options, like Oracle, Sybase, MySql, however we choose Microsoft SQL Server 2000 as our database, and it has so many features which is ideal for our dot net based application. Includes

Support for Multiple Platforms Integration with Windows 2000 Integration with Microsoft .NET Enterprise Servers Scalability Replication Centralized Management Reliability

Page 23: Eproperty Project Report

Design Goals and Constraints

PerformanceNo more than a 5-percent degradation in average query response is allowed while all concurrent user are using the system.

Processor utilization should not exceed 80 percent during all concurrent users are using the system.

AvailabilityBecause the system is accessed by more than one concurrent users so their should not be any single point of failure.

Reliability

Scalability.

Security.

Every resource in the system are defined by the role and privileged. System administrator assigned user role and privileged for their access rights.

Interoperability

Location

Setup/InstallationSetup and installation must not interrupt the system user’s daily tasks and work flow.

Page 24: Eproperty Project Report

System Requirement and Specification SRS

Data Dictionary

Data dictionary of Property Management System

Table : appointment

Owner: dboDestination DB name: ePropertyNumber of columns: 14Number of indexes: 1Number of foreign keys: 1Extended attributes:

OnFileGroup PRIMARYClustered PK Yes

Columns Data type Allow NULLs Value/rangeAppointmentNo Int Not allowedAppointmentType Varchar(50) Not allowedAppointmentwithName Varchar(100) Not allowedAddress Varchar(100) Not allowedClientRefNo Int Not allowedPropRefNo Int Not allowedVenderRefNo Int Not allowedAppointmentStatus Varchar(5) Not allowedDate Int Not allowedTime Int Not allowedView Int Not allowedSeen Int Not allowedLike Varchar(50) Not allowedNote datetime Allowed

Indexes Type ColumnsPK_appotment)bill_ AppointmentNo clustered, unique, primary key

located on PRIMARYAppointmentNo

Table : clientmaster

Table : detailsend

Page 25: Eproperty Project Report

Table : incomingphone

Table : keywords

Table : otgoingphone

Table : offeracceptanceletter

Table : offerletter

Table : propertymaster

Table : pwd

Table : solicitormaster

Table : user

Table : vendormaster

Page 26: Eproperty Project Report

Property Management System– Data Schema ER Diagram

Page 27: Eproperty Project Report

Data Flow Diagram and Event Table

Event Table

Event Trigger Source Activity/Use Case

Response Destination

Vendor Registration

New Vendor System User Create Vendor

Show Vendor System User

Match Property with Client

Match System User Manage Transaction

Show Transaction

System User

DFD Context Diagram

Page 28: Eproperty Project Report

DFD Level 0 Diagram

Page 29: Eproperty Project Report

DFD Level 1 Diagram (Match Property with Client)

1.1

Get Property Details

Matching

Property

1.2

Get Client Details

Client

Property

Client

1.3

Get product Type

Page 30: Eproperty Project Report

DFD Level 2 Diagram (Client Registration)

Page 31: Eproperty Project Report

DFD Level 3 Diagram (Vendor Delivery)

Page 32: Eproperty Project Report

DFD Level 4 Diagram (Property Registration)

Vendor Master

2.1

Property Details

2.2

Property Type

Property Master

Page 33: Eproperty Project Report

Screen Shot and Coding

Residential Property

Option Explicit

Dim RSPM As New ADODB.RecordsetDim LastPos As LongDim GridRec As IntegerDim NewInstance As BooleanDim str1 As StringDim TempRsPM As New ADODB.RecordsetDim Rs2 As New ADODB.Recordset

Private Sub Check1_Click()Picture1(8).BackColor = vbGreenEnd Sub

Private Sub Check2_Click()Picture1(9).BackColor = vbGreenEnd Sub

Private Sub Check3_Click()

Page 34: Eproperty Project Report

Picture1(10).BackColor = vbGreenEnd Sub

Private Sub Check4_Click()Picture1(15).BackColor = vbGreenEnd Sub

Private Sub Check5_Click()Picture1(26).BackColor = vbGreenEnd Sub

Private Sub Check6_Click()Picture1(27).BackColor = vbGreenEnd Sub

Private Sub Check7_Click()Picture1(28).BackColor = vbGreenEnd Sub

Private Sub Check8_Click()Picture1(16).BackColor = vbGreenEnd Sub

Private Sub CmdCancel_Click()On Error GoTo myer1Frame3.Enabled = FalseFrame1.Visible = FalseFrame2.Visible = TrueRSPM.CancelUpdateIf RSPM.RecordCount > 0 ThenRSPM.MoveFirstRSPM.Move LastPosCall ShowRecordEnd IfExit Submyer1:MsgBox "Error Occured : " & Err.Description, vbCritical, "Error"End Sub

Private Sub CmdClose_Click() Unload MeEnd Sub

Private Sub CmdEdit_Click()On Error GoTo myer1StartPos = 0If Frame4.Visible = True Then Frame4.Visible = False Frame3.Visible = True Command5.Visible = True Command1.Caption = "View All" Command1.ToolTipText = "View all Records"

RSPM.MoveFirst RSPM.Move GridRec - 1 Call ShowRecordEnd If

LastPos = RSPM.AbsolutePositionFrame3.Enabled = TrueFrame1.Visible = TrueFrame2.Visible = FalseIf RSPM.RecordCount > 0 ThenEnd IfExit Submyer1:MsgBox "Unknown Error Occured : " & Err.Description, vbCritical, "Error"

Page 35: Eproperty Project Report

End Sub

Private Sub CmDelete_Click()On Error GoTo myer1If Frame4.Visible = True Then Frame4.Visible = False Frame3.Visible = True Command5.Visible = True RSPM.MoveFirst RSPM.Move GridRec - 1 Command1.Caption = "View All" Command1.ToolTipText = "View all Records"End If If MsgBox("Caution !! (Can't be Recall)" & Chr(13) & Chr(13) & "Record will be permantley Deleted, If you sure click YES, otherwise click NO.", vbCritical + vbYesNo) = vbYes Then RSPM.Delete If RSPM.AbsolutePosition >= RSPM.RecordCount - 1 Then RSPM.MoveLast Call ShowRecord Else RSPM.MoveNext Call ShowRecord End If End IfExit Submyer1:MsgBox "Can't Delete following error occured : " & vbCrLf & vbCrLf & Err.Description, vbCritical, "Error in Delete"

End Sub

Private Sub CmdFind_Click()'for findFrame5.Visible = TrueFrame2.Visible = FalseFor Each ctrl In Me.Controls If TypeOf ctrl Is TextBox Then ctrl.Text = "" End If If TypeOf ctrl Is ComboBox Then ctrl.Text = "" End If If TypeOf ctrl Is CheckBox Then ctrl.Value = 0 End IfNextFrame3.Enabled = TrueDim i As Integer For i = 0 To Picture1.Count - 1 Picture1(i).BackColor = vbRed Picture1(i).Visible = True Next 'Picture1(0).BackColor = vbGreen Option1.Value = True

End Sub

Private Sub CmdFirst_Click()If RSPM.RecordCount > 0 Then

Page 36: Eproperty Project Report

RSPM.MoveFirstLastPos = RSPM.AbsolutePositionCall ShowRecordEnd IfEnd Sub

Private Sub CmdLast_Click()If RSPM.RecordCount > 0 ThenRSPM.MoveLastLastPos = RSPM.AbsolutePosition

Call ShowRecordEnd IfEnd Sub

Private Sub CmdMatch_Click() PropertyRefNo = Val(Combo1.Text) PropertyType = "Residential" MatchForm = True Load FrmMatchProperty FrmMatchProperty.Show

End Sub

Page 37: Eproperty Project Report

Search Builder

Option Explicit Dim RsTemp As New ADODB.RecordsetPrivate Sub Combo1_Click() If RsTemp.State = 1 Then RsTemp.Close Dim StrT1 As String If Combo1.Text = "Property Registration" Then StrT1 = "propertymaster" If Combo1.Text = "Client Registration" Then StrT1 = "clientmaster" If Combo1.Text = "Vendor Registration" Then StrT1 = "Vendermaster" If StrT1 <> "" Then RsTemp.Open StrT1, db, adOpenStatic, adLockReadOnly Else Exit Sub End If Dim i As Integer List1.Clear For i = 0 To RsTemp.Fields.Count - 1 List1.AddItem ChangeName(StrT1, RsTemp.Fields(i).Name) Next

End Sub

Private Sub Command1_Click()

'On Error GoTo myer1:On Error Resume Next Dim TempRs1 As New ADODB.Recordset

Page 38: Eproperty Project Report

If TempRs1.State = 1 Then TempRs1.Close TempRs1.Open Trim(Text2.Text), db, adOpenStatic, adLockReadOnly 'Set TempRs1 = db.OpenRecordset(Trim(Text2.Text)) If TempRs1.RecordCount > 0 Then TempRs1.MoveLast End If If TempRs1.RecordCount > 0 Then Label4.ForeColor = vbBlue Label4.Caption = TempRs1.RecordCount & " Record(s) Found" Dim trec As Integer Dim TFld As Integer Dim i As Integer Dim j As Integer trec = TempRs1.RecordCount Mf1.Rows = trec + 1 TFld = TempRs1.Fields.Count Mf1.Cols = TFld Mf1.Row = 0 For j = 0 To TFld - 1 Mf1.Col = j Mf1.Text = TempRs1.Fields(j).Name Next For i = 1 To trec TempRs1.MoveFirst TempRs1.Move i - 1 Mf1.Row = i For j = 0 To TFld - 1 Mf1.Col = j'' If j = 15 Or j = 16 Or j = 17 Or j = 22 Or j = 23 Or j = 24 Or j = 26 Or j = 28 Then' If RsPM(j) = 1 Then' Mf1.Text = "Yes"' Else' Mf1.Text = "No"' End If' Else Mf1.Text = TempRs1(j)' End If Next Next Frame2.Visible = True Frame4.Visible = False Else Label4.ForeColor = vbRed Label4.Caption = TempRs1.RecordCount & " Record(s) Found" Frame2.Visible = False Frame4.Visible = True End If Exit Submyer1: If Err.Number = 3061 Or Err.Number = 3075 Or Err.Number = 3078 Then MsgBox "Can't search beacuse of invalid search critaria.", vbCritical, "Error in Search" Else MsgBox Err.Number & Err.Description, vbCritical, "Error in Search" End IfEnd Sub

Private Sub Command2_Click()Label4.Caption = "" 'resultIf List1.ListCount = 0 Then

Page 39: Eproperty Project Report

MsgBox "Select a Table Name, Column Name, Condition and type the Search Value", vbExclamationExit SubEnd If

If List1.ListIndex < 0 And List2.ListIndex < 0 And Combo2.Text = "" ThenMsgBox "Please select Column Name, Condition Type from the List Box and Type Search Value ", vbExclamationExit SubEnd If

If List1.ListIndex < 0 And List2.ListIndex < 0 ThenMsgBox "Please select Column Name and Condition type from the List Box ", vbExclamationExit SubEnd If

If List1.ListIndex < 0 ThenMsgBox "Please Select a Column Name from List. ", vbExclamationExit SubEnd If

If List2.ListIndex < 0 ThenMsgBox "Please select a condition from Condition List. ", vbExclamationExit SubEnd If

If Combo2.Text = "" ThenMsgBox "Search What ! Please Enter a Search String"Exit SubEnd If

If Option1.Value = True Then If Text2.Text = "" Then Text2.Text = "Select * from " & ChangeRevTName(Combo1.Text) & Condition(List2.Text) Else Text2.Text = Text2.Text & " AND " & Condition1(List2.Text) End IfElse If Text2.Text = "" Then Text2.Text = "Select * from " & ChangeRevTName(Combo1.Text) & Condition(List2.Text) Else Text2.Text = Text2.Text & " OR " & Condition1(List2.Text) End IfEnd If' List1.ListIndex = -1' List2.ListIndex = -1 End Sub

Private Sub Command3_Click()Label4.Caption = "" 'result

'Command1.Enabled = False List1.ListIndex = -1 List2.ListIndex = -1 Combo2.Text = "" Text2.Text = "" Frame2.Visible = False Frame4.Visible = FalseEnd Sub

Private Sub Command4_Click()If ShowRecordPtr < 0 Or ShowRecordPtr > Mf1.Rows - 1 Then ShowRecordPtr = 0End If

Page 40: Eproperty Project Report

If Combo1.Text = "Property Registration" Then CheckForm = True Load FrmPropMaster FrmPropMaster.Show End If If Combo1.Text = "Client Registration" Then CheckForm = True Load FrmClientMaster FrmClientMaster.Show End If If Combo1.Text = "Vendor Registration" Then CheckForm = True Load FrmVenderMaster FrmVenderMaster.Show End If Me.ZOrder 1End Sub

Private Sub Command5_Click()Frame2.Visible = FalseEnd Sub

Private Sub Command6_Click() Unload MeEnd Sub

Private Sub Command7_Click() Unload MeEnd Sub

Private Sub Command8_Click()Frame4.Visible = FalseEnd Sub

Private Sub Form_Load() Command1.Enabled = False Combo1.AddItem "Property Registration" Combo1.AddItem "Client Registration" Combo1.AddItem "Vendor Registration" Combo1.Text = "Property Registration" Frame4.Visible = False Frame2.Visible = False

End Sub

Private Sub Form_Resize()On Error Resume Next Frame1.Left = (Me.Width - Frame1.Width) / 2 Frame2.Left = 50 Frame2.Width = Me.Width - 200 Frame2.Top = Frame1.Top + Frame1.Height + 50 Frame2.Height = Me.Height - Frame1.Height - 500 Mf1.Width = Frame2.Width - 150 Mf1.Height = Frame2.Height - 750 Frame3.Left = (Frame2.Width - Frame3.Width) / 2 Frame4.Left = Frame2.Left Frame4.Top = Frame2.Top Frame4.Width = Frame2.Width Frame4.Height = Frame2.Height Frame5.Top = (Frame4.Height - Frame5.Height) / 2 Frame5.Left = (Frame4.Width - Frame5.Width) / 2End Sub

Private Sub List1_Click()On Error Resume Next

Page 41: Eproperty Project Report

Combo2.Clear Dim StrF As String Dim StrT As String Dim RecCount As Integer Dim i As Integer StrF = ChangeRevName(ChangeRevTName(Combo1.Text), List1.Text) 'orginal field NAME StrT = ChangeRevTName(Combo1.Text) 'original table name Dim Rstemp2 As New ADODB.Recordset If Rstemp2.State = 1 Then Rstemp2.Close Rstemp2.Open "select " & StrF & " from " & StrT & " group by " & StrF, db, adOpenStatic, adLockReadOnly0 If Rstemp2.RecordCount > 0 Then Rstemp2.MoveLast RecCount = Rstemp2.RecordCount For i = 0 To RecCount - 1 Rstemp2.MoveFirst Rstemp2.Move i Combo2.AddItem Rstemp2(0) Next End IfEnd Sub

Private Sub Mf1_Click() ShowRecordPtr = Mf1.RowEnd Sub

Private Sub Mf1_dblClick() ShowRecordPtr = Mf1.Row Command4_ClickEnd Sub

Private Sub Text2_Change() If Len(Text2) > 0 Then Command1.Enabled = True Else Command1.Enabled = False End IfEnd Sub

Page 42: Eproperty Project Report

Match Property

Option Explicit Dim Rs As New ADODB.RecordsetDim TempRs As New ADODB.Recordset

Private Sub Check1_Click()If Check1.Value = 1 Then Picture1(9).BackColor = vbGreenElse Picture1(9).BackColor = vbRedEnd IfEnd Sub

Private Sub Check2_Click()If Check2.Value = 1 Then Picture1(10).BackColor = vbGreenElse Picture1(10).BackColor = vbRedEnd If

End Sub

Private Sub Check3_Click()If Check3.Value = 1 Then Picture3(3).BackColor = vbGreenElse Picture3(3).BackColor = vbRed

Page 43: Eproperty Project Report

End IfEnd Sub

Private Sub Check4_Click()If Check4.Value = 1 Then Picture3(6).BackColor = vbGreenElse Picture3(6).BackColor = vbRedEnd If

End Sub

Private Sub Check5_Click()If Check5.Value = 1 Then Picture3(8).BackColor = vbGreenElse Picture3(8).BackColor = vbRedEnd If

End Sub

Private Sub Combo1_Click()If Rs.State = 1 Then Rs.CloseRs.Open "select * from clientmaster where clientrefno = " & Val(Combo1.Text), db, adOpenStatic, adLockReadOnlyIf Rs.RecordCount > 0 Then If UCase(Combo6.Text) = "RESIDENTIAL" Then Frame3.Visible = True Frame4.Visible = False End If If UCase(Combo6.Text) = "COMMERCIAL" Then Frame4.Visible = True Frame3.Visible = False End If Frame2.Visible = True Call DisplayrecordElse Call ClearText Frame3.Visible = False Frame4.Visible = False Frame2.Visible = False If Rs.RecordCount > 0 Then Rs.MoveLast trec = Rs.RecordCount For i = 0 To trec - 1 Inc = Inc + 50 \ trec UpdateStatus FrmCreatingThumbnail.Picture2, (Inc) / 100, 1 Rs.MoveFirst Rs.Move i Rs1.AddNew For j = 0 To Rs.Fields.Count - 1 Rs1(j) = Rs(j) Next Rs1.Update

Me.Caption = "Creating Record " & i + 1 & " ..."

Next

Me.Caption = "Creating " & trec & " Record(s) ..." Else MsgBox "No " & PropertyType & " Property Record are availabel for Creating Thumbnail Catalog", vbInformation, "Residential Record Not Found" Unload Me

Page 44: Eproperty Project Report

Exit Sub End If 'storing thumbnail image in array &&&&&&&&& Dim Fs As New FileSystemObject Dim FolName As String If Fs.FolderExists(App.Path & "\propertyimage\") = False Then MsgBox "Can't Found the Thumbnail Property Images.", vbInformation, "Can't Continue" Unload Me Exit Sub End If 'Inc = 0 For i = 0 To trec - 1 Inc = Inc + 40 \ trec UpdateStatus FrmCreatingThumbnail.Picture2, (Inc) / 100, 1 Rs1.MoveFirst Rs1.Move i FolName = "prop_" & Rs1("proprefno") If Fs.FolderExists(App.Path & "\propertyimage\" & FolName & "\") = True Then If Fs.FileExists(App.Path & "\propertyimage\" & FolName & "\Thumb.Bmp") = True Then XX(i) = App.Path & "\propertyimage\" & FolName & "\Thumb.Bmp" Else XX(i) = App.Path & "\MergeTemplate\NoThumb.Bmp" End If Else XX(i) = App.Path & "\MergeTemplate\NoThumb.Bmp" End If Next 'create HTML file Text1.Text = "<html><head><title> " & PropertyType & " Property Thumbnail </title></head><body> " Text1.Text = Text1.Text & " <div align='left'>" Text1.Text = Text1.Text & " <table border=0 cellpadding=0 cellspacing=0 width=87%> " Text1.Text = Text1.Text & "<tr>" Text1.Text = Text1.Text & "<td width='100%' height=14 colspan=3 >" Text1.Text = Text1.Text & "<p align='right'><font size=5><b> " & RegisterName & " : " & PropertyType & " Property </b></font></td>" Text1.Text = Text1.Text & "</tr>" Dim StrCode As String 'Inc = 0 For i = 0 To trec - 1 Rs1.MoveFirst Rs1.Move i Inc = Inc + 10 \ trec UpdateStatus FrmCreatingThumbnail.Picture2, (Inc) / 100, 1 StrCode = StrCode & "<tr>" StrCode = StrCode & "<td width='100%' height=14 colspan=3 bgcolor='#0000FF'>" StrCode = StrCode & "<p align='center'><font color='#FFFFFF'><b>Property Reference No : " & Rs1("proprefno") & "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp Registartion Date : " & Format(Rs1("dor"), "Dddd dd, Mmmm - yyyy") & "</b></font></td>" StrCode = StrCode & "</tr>" StrCode = StrCode & " <tr> " StrCode = StrCode & " <td width=32%><img border=0 src= '" & XX(i) & "' width=165 height=101></td>" StrCode = StrCode & " <td width=41%>" StrCode = StrCode & " <ul>" StrCode = StrCode & " <li>" StrCode = StrCode & " <p style='margin-top: 0; margin-bottom: 0'>" & IIf(Rs1("roomno") > 0, Rs1("roomno") & " Bed Room", "&nbsp") & "</li>" StrCode = StrCode & " <li>" StrCode = StrCode & " <p style='margin-top: 0; margin-bottom: 0>Throw Lane / 2 Receptoion</li> "

Page 45: Eproperty Project Report

StrCode = StrCode & " <li>" StrCode = StrCode & " <p style='margin-top: 0; margin-bottom: 0'> " & IIf(Rs1("floorno") > 0, "Floor - " & Rs1("floorno"), "&nbsp") & "</li>" StrCode = StrCode & " <li> " StrCode = StrCode & " <p style=margin-top: 0; margin-bottom: 0'>House</li>" StrCode = StrCode & " <li>" StrCode = StrCode & " <p style='margin-top: 0; margin-bottom: 0'>Lease</li>" StrCode = StrCode & " </ul>" StrCode = StrCode & "<p style='margin-top: 0; margin-bottom: 0'><b> Area : " & Rs1("city") & " </b></p>" StrCode = StrCode & " </td>" StrCode = StrCode & " <td width='27%'>" StrCode = StrCode & " <ul>" StrCode = StrCode & " <li> " StrCode = StrCode & " <p style='margin-top: 0; margin-bottom: 0'>Gas</li>" StrCode = StrCode & " <li>" StrCode = StrCode & "<p style='margin-top: 0; margin-bottom: 0'>Electric Heating</li>" StrCode = StrCode & " <li>" StrCode = StrCode & " <p style='margin-top: 0; margin-bottom: 0'>Garage<br>" StrCode = StrCode & "</li>" StrCode = StrCode & "</ul>" StrCode = StrCode & "<p style='margin-top: 0; margin-bottom: 0'><b><font color='red'> Price : Rs. " & Rs1("price") & "</font></b></td>" StrCode = StrCode & "</tr>" StrCode = StrCode & "<tr><td> &nbsp </td></tr>" Next Text1.Text = Text1.Text & StrCode Text1.Text = Text1.Text & " </table> </div></body></html>" 'complete &&&&&&&&&& 'lunch IE to show Dim OutStream As TextStream If Fs.FileExists(App.Path & "\propertydocument\Thumbnail.htm") = True Then Fs.DeleteFile App.Path & "\propertydocument\Thumbnail.htm", True End If Set OutStream = Fs.CreateTextFile(App.Path & "\propertydocument\temp.txt", True, False) OutStream.WriteLine Text1.Text Set OutStream = Nothing Dim HtmlFile As File Set HtmlFile = Fs.GetFile(App.Path & "\propertydocument\temp.txt") HtmlFile.Name = "Thumbnail.htm" Me.Caption = "Opening Document ...Wait.." UpdateStatus FrmCreatingThumbnail.Picture2, 100 / 100, 1 Dim Str As String Str = App.Path & "\propertydocument\Thumbnail.htm" Dim ie As New InternetExplorer ie.Navigate Str ie.Visible = True Command2.Enabled = True Unload MeEnd Sub

Private Sub Command2_Click() Unload MeEnd Sub

Private Sub Form_Load()'On Error Resume NextMe.Top = (Screen.Height - Me.Height) / 2Me.Left = (Screen.Width - Me.Width) / 2

Page 46: Eproperty Project Report

End Sub

Page 47: Eproperty Project Report

Property Management System Test Plan

IntroductionThis document describes the user acceptance test plan for the Property Management System. The complete test strategy for the Property Management System is to perform the following kinds of tests, in sequence:

1. Component testing of each component that makes up the Property Management System2. Integration testing of the Property Management System, to ensure the correct interworking of

its components3. Validation testing of the Property Management System, to ensure that it works correctly in a

pseudo-live environment4. User acceptance testing of the Property Management System, to ensure that its function is

acceptable to its users

Acceptance testing is the last set of tests to be performed before the application goes officially live.

Test Scope

Test Strategyrepresentative.

PreconditionsThe following items are required before testing can take place:

A complete and coherent functional specification of the Property Management System expressed as use cases and usage scenarios

Sufficient, suitable resources to carry out the testing

Test Priorities

Test Techniques performance criteria

Page 48: Eproperty Project Report

Test Organization

Roles and ResponsibilitiesThe following roles are defined:

QA lead/test manager—responsible for planning and ensuring the smooth running of the test process

Tester—carries out the tests according to the test plan, and then reports the results

Product manager—ensures that the tests are carried out successfully from a user perspective

Deliverables

Test Environment

Hardware and Software

Testing SchedulesThe user acceptance testing schedules are shown in the project structure document and resulting Gantt charts.

Threats to TestingPotential threats to the testing process are as follows:

Insufficient resources available for testing. Testing resources have been seconded from the development departments, whose time is at a premium. Mitigation: ensure department heads apply a high priority to the testing of the Property Management System.

Availability of sales personnel for testing. The test team should be overseen by at least one sales representative. Mitigation: gain prior agreement from the vice president of Sales for two sales representatives to be assigned to test the application.

Page 49: Eproperty Project Report

Conclusion and future enhancement

Page 50: Eproperty Project Report

Bibliography

Websites

http://www.google.com

http://www.microsoft.com

http://www.programmer2programmer.net

http://www.codeproject.com

http://www.msdn.com.

http://www.vb123.com

http://www.vbcode.com

http://www.sqltuner.com

Books

Mastering Visual Basic 6 (Paperback)

Mastering Visual Basic .NET (Paperback)

Visual Basic Black Book (Paperback)

SQL Bible, 2nd Edition (Paperback)

Database Development in Visual Basic