Upload
sonugarg4u
View
215
Download
3
Embed Size (px)
Citation preview
SineSoft Education, BathindaCentre Code – 00917
PROJECT REPORT ON
MARRIAGE BUERUE
A report submitted in the partial fulfillment of the requirements for the degree of
MASTER OF COMPUTER APPLICATIONOf
SIKKIM MANIPAL UNIVERSITY, INDIA
SUBMITTED BY
POONAMReg. No.:1205007438
Submitted to: -
Directorate of Distance Education SIKKIM MANIPAL UNIVERSITY
SYNDICATE HOUSE, MANIPAL – 576 104
STUDENT DECLARATION
I Poonam hereby declare that the project report entitled
Submitted in partial fulfillment for the requirement for the degree of
MASTER OF COMPUTER APPLICATION
To
SIKKIM-MANIPAL UNIVERSITY, INDIA
is my original work and not submitted for the award of any other degree, diploma, fellowship, or any other
similar title or prizes.
Place:Bathinda Name:Poonam
Date: Reg. No.:1205007438
EXAMINER’S CERTIFICATE.
The project report
Of
Poonam
MARRIAGE BUERUE
Is approved and is acceptable in quality and form.
Internal Examiner External Examiner
Name Name
Qualification Qualification
Designation Designation
GUIDE CERTIFICATE
This is to certify that the project report entitled
MARRIAGE BUERUESubmitted for the partial fulfillment for the requirement for the degree of
MASTER OF COMPUTER APPLICATION
of
SIKKIM-MANIPAL UNIVERSITY, INDIA
Poonam
has worked under my supervision and guidance and no part of this report has been submitted for the award of any other
degree, diploma, fellowship, or any other similar title or prizes and that the work has not been published in any journal
or Magazine.
Certified
Guide name
Qualification
INDEX
1. ACKNOWLEDGEMENT
2. INTRODUCTON TO PROJECT
3. PRODUCT DEFINATION
4. ACCEPTANCE CRITERIA
5. SYSTEM ANAYSIS
6. FEASIBILITY STUDY
7. HARDWARE & SOFTWARE REQUIRMENTS
8. TOOLS USED FOR DEVELOPMENT
9. SYSTEM DESIGN
10. DATA STRUCTURE
11. DATA FLOW DIAGRAM
12. CODE EFFICIENCY
13. CODING
14. OUTPUT
15. FUTUR SCOPE & BIBLIGRAPHY
ACKNOWLEDGEMENT
It is indeed a privilege as well as pleasant duty to express my gratitude to all those
Who have made it possible for me to complete this training.It is my proud privilege
to acknowledge with respectful gratitude the invaluable guidance extended to me by
my esteemed guide “RAJESH BANSAL”.
I am thankful for his pains, taking supervision, timely suggestions and continuous
constructive criticism during the course of this training. His ever-helping nature and
limitless patience were constant source of inspiration during this work.
I am grateful to my guide for his guidance and suggestions rendered to me during
the training period. I am sure that the time I have spent with him will be a constant
source of inspiration for me in the days to come.
( Poonam )
INTRODUCTION
TO
PROJECT
INTRODUCTION TO PROJECT
Our Project is basically concern with the marriage related concept in which
we are basically talking about the concept of marriage buereu. Marriage
Buereu is the organization in which the willing boys and girls collect the
information regarding their match making .Boys and girls have their matches
according to their education, occupation and other family concern.
Our project titled “MARRIAGE BUERUE” is a royal solution of all
problems we discussed earlier.
USERS:-
There has we add users because unauthorized person has not successful to access
our project. Because our project have many secrets records, which has do not show
all person. If we want in person access the project that has allow our manager.
MATCH MAKING:-This project records the daily boys and girls information along with the details
related to their education, qualification, religion ,cast ,whether the boy or girl is
manglik or not .Through which they get their suitable matchmaking regarding to their
convenience.
REGISTRATION:-This project have the registration records in which the daily entries of the desied
login id,password ,date of creation, duration,date of expiry,petword etc occur. In
which all the candidates fill their information regarding their professional as well as
their domestic concern along with the details.
SEARCH:-
This project provides phenomenal search options from every aspect. This may
prove as the power of the project. Even a beginner can access the data as per
requirements. Because it provides so many search criteria ‘s like search on the
behalf of the id ,name,dob,address,manglik,gender,religion,cast anqualification etc...
PRODUCT DEFINITION
Before developing software we keep following things in mind so that we can
develop powerful and quality software.
PROBLEM STATEMENTProblem statement was to design a module:
This will be user friendly.
This will restrict the user from accessing other user’s data.
THIS will help the user in viewing his data and privileges.
This will help the administrator to handle all changes.
In which further additions can be made without changing its design drastically.
This would restrict the server traffic.
Another problem was that the data should be accessed from the server
and accordingly changes should be made on the data in the server only.
FUNCTIONS TO BE PROVIDED
The various features that the proposed system will possess will be:
The system will be user friendly and completely menu-driven 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.
The system will be customized according to the needs of the organization.
It will provide overall security to database both from user as well as
administrator side.
ACCEPTANCE CRITERIA
Before designing/developing a new system, it is important to establish the
acceptance criteria so that it can be evaluated according to these criteria.
The performance requirements are:
User Friendly: The designed system should be user friendly, understandable
and easy to use so that even the novice user can easily learn to use the
system.
Flexibility: It should be flexible in nature to allow likely changes and
alteration in the near future.
Error handling: The system must give response to errors in clear and
precise manner as soon as an error has occurred.
Integrity: The results produced by the system should be accurate and
reliable.
Functional and performance specifications: The performance of the
required system should be good and should fulfill the required functional
specifications.
SYSTEM ANALYSIS
IDENTIFICATION OF NEEDOne must know what the problem is before it can be solved. The basis for a
candidate system is recognition of a need for improving an information system or
a procedure. Ideas for change may come from within the organization- top
management, the user, and the analyst. As an organization changes its
operations or faces advances in computers, some one with in the organization
may feel the need to update the existing application or improve the procedures. In
our Institute Management System it is the Administration who has decided to
upgrade the existing manual system to advanced technology called computerized
system. In Institute continuous efforts are going on to upgrade manual way of
keeping of the records replacing it by computerized system.
We already have an Institute Management System that is being run manually.
Different persons are assigned for different jobs, as one person is to maintain the
enquiry information, the other is busy with managing the details of library issue
return and fine, the other is busy to maintain the fee information, the other is busy to
maintain staff and their subjects and the other is to keep the information of internals.
So the basic problem faced with this system is if one wants to get admission for a
course, one has to enquire for new entries in one file and their class information in
the different files. Moreover, there is no proper security of files. Unauthorized user
can access the files. There are more and more chances of error so the system
should be able to check for the errors.
Institute Management System needs automated enquiry of Courses, Staff,
Attendance and Internals progress, generating the fee bill, Presently Institute
Management System is done manually. The shopping requires web-based package
for the following reasons: -
1) The packages available in the market are not customized to the needs of the
organization.
2) Data is not available randomly. It is scattered in different files at different
places. So information regarding one order is searched within multiple files
and hence the process is time consuming.
3) The manual system is dependent on the person who is handling and not
system dependent. Its mean That the person, who has created it, because it
is created according to him, he can understand it skills and knowledge while
in automated package anybody can handle it by having little knowledge about
the software i.e. it is system dependent.
4) As human brain is prone to tiredness, the efficiency reduces as well as
system is bounded to have more errors and does calculation mistakes.
5) Proper analysis cannot be done and various management reports are not
available quickly because of data being scattered among different places.
6) The major drawback is illegal activities can be done by the members without
having the clues.
7) Redundancy is also one of the hindrances in manual system. As data is
duplicated at many different places, modification at one places and not
another will lead to an error.
8) Large amount of paper work has to be managed and handled.
FEASIBILITY STUDYDepending upon the results of the initial investigation, the survey is expanded to
a more detailed feasibility study. A feasibility study is a test of a system proposal
according to its workability, impact on the organization, ability to meet user’s
needs and effective use of resources. It includes thee main questions:
1) What are the user’s needs and how the candidate system does meet
them?
2) What resources are available for given candidate system?
3) What are the likely impacts of the candidates system on the organization?
Three key considerations are involved in the feasibility analysis, Economical,
technical, and operational. All of these are discussed one by one in the following
section.
TECHNICAL FEASIBILITYTechnical feasibility concerns around the existing computer system
(hardware, software etc) and to what extent it supports the proposed addition. In
our case we have 1 server networked with the Intranet. Here the administration
requires minimum 1 computer with the Intranet connection to run this project.
Here each department requires minimum 1 computer to make the department as
computerized networked with the Intranet. So we can say that there is no
considerable burden on the store to make this project functional. As the
administration is planning to computerize the entire enquiry, admission and
accounts facilities already have been allocated to do the same. So here we have
to simply utilize the Intranet to manage the institute. Now using this project can
save large amount of money and time.
ECONOMICAL FEASIBILITY
Economic analysis is the most frequently used method for evaluating the
effectiveness of the candidate system. More commonly known as cost/benefit
analysis, the procedure is to determine the benefits and savings that are
expected from a candidate system. And compare them with costs.
Our project is economically feasible, as it does not put any extra burden on
administration. Already Intranet terminals are available in the Office and all are
networked together all are using MS-Access database. There are only initial
expenditures and after which our system can expand to any extent. After the
implementation of this project a huge amount of manpower can be saved causing
conversion of this manpower for the effective use in purchase. In the above
discussion we noticed that the benefits are more than the costs. So the project is
also economically feasible.
OPERATIONAL FEASIBILITYPeople are inherently resistant to change. And computers are known to facilitate
change. An estimate should be made of how strong reaction the user staff is
likely to have towards the development of a computerized system. The system
should be simple to operate so that layman can also under stand what the system
is, and how he can be benefited from the system.
The project is operationally feasible as every care has been taken to make
it easy to operate and more over while conducting preliminary investigations there
was a strong reaction to open this type of system from user side also.
HARDWARE AND SOFTWARE REQUIREMENTS
VB.Net and SQL-SERVER
Window-XP/ 2000 or Higher
A VGA or SVGA Graphics Adapter
A Serial Pointer Mouse and Keyboard
20 G.B. Hard Disk or more
256 MB RAM or more
1.44 Floppy/ CD-ROM Drive
15” Monitor
Printer
TOOLS USED FOR DEVELOPED PROJECT
. NET Framework (VB.NET) as Front-End
SQL Server
INTRODUCTION TO VISUALBASIC.NET
Visual Studio .NET is a complete set of development tools for building ASP Web
applications, XML Web services, desktop applications, and mobile applications.
Visual Basic .NET, Visual C++ .NET, and Visual C# .NET all use the same
integrated development environment (IDE), which allows them to share tools and
facilitates in the creation of mixed-language solutions. In addition, these languages
leverage the functionality of the .NET Framework, which provides access to key
technologies that simplify the development of ASP Web applications and XML Web
services.
Visual Basic has been updated to include many new and improved language
features that make it a powerful object-oriented programming language. These
features include inheritance, interfaces, and overloading, among others. Visual
Basic also now supports structured exception handling, and custom attributes. In
addition, Visual Basic supports for multithreading. Multithreading is the ability to
assign individual tasks to separate processing threads.
Visual Basic .NET has many new and improved language features — such as
inheritance, interfaces, and overloading — that make it a powerful object-oriented
programming language. As a Visual Basic developer, you can now create
multithreaded, scalable applications using explicit multithreading. Other new
language features in Visual Basic .NET include structured exception handling,
custom attributes, and common language specification (CLS) compliance.
The CLS is a set of rules that standardizes such things as data types and how
objects are exposed and interoperate. Visual Basic .NET adds several features that
Visual Basic .NET supports many new or improved object-oriented language features such as inheritance, overloading, the Overrides keyword, interfaces, shared members, and constructors. Also included structured exception handling, delegates, and several new data types.
INHERITANCE Visual Basic .NET supports inheritance by allowing you to define classes that serve as the basis for derived classes. Derived classes inherit and can extend the properties and methods of the base class. They can also override inherited methods with new implementations. All classes created with Visual Basic .NET are inheritable by default. Because the forms you design are really classes, you can use inheritance to define new forms based on existing ones. For details, see Inheritance.
EXCEPTION HANDLING Visual Basic .NET supports structured exception handling, using
an enhanced version of the Try...Catch...Finally syntax supported by other languages such as C++. Structured exception handling combines a modern control structure (similar to Select Case or While) with exceptions, protected blocks of code, and filters. Structured exception handling makes it easy to create and maintain programs with robust, comprehensive error handlers. For details, see Exception Handling.
OVERLOADING Overloading is the ability to define properties, methods, or
procedures that have the same name but use different data types. Overloaded procedures allow you to provide as many implementations as necessary to handle different kinds of data, while giving the
appearance of a single, versatile procedure. For details, see Overloaded Properties and Methods.
OVERRIDING PROPERTIES AND METHODS The Overrides keyword allows derived objects to override
characteristics inherited from parent objects. Overridden members have the same arguments as the members inherited from the base class, but different implementations. A member's new implementation can call the original implementation in the parent class by preceding the member name with My Base. For details, see Overriding Properties and Methods.
CONSTRUCTORS AND DESTRUCTORS Constructors are procedures that control initialization of new
instances of a class. Conversely, destructors are methods that free system resources when a class leaves scope or is set to Nothing. Visual Basic .NET supports constructors and destructors using the Sub New and Sub Finalize procedures. For details, see Object Lifetime: How Objects are Created and Destroyed.
DATA TYPES Visual Basic .NET introduces three new data types. The Char data
type is an unsigned 16-bit quantity used to store Unicode characters. It is equivalent to the .NET Framework System. Char data type. The Short data type, a signed 16-bit integer, was named Integer in earlier versions of Visual Basic. The Decimal data type is a 96-bit signed integer scaled by a variable power of 10. In earlier versions of Visual Basic, it was available only within a Variant. For details, see Data Types.
INTERFACES Interfaces describe the properties and methods of classes, but
unlike classes, do not provide implementations. The Interface statement allows you to declare interfaces, while the Implements statement lets you write code that puts the items described in the interface into practice. For details, see Interfaces in Visual Basic .NET.
DELEGATES Delegates — objects that can call the methods of objects on your
behalf — are sometimes described as type-safe, object-oriented function pointers. You can use delegates to let procedures specify an event handler method that runs when an event occurs. You can also use
delegates with multithreaded applications. For details, see Delegates and the Address Of Operator.
SHARED MEMBERS Shared members are properties, procedures, and fields that are
shared by all instances of a class. Shared data members are useful when multiple objects need to use information that is common to all. Shared class methods can be used without first creating an object from a class. For details, see Shared Members.
REFERENCES References allow you to use objects defined in other assemblies. In
Visual Basic .NET, references point to assemblies instead of type libraries. For details, see References and the Imports Statement.
NAMESPACES Namespaces prevent naming conflicts by organizing classes,
interfaces, and methods into hierarchies. For details, see Namespaces.
ASSEMBLIES Assemblies replace and extend the capabilities of type libraries by,
describing all the required files for a particular component or application. An assembly can contain one or more namespaces. For details, see Assemblies.
ATTRIBUTES Attributes enable you to provide additional information about
program elements. For example, you can use an attribute to specify which methods in a class should be exposed when the class is used as a XML Web service. For details, see Attributes.
MULTITHREADING Visual Basic .NET allows you to write applications that can perform
multiple tasks independently. A task that has the potential of holding up other tasks can execute on a separate thread, a process known as multithreading. By causing complicated tasks to run on threads that are separate from your user interface, multithreading makes your applications more responsive to user input. For details, see Multithreaded Applications.
INTRODUCTION TO MS-ACCESS
DBMS that can be used to store and manipulate large amount of information and MS-ACCESS is a powerful multi user automate respective task. A collection of data and objects related to particular topic or purpose.Data in access is organized in the form of tables. Within a table records are arranged according to common to reference value known as Primary Key or Key Field.Access also manipulates index file or table. An index is external table of value that access maintain to store the order of records. Index object thus provide efficient access to data. Database indexes are just like books index.
DATABASE OBJECTS
TABLES A table is collection of data about a specific topic, such as
product or supplier. Using a separate table for each topic means that you store data only once, which makes your database more efficient and reduces data-entry errors.
QUERYYou use queries to view, change and analyze in different
ways. You can also use them as the source of records for forms, reports and data access pages.
FORMSYou create the link between the form and its reports source
by using graphical objects called controllers. The most common type of control used to display and enter data is a text box. Most of the information in a form come from and underlying source. Other information in the form is stored in form design.
REPORTA report is an effective way to present your data in printed
format because you have control over the size and appears of everything on report, you can display the information the way you want to see it. Most of information in a report comes from an underlying
tables, or SQL statements, which is the source of reports data. Other information
in report is stored in the report’s design.
FEATURES OF MS-ACCESS
WINDOWS BASED APPLICATION
Access is a windows based application an therefore has an interface
similar to windows NT. You can cut, copy, paste from any windows application to
and form access.
LARGE DATA MANAGEMENT CAPACITY
Access maintains a single disk for database and all associated objects.
The maximum size of this can be of 1 G.B. Access allows a maximum of 32,768
tables and objects in the database. However, access can also supports 225 user at
a a time
BUILT-IN SECURITY
Single access is a multi-user database security features are built into
the DBMS. You can enable database security at various levels. You can assign a
password for loading access so that only authorized users can use it. You can
encrypt a database to prevent un-authorized access.
Working with Three Versions of SQL ServerThis topic describes two scenarios for working with SQL Server version 6.5, SQL Server version 7.0, and SQL Server 2000. One example shows three versions installed at one time, with no version upgrades, but with a version switch between SQL Server 6.5 and SQL Server 7.0. The other involves upgrading to SQL Server 2000 from SQL Server 7.0, and then version switching between SQL Server 6.5 and SQL Server 2000.
In any of these situations, multiple named instances of SQL Server 2000 can be installed as well. However, only two different versions of SQL Server can run at one time, using version switching in one of two ways:
Switch between SQL Server 6.5 and SQL Server 7.0.
Switch between SQL Server 6.5 and SQL Server 2000.
Using Version Switching
To use version switching with SQL Server 6.5 and SQL Server 7.0, while at the same time running multiple instances of SQL Server 2000:
Keep the SQL Server 6.5 configuration intact.
Keep the SQL Server 7.0 configuration intact, with no version upgrade to SQL Server 2000.
Install one or more named instances of SQL Server 2000.
The illustration shows how named instances of SQL Server 2000 and the existing installation of SQL Server version 7.0 can run at the same time. SQL Server version 6.5 is available to be switched in as the default instance instead of SQL Server 7.0.
To use version switching with SQL Server 6.5 and SQL Server 2000, after upgrading from SQL Server version 7.0:
Keep the SQL Server 6.5 configuration intact.
Have SQL Server 7.0 installed, but prepare to upgrade SQL Server 7.0 to SQL Server 2000.
Run Setup. When SQL Server 7.0 is detected, upgrade SQL Server 7.0 to the default instance of SQL Server 2000. (Select the option to Upgrade in the Existing Installation Options dialog box, and leave the Default check box selected in the Instance Name dialog box.) At this point, the installation of SQL Server 7.0 no longer exists; it is replaced by the default instance of SQL Server 2000.
The illustration shows this configuration, along with three SQL Server 2000 named instances.
DATA STRUCTURES
START
WELCOME SCREEN
MAIN FORM (MDI FORM)
STOP
WELCOME SCREEN
MAIN FORM
USER ADMIN OPERATE FEED BACK
FORGOT
LOG IN
SHOW ALL
CREATE USER
CHANGEPASSWORD
CLOSE ALL
EXIT
MATCH MAKING
PROFILE
LOG OUT
SHOW ALL DONE
FEEDBACK
PARTY
LOG IN
ENTER THE USER NAME AND PASSWORD
DISPLAY ALL MENUSIF MD
NO MENUS
YES
36
DISPLAY
DISPLAY DATA
SELECT LOAD BUTTON
DISPLAY DATA IN GRID
SELECT THE FIELDS
SEARCH
SELECT THE DATE
IF RECORD THERE
RECORD NOT FOUND
SHOW IN GRID
MAIN FORM
YES
NO
37
SEARCH
38
ENTER THE DATA
IF EXISTS
RECORD IS SAVED
MAIN FORM
NO
YES
SAVE
RECORD IS DELETED
NO RECORD FOUND
MAIN FORM
NO
YES
DELETE
IF EXISTS
ENTER THE DATA RECORD IS MODIFIED
NO RECORD FOUND
MAIN FORMNOYES
MODIFYIF EXISTS
ERROR MESSAGE
ENTER THE DATA
39
CODE EFFICIENCY
When we produce large programs, it often happens that extra code
is left in the project. This extra code can be unused subs and functions, old
variables, unnecessary constants, even Types and Enums. Extra code
takes up disk space, slows down the program and it also makes it harder to
read.
Since this code is not needed, it is also called dead code. The
opposite of dead code is live code. You can trace the dead code and then
remove.
One needs to detect questionable programming practices and code.
Problem categories: Problems fall into 4 categories: 1. Optimization. These problems adversely affect the speed and size of
the resulting program.
2. Style. These problems are related to the programming style. They
don't necessarily lead to problems in the short run, but they often
lead to confusion and further errors in the future.
3. Metrics is a sub-category of Style. You can set target values for
different metrics and monitor to find out if some part of your program
exceeds the limits. Read more about metrics in chapter 4.
4. Functionality. These problems affect the run-time functionality of the
program. The reason is often that somebody forgot to do something!
One can create quick check filters and strict filters for giving code a final
polish. The filters are:
Dead code Check deadness only
Disable checking Disable all problem checking
40
Functionality Report problems affecting functionality only
Optimizations Report problems related to optimization only
Strict Report all problems
Style Report problems related to style issues only
In this Project no dead code, variable, procedure, module is
available. Problems were reported to the guide and with his help these all
are solved. Coding is done by keeping in mind the future reusability of it.
Complexity is tried to be in reduced number. Call trees are used here i.e.
procedure / function call other procedure / function.
OPTIMIZATION OF CODEDevelopment that are considered to improve the systems
performance on the following areas :-
Physical I/O - data is read from and written into I/O devices. This can
be a potential bottleneck. A well-configured system always runs 'I/O-
bound' - the performance of the I/O dictates the overall performance.
Memory consumption of the database resources e.g. Buffers, etc.
CPU consumption on the database and application servers
Network communication - not critical for little data volumes, becomes
a bottleneck when large volumes are transferred.
CLASSIC GOOD 4GL PROGRAMMING CODE-PRACTICES GUIDELINES ARE
Avoid dead-code
Remove unnecessary code and redundant processing
Spend time documenting and adopt good change
control practices
41
Spend adequate time analyzing business requirements,
Process flows, data-structures and data-model
Quality assurance is key: plan and execute a good test
plan and testing methodology
Experience counts
These all points are kept in mind when the project was formulated.
In order to keep the amount of data which is relevant to the query the hit
set small, always all known conditions in the WHERE clause is specified
(wherever possible). The database system is also potentially made to use a
database index (wherever possible) for greater efficiency resulting in fewer
loads on the database server and considerably less load on the network
traffic as well. Usage of "OR", "NOT", in Open SQL statements is checked
appropriately.
Wherever the maximum, minimum, sum and average value or the
count of a database column is required, list with aggregate functions are
used instead of computing the aggregates within the program. The
RDBMS is responsible for aggregated computations instead of transferring
large amount of data to the application. Overall Network, Application-server
and Database load is also considerably less.
VALIDATION CHECKSSoftware validation is achieved through a series of black-box tests
that demonstrate conformity with requirements. A test plan outlines the
classes of tests to be conducted and a test procedure defines specific test
cases that will be used to demonstrate conformity with requirements.
After each validation test case has been conducted, one of two possible
conditions exists: (1) The function or performance characteristics conform
to specification and are accepted or (2) a deviation from specification is
uncovered and a deficiency list is created.
42
CONFIGURATION REVIEW An important element of the validation process is a configuration
review. The intent of the review is to ensure that all elements of the
software configuration have been properly developed, are cataloged, and
have the necessary detail to bolster the support phase of the software life
cycle. The configuration review, sometimes called an audit.
ALPHA AND BETA TESTING
If software is developed as a product to be used by many customers,
it is I impractical to perform formal acceptance test with each one. Most
software product builders’ use a process called alpha and beta testing
uncover errors that only the end-user seems able to find.
A customer conducts the Alpha test at developer’s site. The software is
used in a natural setting with the developer “looking over the shoulder“ of
the user and recording errors and usage problems. Alpha tests are
conducted in a controlled environment.
The Beta test is conducted at one or more customer sites by the end-user
of the software. Unlike alpha testing, the developer is generally not
present. Therefore, the beta test is a live application of the software in an
environment that cannot be controlled by the developer. The customer
records all problems (real or imagined) that are encountered during beta
tasting and reports these to the developer at regular intervals. As a result of
problems reported during beta tests, software engineers make
modifications and then prepare for release of the software product to the
entire customer base.
43
IMPLEMENTATION AND MAINTENANCE
IMPLEMENTATION: A crucial phase in the system life cycle is the successful
implementation of the new system designed. Implementation includes all
those activities that take place to convert from the old system to the new
one. The new system may be completely new, replacing an existing
manual or automated system or it may be major modification to an existing
system. In either case, proper implementation becomes necessary so that
reliable system based on the requirements of the organization can be
provided.
Implementation includes: Training of personnel
Conversion procedures
Post-implementation review or evaluation
TRAINING OF PERSONNEL: The high quality training is an essential step in systems
implementation. Hence to provide the training to personnel they have been
provided user manuals. They are asked to read it carefully and same thing
try practically on computer. If they don’t understand any thing, can ask
without any hesitation. They are asked to enter the data, which is more
frequently entered, and print the reports are frequently printed. Users are
told about those situations, which he must understand and he should able
to handle it.
CONVERSION METHOD:
44
The direct conversion method is applied. This method converts from
old to the new system abruptly. The old system is used till a planned
conversion day. The organization relies fully on the new system.
EVALUATION OR POST IMPLANTATION REVIEW: After the system is implemented and conversion is complete, a
review is conducted to determine whether system is meeting expectations
and where improvements are needed. A post implementation review
measures the systems performance against pre-determined requirements.
It determines how well the system continues to meet performance
specifications. It also provides information to determine whether major re-
design or modification is required. In evaluation system is checked against
the pre-determined requirements. All the requirements have been fully
attained. Where there was any mistake that had handled through system
life cycle. Problem is solved and checked against the original facts.
REVIEW PLAN: For review a team is planned. The Team shall prepare a formal plan
around the objectives of the review. An overall plan covers the following
areas:
ADMINISTRATOR PLAN: Review area objectives, operating costs, actual operating
performance and benefits.
PERSONNEL REQUIREMENTS PLAN: Review performance objectives and training performance to data.
HARDWARE PLAN: Review performance specifications
DOCUMENTATION REVIEW PLAN:
45
Review the system development efforts.
I. ADMINISTRATIVE PLAN(a) USER OBJECTIVE:
This is an extremely crucial area since it may be
possible that over a period of time the system does not meet
the initial objectives of the user or objectives get changed as a
result of changes in the overall objectives of the organization.
The results of the evaluation are documented for future
reference.
(b) OPERATING COSTS AND BENEFITS: Under the administration plan, current budget designed
manipulate costs and savings of the system will closely
reviewed.
II. PERSONNEL REQUIREMENT PLAN(a) Personnel old performance objectives will be compared with
current performance levels.
(b) Training performance through testing, conducting interviews
and other data gathering techniques.
III. HARDWARE PLAN
(a) The hardware of the new system will also review. But as we
are using existing hardware which full fill the requirement of
project. Hence the cost of hardware is not increased.
IV. DOCUMENTATION REVIEW PLAN:
46
The reason for review plan is to evaluate the accuracy and
completeness of the documentation compiled to date and to its conformity
with documentation standards established earlier.
SYSTEM MAINTENANCE:The last part of system development life cycle is system
maintenance, which is actually the implementation of the post-
implementation plan. Hence Programmers/ Analyst spend sufficient time
for maintaining programs.
Hence maintenance will cover a wide range of activities including
correcting coding and design errors, updating documentation and test data
and upgrading user support. Many activities classified as maintenance
actually fall under enhancements. Hence in maintenance of system
enhancement also takes place. Therefore in maintenance addition,
modification, re-developing of code will take place to support changes in
specification.
TESTING: No program or system design is perfect; the communication
between the user and the designer is not always clear, and time is usually
short. The result is errors and more errors. So before implementing the
system it should be first tested. It is tedious but necessary step in system
development. There are various testing techniques which are discussed
below with the information that how they are applied to present system.
The testing of software is done module wise. UNIT TESTING:
It is technique for testing the changes made in an existing system. It is adopted to test the programs for errors. Errors
47
found in coding and in logic are fixed. Errors between interactions of modules are removed.
INTEGRATION TESTING: Integration testing is a systematic 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 components and build a program structure that has been dictated by design. STRING TESTING:
Programs are invariably related to one another and interact in total system. Each program is tested to see weather it confirms the related program in the system. Each part of the system is tested against the entire module with both test and live data before whole system is ready to be tested.
SYSTEM TESTING: System testing is designed to uncover the weaknesses that
were found in earlier tests. First the programs were tested against low volume of data. Now increasing the volume of data checks all the programs. This volume is increased until the maximum level for each transaction type is reached.
USER ACCEPTANCE TESTING: An acceptance test has the objective of sealing the user on
the validity and reliability of the system. It verifies that the
48
system’s procedures operate to system specifications and the integrity of vital data is obtained. Performance of this test is actually the user’s show. Users are allowed to operate the new system. And they are asked whether they are easy with new system as user acceptance is compulsory for a successful system.
The screen are tried to make very easy if user gives a good suggestion,
which seems good. Screen is changed accordingly.
REPORT TESTING:
In report testing old system reports are compared with new system.
The entire calculated figures are checked carefully. Where there is error
found is marked. And sent to programmer for correction. Once the problem
is fixed, report is again sent to for checking. If it is found correct, then it is
accepted else same step is repeated again. Old system reports are
continued till all the new system reports are not checked and found correct.
Once all the reports are O.K. The old system will be discontinued.
SYSTEM SECURITY MEASURES
The software is password protected. The user can enter to the admin
part only via a password screen. And can exit only through same screen.
The permission allows him more flexibility to keep his work secure for other
user intervention. Unauthorized user get message. “PASSWORD IS
WRONG”. Hence nobody other then authorized user can enter in
application.
49
CODING
Public Class CANDIDATES
Dim con As New SqlClient.SqlConnection("data source=.; initial
catalog=profile;integrated security=sspi")
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim DA As New SqlClient.SqlDataAdapter("SELECT uid,pwd,petword
FROM PERSONAL", con)
Dim DS As New DataSet
DA.Fill(DS, "p")
Me.DataGridView1.DataSource = DS
Me.DataGridView1.DataMember = "p"
End Sub
Private Sub CANDIDATES_Load(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles MyBase.Load
End Sub
End Class
50
Public Class CHANGE_PASSWORD
Dim con As New SqlClient.SqlConnection("data source=.; initial
catalog=profile;integrated security=sspi")
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim cmd As New SqlClient.SqlCommand
cmd.Connection = con
con.Open()
cmd.CommandText = "UPDATED PERSONAL SET PWD=@CP WHERE
UID='" & Me.UID.Text
cmd.Parameters.AddWithValue("@CP", Me.CP.Text)
End Sub
Private Sub CHANGE_PASSWORD_Load(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class
51
Public Class CREATE_USER
Dim con As New SqlClient.SqlConnection("data source=.; initial
catalog=profile;integrated security=sspi")
Private Sub GroupBox2_Enter(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles GroupBox2.Enter
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim cmd As New SqlClient.SqlCommand
cmd.Connection = con
con.Open()
cmd.CommandText = "INSERT INTO CREATEUSER
VALUES(@UID,@PWD,@PET)"
cmd.Parameters.AddWithValue("@UID", Me.UID.Text)
cmd.Parameters.AddWithValue("@PWD", Me.PWD.Text)
cmd.Parameters.AddWithValue("@PET", Me.PET.Text)
cmd.ExecuteNonQuery()
MsgBox("CREATE")
con.Close()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
End
End Sub
52
Private Sub UID_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles UID.GotFocus
Me.UID.BackColor = Color.Chartreuse
End Sub
Private Sub UID_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles UID.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.PWD.Focus()
End If
End Sub
Private Sub UID_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles UID.LostFocus
Me.UID.BackColor = Color.White
End Sub
Private Sub UID_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles UID.TextChanged
End Sub
Private Sub PWD_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles PWD.GotFocus
Me.PWD.BackColor = Color.Chartreuse
End Sub
53
Private Sub PWD_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles PWD.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.PET.Focus()
End If
End Sub
Private Sub PWD_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles PWD.LostFocus
Me.PWD.BackColor = Color.White
End Sub
Private Sub PWD_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles PWD.TextChanged
End Sub
End Class
54
Public Class FEEDBACK
Dim con As New SqlClient.SqlConnection("data source=.; initial
catalog=profile;integrated security=sspi")
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim cmd As New SqlClient.SqlCommand
cmd.Connection = con
con.open()
cmd.CommandText = "INSERT INTO
FEEDBACK(id,nam,place,sal,city,ser)
VALUES(@id,@nam,@place,@sal,@city,@ser)"
cmd.Parameters.AddWithValue("@id", Me.id.Text)
cmd.Parameters.AddWithValue("@nam", Me.nam.Text)
cmd.Parameters.AddWithValue("@place", Me.place.Text)
cmd.Parameters.AddWithValue("@sal", Me.sal.Text)
cmd.Parameters.AddWithValue("@city", Me.city.Text)
cmd.Parameters.AddWithValue("@ser", Me.ser.Text)
cmd.ExecuteNonQuery()
MsgBox("saved")
con.close()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
End
MsgBox("EXIT")
55
End Sub
Private Sub id_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles id.GotFocus
Me.id.BackColor = Color.Chartreuse
End Sub
Private Sub id_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles id.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.nam.Focus()
End If
End Sub
Private Sub id_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles id.LostFocus
Me.id.BackColor = Color.White
End Sub
Private Sub id_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles id.TextChanged
End Sub
Private Sub nam_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles nam.GotFocus
Me.nam.BackColor = Color.Chartreuse
End Sub
56
Private Sub nam_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles nam.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.place.Focus()
End If
End Sub
Private Sub nam_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles nam.LostFocus
Me.nam.BackColor = Color.White
End Sub
Private Sub nam_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles nam.TextChanged
End Sub
Private Sub place_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles place.GotFocus
Me.place.BackColor = Color.Chartreuse
End Sub
Private Sub place_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles place.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.sal.Focus()
End If
End Sub
57
Private Sub place_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles place.LostFocus
Me.place.BackColor = Color.White
End Sub
Private Sub place_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles place.TextChanged
End Sub
Private Sub sal_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles sal.GotFocus
Me.sal.BackColor = Color.Chartreuse
End Sub
Private Sub sal_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles sal.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.city.Focus()
End If
End Sub
Private Sub sal_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles sal.LostFocus
Me.sal.BackColor = Color.White
End Sub
Private Sub sal_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles sal.TextChanged
58
End Sub
Private Sub city_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles city.GotFocus
Me.city.BackColor = Color.Chartreuse
End Sub
Private Sub city_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles city.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.ser.Focus()
End If
End Sub
Private Sub city_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles city.LostFocus
Me.city.BackColor = Color.White
End Sub
Private Sub city_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles city.TextChanged
End Sub
End Class
Public Class LOGI
Dim con As New SqlClient.SqlConnection("data source=.;initial
catalog=SECURITYSYS;integrated security=sspi")
59
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
If Me.U.Text = "ADMIN" And Me.P.Text = "ADMIN" Then
MDI_FORM.ADMINToolStripMenuItem.Enabled = True
Exit Sub
End If
Dim qry As String
qry = "select * from users where UID='" & U.Text & "' AND PWD='" &
P.Text & "'"
Dim da As New SqlClient.SqlDataAdapter(qry, con)
Dim ds As New DataSet
da.Fill(ds, "users")
If ds.Tables("users").Rows.Count > 0 Then
MsgBox("open success")
common.enable()
Else
MsgBox("please fill correct information")
End If
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim R As Integer
MsgBox("DO YOU FORGOT?", MsgBoxStyle.YesNo)
If R = 6 Then
End
Else
60
FORGOT.SHOW()
End If
End Sub
Private Sub LOGI_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
End Sub
Private Sub U_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles U.GotFocus
Me.U.BackColor = Color.Chocolate
End Sub
Private Sub U_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles U.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.P.Focus()
End If
End Sub
Private Sub U_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles U.LostFocus
Me.U.BackColor = Color.White
End Sub
61
Private Sub U_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles U.TextChanged
End Sub
Private Sub P_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles P.KeyPress
End Sub
Private Sub P_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles P.TextChanged
End Sub
End Class
Public Class PROFILE
Dim con As New SqlClient.SqlConnection("data source=.; initial
catalog=profile;integrated security=sspi")
Private Sub LI_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles LI.Click
Dim path As String
Me.OpenFileDialog1.ShowDialog()
PATH = Me.OpenFileDialog1.FileName
Me.PATH.Image = Image.FromFile(PATH)
End Sub
62
Private Sub S_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles S.Click
Dim cmd As New SqlClient.SqlCommand
cmd.Connection = con
con.Open()
cmd.CommandText = "INSERT INTO PERSONAL
VALUES(@ID,@NAM,@FNAM,@DOB,@ADD,@CITY,@HT,@MNG,@CO
MP,@GEND,@REL,@QUL,@CASTE)"
cmd.Parameters.AddWithValue("@ID", Me.ID.Text)
cmd.Parameters.AddWithValue("@NAM", Me.NAM.Text)
cmd.Parameters.AddWithValue("@FNAM", Me.FNAM.Text)
cmd.Parameters.AddWithValue("@DOB",
Me.DOB.Value.ToShortDateString)
cmd.Parameters.AddWithValue("@ADD", Me.ADD.Text)
cmd.Parameters.AddWithValue("@CITY", Me.CITY.Text)
cmd.Parameters.AddWithValue("@HT", Me.HT.Text)
cmd.Parameters.AddWithValue("@MNG", Me.MNG.Text)
cmd.Parameters.AddWithValue("@COMP", Me.COMP.Text)
cmd.Parameters.AddWithValue("@GEND", Me.GEND.Text)
cmd.Parameters.AddWithValue("@REL", Me.REL.Text)
cmd.Parameters.AddWithValue("@QUL", Me.QUL.Text)
cmd.Parameters.AddWithValue("@CASTE", Me.CASTE.Text)
cmd.ExecuteNonQuery()
MsgBox("saved")
con.Close()
End Sub
63
Private Sub N_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles N.Click
Me.ID.Text = " "
Me.NAM.Text = " "
Me.FNAM.Text = " "
Me.DOB.Text = " "
Me.ADD.Text = " "
Me.CITY.Text = " "
Me.HT.Text = " "
Me.MNG.Text = " "
Me.COMP.Text = " "
Me.GEND.Text = " "
Me.REL.Text = " "
Me.QUL.Text = " "
Me.CASTE.Text = " "
End Sub
Private Sub U_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles U.Click
Dim cmd As New SqlClient.SqlCommand
cmd.Connection = con
con.Open()
cmd.CommandText = "UPDATE PERSONAL SET
ID=@ID,NAM=@NAM,FNAM=@FNAM,DOB=@DOB,ADD=@ADD,CITY=
@CITY,HT=@HT,MNG=@MNG,COMP=@COMP,GEND=@GEND,REL=@R
EL,QUL=@QUL,CASTE=@CASTE)"
cmd.Parameters.AddWithValue("@ID", Me.ID.Text)
cmd.Parameters.AddWithValue("@NAM", Me.NAM.Text)
cmd.Parameters.AddWithValue("@FNAM", Me.FNAM.Text)
64
cmd.Parameters.AddWithValue("@DOB",
Me.DOB.Value.ToShortDateString)
cmd.Parameters.AddWithValue("@ADD", Me.ADD.Text)
cmd.Parameters.AddWithValue("@CITY", Me.CITY.Text)
cmd.Parameters.AddWithValue("@HT", Me.HT.Text)
cmd.Parameters.AddWithValue("@MNG", Me.MNG.Text)
cmd.Parameters.AddWithValue("@COMP", Me.COMP.Text)
cmd.Parameters.AddWithValue("@GEND", Me.GEND.Text)
cmd.Parameters.AddWithValue("@REL", Me.REL.Text)
cmd.Parameters.AddWithValue("@QUL", Me.QUL.Text)
cmd.Parameters.AddWithValue("@CASTE", Me.CASTE.Text)
cmd.ExecuteNonQuery()
MsgBox("UPDATED")
con.Close()
End Sub
Private Sub D_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles D.Click
Dim cmd As New SqlClient.SqlCommand
cmd.Connection = con
con.Open()
cmd.CommandText = "delete from personal where id=@id"
cmd.Parameters.AddWithValue("@ID", Me.ID.Text)
cmd.ExecuteNonQuery()
MsgBox("deleted")
con.Close()
End Sub
65
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim da As New SqlClient.SqlDataAdapter("select
id,nam,fnam,add,city,ht,mng,comp,gend,rel,qul,caste from personal where id=" &
Me.ID.Text, con)
Dim ds As New DataSet
da.Fill(ds, "personal")
If ds.Tables("personal").Rows.Count <> 0 Then
Me.ID.Text = ds.Tables("personal").Rows(0)("ID")
Me.NAM.Text = ds.Tables("personal").Rows(0)("NAM")
Me.FNAM.Text = ds.Tables("personal").Rows(0)("FNAM")
Me.DOB.Text = ds.Tables("personal").Rows(0)("DOB")
Me.ADD.Text = ds.Tables("personal").Rows(0)("ADD")
Me.CITY.Text = ds.Tables("personal").Rows(0)("CITY")
Me.HT.Text = ds.Tables("personal").Rows(0)("HT")
Me.MNG.Text = ds.Tables("personal").Rows(0)("MNG")
Me.COMP.Text = ds.Tables("personal").Rows(0)("COMP")
Me.GEND.Text = ds.Tables("personal").Rows(0)("GEND")
Me.REL.Text = ds.Tables("personal").Rows(0)("REL")
Me.QUL.Text = ds.Tables("personal").Rows(0)("QUL")
Me.CASTE.Text = ds.Tables("personal").Rows(0)("CASTE")
Else
MsgBox("NO RECORDS FOUND")
End If
End Sub
66
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim cmd As New SqlClient.SqlCommand
cmd.Connection = con
con.Open()
cmd.CommandText = "INSERT INTO
PERSONAL(JOB,COM,SAL,DES,PLACE,BUISNESS,NOB,INCOME)
VALUES(@JOB,@COM,@SAL,@DES,@PLACE,@BUISNESS,@NOB,@INC
OME)"
cmd.Parameters.AddWithValue("@JOB", Me.JOB.Text)
cmd.Parameters.AddWithValue("@COM", Me.COM.Text)
cmd.Parameters.AddWithValue("@SAL", Me.SAL.Text)
cmd.Parameters.AddWithValue("@DES", Me.DES.Text)
cmd.Parameters.AddWithValue("@PLACE", Me.ADD.Text)
cmd.Parameters.AddWithValue("@BUISNESS", Me.BUISNESS.Text)
cmd.Parameters.AddWithValue("@NOB", Me.NOB.Text)
cmd.Parameters.AddWithValue("@INCOME", Me.INCOME.Text)
cmd.ExecuteNonQuery()
MsgBox("saved")
con.Close()
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
Me.JOB.Text = " "
Me.COM.Text = " "
Me.SAL.Text = " "
67
Me.DES.Text = " "
Me.PLACE.Text = " "
Me.BUISNESS.Text = " "
Me.NOB.Text = " "
Me.INCOME.Text = " "
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button4.Click
Dim cmd As New SqlClient.SqlCommand
cmd.Connection = con
con.Open()
cmd.CommandText = "UPDATED PERSONAL SET
JOB=@JOB,COM=@COM,SAL=@SAL,DES=@DES,PLACE=@PLACE,BUIS
NESS=@BUISNESS,NOB=@NOB,INCOME=@INCOME)"
cmd.Parameters.AddWithValue("@JOB", Me.JOB.Text)
cmd.Parameters.AddWithValue("@COM", Me.COM.Text)
cmd.Parameters.AddWithValue("@SAL", Me.SAL.Text)
cmd.Parameters.AddWithValue("@DES", Me.DES.Text)
cmd.Parameters.AddWithValue("@PLACE", Me.PLACE.Text)
cmd.Parameters.AddWithValue("@BUISNESS", Me.BUISNESS.Text)
cmd.Parameters.AddWithValue("@NOB", Me.NOB.Text)
cmd.Parameters.AddWithValue("@INCOME", Me.INCOME.Text)
cmd.ExecuteNonQuery()
MsgBox("UPDATED")
con.Close()
End Sub
68
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button5.Click
Dim cmd As New SqlClient.SqlCommand
cmd.Connection = con
con.Open()
cmd.CommandText = "delete from personal where
JOB=@JOB,COM=@COM,SAL=@SAL,DES=@DES,PLACE=@PLACE,BUIS
NESS=@BUISNESS,NOB=@NOB,INCOME=@INCOME"
cmd.Parameters.AddWithValue("@JOB", Me.JOB.Text)
cmd.Parameters.AddWithValue("@COM", Me.COM.Text)
cmd.Parameters.AddWithValue("@SAL", Me.SAL.Text)
cmd.Parameters.AddWithValue("@DES", Me.DES.Text)
cmd.Parameters.AddWithValue("@PLACE", Me.PLACE.Text)
cmd.Parameters.AddWithValue("@BUISNESS", Me.BUISNESS.Text)
cmd.Parameters.AddWithValue("@NOB", Me.NOB.Text)
cmd.Parameters.AddWithValue("@INCOME", Me.INCOME.Text)
cmd.ExecuteNonQuery()
MsgBox("DELETE")
con.Close()
End Sub
Private Sub J_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles J.CheckedChanged
If Me.J.Checked = True Then
JOB.Enabled = True
BUISNESS.Enabled = False
End If
69
End Sub
Private Sub B_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles B.CheckedChanged
If Me.B.Checked = True Then
BUISNESS.Enabled = True
JOB.Enabled = False
End If
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles CASTE.TextChanged
End Sub
Private Sub ID_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ID.GotFocus
Me.ID.BackColor = Color.Chartreuse
End Sub
Private Sub ID_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles ID.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.NAM.Focus()
End If
End Sub
70
Private Sub ID_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ID.LostFocus
Me.ID.BackColor = Color.White
End Sub
Private Sub ID_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles ID.TextChanged
End Sub
Private Sub NAM_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles NAM.GotFocus
Me.NAM.BackColor = Color.Chartreuse
End Sub
Private Sub NAM_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles NAM.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.FNAM.Focus()
End If
End Sub
Private Sub NAM_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles NAM.LostFocus
Me.NAM.BackColor = Color.White
End Sub
71
Private Sub NAM_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles NAM.TextChanged
End Sub
Private Sub FNAM_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles FNAM.GotFocus
Me.FNAM.BackColor = Color.Chartreuse
End Sub
Private Sub FNAM_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles FNAM.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.DOB.Focus()
End If
End Sub
Private Sub FNAM_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles FNAM.LostFocus
Me.FNAM.BackColor = Color.White
End Sub
Private Sub FNAM_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles FNAM.TextChanged
72
End Sub
Private Sub DOB_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DOB.GotFocus
Me.DOB.BackColor = Color.Chartreuse
End Sub
Private Sub DOB_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles DOB.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.ADD.Focus()
End If
End Sub
Private Sub DOB_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DOB.LostFocus
Me.DOB.BackColor = Color.White
End Sub
Private Sub DOB_ValueChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles DOB.ValueChanged
End Sub
Private Sub ADD_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ADD.GotFocus
Me.ADD.BackColor = Color.Chartreuse
73
End Sub
Private Sub ADD_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles ADD.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.CITY.Focus()
End If
End Sub
Private Sub ADD_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles ADD.LostFocus
Me.ADD.BackColor = Color.White
End Sub
Private Sub ADD_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles ADD.TextChanged
End Sub
Private Sub CITY_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles CITY.GotFocus
Me.CITY.BackColor = Color.Chartreuse
End Sub
Private Sub CITY_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles CITY.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.HT.Focus()
End If
74
End Sub
Private Sub CITY_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles CITY.LostFocus
Me.CITY.BackColor = Color.White
End Sub
Private Sub CITY_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CITY.TextChanged
End Sub
Private Sub HT_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles HT.GotFocus
Me.HT.BackColor = Color.Chartreuse
End Sub
Private Sub HT_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles HT.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.MNG.Focus()
End If
End Sub
Private Sub HT_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles HT.LostFocus
Me.HT.BackColor = Color.White
End Sub
75
Private Sub HT_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles HT.SelectedIndexChanged
End Sub
Private Sub MNG_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MNG.GotFocus
Me.MNG.BackColor = Color.Chartreuse
End Sub
Private Sub MNG_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles MNG.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.COMP.BackColor = Color.Chartreuse
End If
End Sub
Private Sub MNG_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles MNG.LostFocus
Me.COMP.BackColor = Color.White
End Sub
Private Sub MNG_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles MNG.TextChanged
End Sub
Private Sub COMP_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles COMP.GotFocus
76
Me.COMP.BackColor = Color.Chartreuse
End Sub
Private Sub COMP_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles COMP.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.GEND.Focus()
End If
End Sub
Private Sub COMP_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles COMP.LostFocus
Me.COMP.BackColor = Color.White
End Sub
Private Sub COMP_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles COMP.TextChanged
End Sub
Private Sub GEND_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles GEND.GotFocus
Me.GEND.BackColor = Color.Chartreuse
End Sub
Private Sub GEND_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles GEND.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.REL.Focus()
77
End If
End Sub
Private Sub GEND_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles GEND.LostFocus
Me.GEND.BackColor = Color.Chartreuse
End Sub
Private Sub GEND_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles GEND.SelectedIndexChanged
End Sub
Private Sub REL_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles REL.GotFocus
Me.REL.BackColor = Color.Chartreuse
End Sub
Private Sub REL_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles REL.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.QUL.Focus()
End If
End Sub
Private Sub REL_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles REL.LostFocus
Me.REL.BackColor = Color.White
End Sub
78
Private Sub REL_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles REL.SelectedIndexChanged
End Sub
Private Sub QUL_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles QUL.GotFocus
Me.QUL.BackColor = Color.Chartreuse
End Sub
Private Sub QUL_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles QUL.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.CASTE.Focus()
End If
End Sub
Private Sub QUL_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles QUL.LostFocus
Me.QUL.BackColor = Color.White
End Sub
Private Sub QUL_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles QUL.TextChanged
End Sub
79
Private Sub JOB_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles JOB.GotFocus
Me.JOB.BackColor = Color.Chartreuse
End Sub
Private Sub JOB_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles JOB.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.COM.Focus()
End If
End Sub
Private Sub JOB_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles JOB.LostFocus
Me.JOB.BackColor = Color.White
End Sub
Private Sub JOB_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles JOB.TextChanged
End Sub
Private Sub COM_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles COM.GotFocus
Me.COM.BackColor = Color.Chartreuse
End Sub
80
Private Sub COM_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles COM.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.SAL.Focus()
End If
End Sub
Private Sub COM_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles COM.LostFocus
Me.COM.BackColor = Color.White
End Sub
Private Sub COM_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles COM.TextChanged
End Sub
Private Sub SAL_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles SAL.GotFocus
Me.SAL.BackColor = Color.Chartreuse
End Sub
Private Sub SAL_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles SAL.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.DES.Focus()
End If
81
End Sub
Private Sub SAL_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles SAL.LostFocus
Me.SAL.BackColor = Color.White
End Sub
Private Sub SAL_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles SAL.TextChanged
End Sub
Private Sub DES_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DES.GotFocus
Me.DES.BackColor = Color.Chartreuse
End Sub
Private Sub DES_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles DES.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.PLACE.Focus()
End If
End Sub
Private Sub DES_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DES.LostFocus
Me.DES.BackColor = Color.White
End Sub
82
Private Sub DES_TextChanged(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles DES.TextChanged
End Sub
Private Sub PLACE_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles PLACE.GotFocus
Me.PLACE.BackColor = Color.Chartreuse
End Sub
Private Sub PLACE_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles PLACE.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.BUISNESS.Focus()
End If
End Sub
Private Sub PLACE_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles PLACE.LostFocus
Me.PLACE.BackColor = Color.White
End Sub
Private Sub PLACE_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles PLACE.TextChanged
End Sub
Private Sub BUISNESS_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles BUISNESS.GotFocus
83
Me.BUISNESS.BackColor = Color.Chartreuse
End Sub
Private Sub BUISNESS_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles BUISNESS.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.NOB.Focus()
End If
End Sub
Private Sub BUISNESS_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles BUISNESS.LostFocus
Me.BUISNESS.BackColor = Color.Chartreuse
End Sub
Private Sub BUISNESS_TextChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles BUISNESS.TextChanged
End Sub
Private Sub NOB_GotFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles NOB.GotFocus
Me.NOB.BackColor = Color.Chartreuse
End Sub
Private Sub NOB_KeyPress(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyPressEventArgs) Handles NOB.KeyPress
If Asc(e.KeyChar) = 13 Then
Me.INCOME.Focus()
84
End If
End Sub
Private Sub NOB_LostFocus(ByVal sender As Object, ByVal e As
System.EventArgs) Handles NOB.LostFocus
Me.NOB.BackColor = Color.White
End Sub
Private Sub NOB_TextChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles NOB.TextChanged
End Sub
Private Sub PROFILE_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
End Sub
End Class
85
OUTPUT SCREENS
86
87
88
89
90
91
92
93
94
95
96
97
98
BIBLIOGRAPHY
1. System Analysis and Design BY Elias M.Awad, Galgotia Publications.
2. Software Engineering By Roger S. Pressman, McGraw- Hill Publications.
3. MS-SQLSERVER ; BPB Publications
4. Mastering in VB.Net By BPB Publications.
5. VisualBasic.Net Programming, Black Book.
99