You are on page 1of 111

S.S.P.G.

COLLEGE SHIKARPUR
[Affiliated By Ch. Charan Singh University,Meerut]

A
Project Report
On

TRANSPORT SYSTEM

Submitted in the partial fulfillment of the requirement of B.C.A Degree.


(BACHLOR OF COMPUTER APPLICATION)

Under the supervision of- Submitted by:


Mrs. SEEMA SACHAN DIVYANG DUTT BHARDWAJ
Head of Roll No. 9811028
Deptt.of Computer Science

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Contents:-

• Certificate ……………………
• Acknowledgement ……………………
• Student declaration ……………………
• Objective of project ……………………
o User problem
o Solution of user problem
• Needs of computerization …………………...
• System development life cycle……………….
o Introduction
o SDLC ten phases
 Initial phase
 Conceptual proposal
 Planning phase
 Requirement analysis
 Designing phase
 Development phase
 Integration test phase
 Implementation phase
 Operation and Maintainence
• Data flow diagram …………………...
• Entity relationship diagram………………….
• Hardware & software used…………………..
• Backend ……………………
• Screen shots (Designing) ……………………
• Result reports ……………………
• Coding ……………………
• Conclusion ……………………
o Result
o Conclusion
• Scope ……………………
• Bibliography ……………………
Transportation System S.S.P.G. COLLEGE SHIKARPUR
CERTIFICATE

This is to certify that the project entitled, “Transport System” is a bonafied


work done by:
DIVYANG DUTT BHARDWAJ (Roll no: 9811028)

Students of BCA Vl Sem. (Batch 2006-2009) in partial fulfillment of BCA Degree


and has been carried out under our supervision and guidance.
To the best of my knowledge thier project work is genuine.

Signature of guide/Supervisor
Mrs.Seema Sachan
Head of
Deptt. Of Computer Science
S.S.P.G. College Shikarpur

Transportation System S.S.P.G. COLLEGE SHIKARPUR


ACKNOWLEDGEMENT

Concentration, dedication and application are necessary but not sufficient to


achieve Any goal . These must be awarded by guidance , assistance and
cooperation of some Persons to make it tenable . Firstly it is a great
pleasure, thanking all the people who helped me to follow the path to success
for the completion of this project .

We are grateful to Mrs.Seema Sachan Head of Deptt. of Computer Science,


S.S.P.G.COLLEGE SHIKARPUR for his guidance not only during the project
but also in the Whole BCA course and for giving all opportunities to work
and completing our project.

We would like to express deep sense of gratitude to Mr. Sunil Sachan


Senior Lecture Deptt. of Computer Science, S.S.P.G.COLLEGE
SHIKARPUR for providing us excellent cooperation, encouragement ,
guidance and timely help for our entire studentship.

We express our sincere thanks to Mr.sandeep koshik, Mr. Malay (Lecturer),


Deptt. of Computer Science, S.S.P.G.COLLEGE SHIKARPUR for their
valuable assistance , untiringefforts, constant help and direction incarrying out
the programming concept.

We heartfelt love to our dearest parents and other family members and our
team members whose blessing, constant inspiration, encouragement and
cooperation has being a source of inspiration for us.

[DIVYANG DUTT BHARDWAJ]

Transportation System S.S.P.G. COLLEGE SHIKARPUR


STUDENT DECLARATION

We here by declare that the project entitled “ TRANSPORTATION


System” on Bulandshahr Railway Road, Bulandshahr is our
original work and not submitted

for the award of any other degree/diploma of any university. It has been
made for partial fulfillment of the requirement

For the award of “Bachelor of computer Application ”.

[DIVYANG DUTT BHARDWAJ]

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Part 1

Objective of a
project

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Objective of a project

The problems are follows :-

USER PROBLEM:

• Whole reports are making manually.

• Inventory details are really very hard to maintain.

• Toomuch paper work.

• Hard to maintain Custommer and Delivery records and receipts.

• Difficult to maintain different types of record for a long period.

Then we suggest the following solutions of this problem:

SOLUTION OF USER PROBLEM :

• Whole reports are making by the computer.

• Inventory details are easily to maintain.

• No paper work after this project.

• In the system all record can be easily maintain in systematically order.

• No difficulties to maintain different types of record for a long period.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


NEEDS OF COMPUTERIZATION

Aim of computerization is to achive the business objective through effective


information management . The motivation for Pathology computerized database
system is essentially economic and technology in nature .Due to rapid technology
progress ,it is the need to have a fast information processing system capable of
providing processed data at the rightr time and to the right person for making
right decision .Today is the area of information processing system , which is rightly
justified by the following limition of manual system:

• Delay in information search and retrieval

• Problem in updating current information and maintaining proper backup of


information

• Possible damage of peper carrying the information and hence the chance of
losing valuable information

• Considerable time taken for report generation required periodically

• Lack of information pool between various division of commercial firm

• Less reliability and maintainability of data

• Time consumption and large people involvement was there.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


The Computerization of the existing manual system will be helpful in
following ways:

• Easy storage and retrieval of data

• Plan generation with less effort and high accuracy

• Report generation with less effort and high accuracy

• Secrecy and less chance of change or loss of data

• Portability and ease of maintaining data

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Part 2

Software
development life cycle
[SDLC]

Transportation System S.S.P.G. COLLEGE SHIKARPUR


SOFTWARE DEVELOPMENT LIFE
CYCLE

Maintenance

Testing

Coding

Design

Risk Analysis

Problem Definition

2.1 INTRODUCTION
Transportation System S.S.P.G. COLLEGE SHIKARPUR
The SDLC includes ten phases during which defined IT work products are
created or modified. The tenth phase occurs when the system is disposed of
and the task performed is either eliminated or transferred to other system. The
tasks and work products for each phase are described in subsequent
chapters. Not every project will require that phases be sequentially executed.
However, the phases are interdependent. Depending upon the size and
complexity of the project, phases may be combined or may overlap.

2.1.1 The goals of this SDLC approach are to:


• Deliver quality systems which meet or exceed customer expectations
when promised and within cost estimates.

• Provide a framework for developing quality system using an identifiable,


measurable, and repeatable process.

• Establish a project management structure to ensure that each system


development project is effectively managed throughout its life cycle.

• Identify and assign the roles and responsibilities of all involved parties,
including functional and technical managers, throughout the system
development life cycle.

• Ensure that system development requirements are well defined and


subsequently satisfied.

2.1.2 The system Development Life Cycle


methodology will help to achieve these goals by:

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Establishing appropriate levels of management authority to provide timely
direction, coordination, control, review, and approval of the system
development project.
• Ensuring project management accountability.
• Documenting requirements and maintaining trace ability of those
requirements throughout the development and implementation process.
• Ensuring that projects are developed within the current and planned
information technology infrastructure.
• Identifying project risks early and manage them before they become
problems.

2.2 The SDLC encompasses ten phases:


2.2.1 Initiation phase

The initiation of a system (or project) begins when a business need or


opportunity is identified. A project Manager should be appointed to manage
the project. This business need is documented in a Concept Proposal. After
the Concept Proposal is approved, the System Concept Development phase
begins.

2.2.2 System Concept Development Phase


Once a business need is approved, the approaches for accomplishing the
concept are reviewed for feasibility and appropriateness. The

System Boundary Document identifies the scope of the system and requires
Senior Official approval and funding before beginning the Planning Phase.

2.2.3 Planning Phase


The concept is further developed to describe how the business will operate
once the approved system is implemented, and to assess how the system will
Transportation System S.S.P.G. COLLEGE SHIKARPUR
impact employee and customer privacy. To ensure the products and / or
services provide the required capability on-time and within budget, projects
resources, activities, schedules, tools and reviews are defined. Additionally,
security certification and accreditation activities begin with the identification of
system security requirements and the completion of a high level vulnerability
assessment.

2.2.4 Requirements Analysis Phase

Functional user requirements are formally defined and delineate the


requirements in terms of data, system performance, security, and
maintainability requirements for the system. All requirements are defined to a
level of detail sufficient for system design to proceed. All requirements need to
be measurable and testable and to the business need or opportunity identified
in the Initiation Phase.

2.2.5 Design Phase

The physical characteristics of the system are designed during this phase. The
operating environment is established, major subsystems and their inputs and
outputs are defined, and processes are allocated to resources. Everything
requiring user input or approval must be documented and reviewed by the
user. The physical characteristics of the system are specified and a detailed
design is prepared. Subsystems identified during design are used to create a
detailed structure of the system. Each subsystem is partitioned into one or
more design units or modules. Detailed logic specification is prepared for each
software module.

2.2.6 Development phase

The detailed specifications produced during the design phase are translated
into hardware, communications, and executable software. Software shall be

Transportation System S.S.P.G. COLLEGE SHIKARPUR


unit tested, integrated, and retested in a systematic manner. Hardware is
assembled and tested.

2.2.7 Integration and Test Phase

The various components of the system are integrated and systematically


tested. The user tests the system to ensure that the functional requirements,
as defined in the functional requirements documents, are satisfied by the
developed or modified system. Prior to installing and operating the system in a
production environment, the system must undergo certification and
accreditation activities.

2.2.8 Implementation Phase

The system or system modifications are installed and made operational in a


production environment. The phase is initiated after the system has been
tested and accepted by the user. This phase continues until the system is
operating in operating in production in accordance within the defined user
requirement.

2.2.9 Operations and Maintenance Phase

The system operation is ongoing. The system is monitored for continued


performance in accordance with user requirements, and needed system
modifications are incorporated. The operational system is periodically
assessed through In-Process Reviews to determine how the system can be
made more efficient and effective. Operations continue as long as the system
can be effectively adapted to respond to an organization’s needs. When
modifications or changes are identified as necessary, the system may reenter
the planning phase.

2.2.10 Disposition Phase

Transportation System S.S.P.G. COLLEGE SHIKARPUR


The disposition activities ensure the orderly termination of the system and
preserve the vital information about the system so that some or all of the
information may be reactivated in the future if necessary. Particular emphasis
is given to proper preservation of the data processed by the system, so that
the data is effectively migrated to another system or archived in accordance
with applicable records management regulations and policies, for potential
future access.

2.3 INITIATION PHASE:

2.3.1 OBJECTIVE

The Initiation Phase begins when management determines that it is necessary


to enhance a business process though the application technology. The
purposes of the Initiation Phase are to:

• Identify and validate an opportunity to improve business


accomplishments of the organization or a deficiency related to a business
need.
• Identify significant assumptions and constraints on solutions to that
need, and
• Recommend the exploration of alternative concepts and methods to
satisfy the need.

IT projects may be initiated as a result of business process improvement


activities, changes in business function, advances in information technology,
or may arise from external sources, such as public law, the organization to
initiate the project file cycle. During this phase a Project Manager is appointed
who prepares a Statement of Need or Concept Proposal. When an opportunity
to improve business/mission accomplishments or to address a deficiency is
defined, the Project Manager documents these opportunities in the Concept
Proposal.

2.1.2 TASK AND ACTIVITIES

Transportation System S.S.P.G. COLLEGE SHIKARPUR


The following activities are performed a part of the Initiation Phase. The results
of these activities are captured in the Concept Proposal. For every IT project,
the agency, the agency should designate a responsible organization and
assign those organization sufficient resources to execute the project.

• Identify the Opportunity to Business Functions


• Identify a Project Sponsor
• Form (or appoint) a Project Organization
• Document the Phase Efforts

2.4 CONCEPTUAL PROPOSAL

2.4.1 OBJECTIVE

System Concept Development begins when the Conceptual Proposal has been
formally approved and requires study and analysis that may lead to System
development activities.

The review and approval of the Concept Proposal begins the formal studies
and analysis of the need in the System Concept Development Phase and
begins the life cycle of an identifiable project.

2.4.2 TASKS AND ACTIVITIES

The following activities are performed as part of the System Concept


Development Phase. The results of these activities are captured in four phase
documents and their underlying institutional processes and procedures (See
Figure).

• Study and Analyze the Business Need


• Plan the Project
• Form the Project Acquisition Strategy
• Study and Analyze the Risks

2.5 PLANNING PHASE:


Transportation System S.S.P.G. COLLEGE SHIKARPUR
2.5.1 OBJECTIVE
Many of the plans essential to the success of the entire project are create in
this phase; the created plans are then reviewed and update throughout the
remaining SDLC phases.
In the planning phase, the concept is further developed to describe how the
business will
Operate once the approved system is implemented and to assess how the
system will impact employee and customer privacy. To ensure the products
and/or services provides the required capability on-time and within budget,
project resources, activities, schedules,
Tools, and reviews are defined. Additionally, security certification and
accreditation activities begin with identification of system security requirements
and the completion of a high-level vulnerability assessment.

2.5.2 TASK AND ACTIVITIES


The following tasks are performed as part of the planning phase. The results
of these activities are captured in various project plans and solicitation
documents.

• Refine Acquisition Strategy in System Boundary Documents


• Analyze Project Schedule
• Create Internal Processes
• Establish Agreements with Stakeholders
• Develop the Project Management Plan
• Develop the System Engineering Management Plan
• Review Feasibility of System Alternatives
• Study and Analyze Security Implications
• Revise Previous Documentation

Transportation System S.S.P.G. COLLEGE SHIKARPUR


2.6 REQUIREMENT ANALYSIS :

2.6.1 OBJECTIVE
The Requirement Analysis Phase will begin when the previous phase
documentation has been approved or by management direction.
Documentation related to user requirement from the planning phase shell be
used as the basis for further user needs analysis and the
Development of detailed user requirements. The analysis may reveal new
insights into the Overall information system requirements, and, in such
instances, all deliverables should be revised to reflect this analysis. During the
Requirement Analysis phase, the system shall be defined in ore detail with
regard to system inputs, processes, outputs, and interfaces. This definition
process occurs At the function level .The system shall be described in terms of
the function to be performed, not in terms of computer programs, files, and
data streams. The emphasis in this phase is on determining what function
must be performed rather than how to perform those functions.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


2.6.2 TASK AND ACTIVITIES
The following tasks are performed during the Requirements Analysis Phase.
The tasks and activities actually performed depend on the nature of the project
, Inclusion of tasks for the ,Alternative SDLC work patterns.
• Analyze and Document Requirements.

First consolidate and affirm the business needs. Analyze the intended use of
the system

And specify the functional and data requirements. Connect the functional
requirements to the data requirements. Defines functional and system
requirements that are not easily
Expressed in data and process models Refine the high level architecture and
logical design to support the system and functional requirement.
A logical model is constructed that describes the fundamental processes and
data needed to support the desired business functionality. This logical model
will show how processes interact and how processes created and use data.
These processes will be derived from the activity descriptions provided in the
System Boundary Document.
Functions and entity types contained in the logical model are extended and
refine from those provided in the Concept Development Phase. End-user and
business areas experts will evaluate all identified processes and data
structures to ensure accuracy, logical consistency, and completeness. An
analysis of business activities and data structure perform to produce entity-
relationship diagrams, process hierarchy diagrams, process dependency
diagrams, and associated documentation. An interaction analysis produce
Process logic and action diagrams, definitions of the business algorithms,
entity life-cycle diagrams, and entity state change matrices .A detailed analysis
of the current technical architecture, application software, and data is
conducted to ensure that limitation or
Unique requirements have not been overlooked.
Include all possible requirements including those for:
• Functional and capability specifications, including performance, physical
characteristics, and environmental conditions under which the software item is
to perform;
• Interfaces external to the software item;
• Safety specification, including those related to methods of operation and
maintenance, environment influences, and personnel injury;
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Security specification, including those related to compromise of
sensitive information;
• Human-factors engineering, including those related to manual
operations, human- equipment interactions, constraints on personnel, and
areas needed concentrated human attention, that are sensitive to human
errors and training;

o Data specification and database requirements


o Installation and acceptance requirement of the delivered software
product at the operation and maintenance site(s)
o User documentation
o User operation and execution requirements
o User maintenance requirement

• Developed Test Criteria and plans


• Develop an Interface Control Document
• Conduct Functional Review
• Revise Previous Document

2.7 DESIGN PHASE:


2.7.1 OBJECTIVE
The objective of the Design Phase is to transform the detailed, defined
requirements into complete, detailed specifications for the system to guide the
work of the Development Phase. The decisions made in this phase address, in
detailed, how the system will meet the defined functional, physical, interface,
and data requirements. Design Phase activities may be conducted in an
iterative fashion, producing first a general system design that emphasizes the
functional features of the system, then a more detailed system design that
expands the general design by providing all the technical detailed.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


2.7.2 TASKS AND ACTIVITIES
The following tasks are performed during the Design Phase. The tasks and
activities actually performed depend on the nature of the project. Guidelines
for selection and inclusion of tasks for the Design Phase may be found,
Alternate SDLC Work Patterns.

• Establish the Application Environment


• Design the Application
• Develop Maintenance Manual
• Develop Operational Manual
• Conduct Preliminary Design Review
• Design Human Performance Support (Training)
• Design Conversion/Migration/Transition Strategies
• Conduct a Security Risk Assessment
• Conduct Critical Design Review
• Revise Previous Documentation

2.8 DEVELOPMENT PHASE:

2.8.1 OBJECTIVE
The objective of the development phase will be to convert the deliverables of
the design phase into a complete information system. Although much of the
activity in the development phase addresses the computer programs that
make up the system, this phase also puts in place the hardware, software, and
communications environment for the system and other important elements of
the overall systems.
The activities of this phase translate the system design produced in the design
phase into a working information system capable of addressing the information
system requirements. The development phase contains activities for building
the system, testing the system, and conducting functional qualification testing,
to ensure the system functional processes satisfy the functional process
requirements in the

Functional Requirement Document (FRD)

Transportation System S.S.P.G. COLLEGE SHIKARPUR


At the end of this phase, the system will be ready for the activities of the
Integration and Testing Phase.

2.8.2 TASKS AND ACTIVITIES


• Code and Test Software
• Integration Software

Integration the software units, components and modules. Integration the


software units and software components and test in accordance with the
integration plan. Ensure that

A module satisfies the requirements of the software at the conclusion of the


integration activity.

• Conduct Software Qualification Testing

Conducting qualification testing in accordance with the qualification


requirement for the software items. Ensure that the implementation of each
software requirement is tested for compliance. Support audit(s), which could
be conducted to ensure that:

o As-coded software products (such as software item) reflect


the design documentation.
o The acceptance review and testing requirements prescribed
by the documentation are adequate for the acceptance of the software
products.
o Test data comply with the specification
o Software products were successfully tested and meet their
specifications
o Test reports are correct and discrepancies between actual
and expected results have been resolved
o User documentation complies with standards as specified

The results of the audits shall be documented. If both hardware and software
are under development of integration, the audits may be postponed until the
System Qualification Testing. Upon successful completion of the audits, if
conducted, update and prepare the deliverable software product for System
Integration, System Qualification Testing, Hardware Installation, or Software
Acceptance Supports as applicable. Also, establish a baseline for the design
and code of the software item.
Transportation System S.S.P.G. COLLEGE SHIKARPUR
• Integrate System
Integrate the software configuration items with hardware configuration items,
manual operations, and other systems as necessary, into the system. The
aggregates shall be tested, as they are developed, against their requirements.
The integration and the test results shall be documented. For each
qualification requirement of the system, a set of tests, test cases (inputs,
outputs, test criteria), and test procedure for conducting System Qualification
Testing shall be developed and documented. Ensure that the integration
system is ready for System Qualification Testing.

• Conduct System Qualification Testing

Conduct system qualification testing in accordance with the qualification


requirements specified for the system. Ensure that the implementation of each
system requirement is tested for compliance and that the system is ready for
delivery. The qualification testing results shall be documented.

• Install Software
Install the software product in the target environment as designed and

in accordance with the Installation Plan. The resources and information


necessary to install the software product shall be determined and be available.
The developer shall assist the acquirer with the set-up activities. Where the
installed software product is replacing an existing system, the developer shall
support any parallel running activities that are required. Ensure that
the software code and databases initialize ,execute, and terminate as specified in the contract. The
installation events and results shall be documented.

• Document Software Acceptance Support


Acceptable review and testing shall consider the results of the Joint
Reviews, Audits, Software Qualification Testing, and System
Qualification Testing (if performed). The results of the acceptance
review and testing shall be documented.
The developer shall complete and deliver the software product as
specified. The developer

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Shall provide initial and continuing training and support to the
acquirer as specified.

• Revise Previous Documentation

Revive and update previous phase documentation as needed

2.9 INTEGRATION AND TEST PHASE

2.9.1 OBJECTIVE
The objective of this phase is to prove the developed system that the
developed system satisfies the requirements defined in the FRD. Several
types of tests will be conducted in the phase. First, Subsystem integration
tests shall be executed and evaluate by the development team to prove that
the program components integrate properly into the subsystems and that the
subsystems integrate properly into a application. Next, the testing team
conducts and evaluates system tests to ensure the developed system meets
all technical requirements, including performance requirement. Next, the
testing team and the security program manager conduct security tests to
validate that the access and data security requirements are met. Finally, users
participate in acceptance testing to confirm that the developed system meets
all user requirements as stated in the FRD. Acceptance testing shall be done
in a simulated “real” user environment with the users using simulating or real
target platforms and infrastructures .

2.9.2 TASKS AND ACTIVITIS


The tasks and activities actually performed depend on the nature of the
project. The following tasks should be completed during the integration and
test phase .

Transportation System S.S.P.G. COLLEGE SHIKARPUR


• Establish the Test Environment
Establish the various test teams and ensure the test system(s) are ready.

• Conduct Integration Tests

The test and evaluation team is responsible for creating/loading the test
database(s) and executing the integration test(s). This is to ensure that
program components integrate properly into the subsystems and the
subsystem integrates properly into an application.

• Conduct Subsystem/System Testing


The test and evaluation team is responsible for creating/loading the test
database(s) and executing the system tests. All results should be documented
on the test analysis report, test problem report and on the test analysis
approval determination. Any field components should be migrated back to the
development phase for rework, and the passed components should be
migrated ahead for security testing.

• Conduct Security Testing


The test and evaluation team will again create or load the test databases and
execute security (penetration) tests. All tests will be documented, similar to
those above. Failed components will be migrated back to the development
phase for rework, and passed components will migrate ahead for
implementation.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


• Revise Previous Documentation

During this phase, the systems technical lead or the developers will finalize the
software development document from the development phase. He/They will
also finalize the operations or systems administration manual, user manual,
training plan maintenance manual, conversion plan, implementation plan ,
contingency plan and update the interface control document from the design
phase. The project manager should finalize the system security plan and the
security risks assessment form the requirement analysis phase and the project
management plan from the planning phase. The configuration manager should
finalize the configuration management

plan from the planning phase. The quality assurance office/person should
finalize the quality assurance plan from the planning phase. And finally, the
project manager should finalize the cost benefit analysis and the risk
management plan from the system concept development phase.

2.10 IMPLEMENTATION PHASE

2.10.1 OBJECTIVE

In the phase, the system or system modification are installed and made
operational in a production environment. The phase is initiated after the
system has been tested and accepted by the user and project manager.
Activities in the phase include notification of implementation to end users,
execution of the previously defined training plan, Data Entry of Conversion,
and post implementation review. This phase continues until the system is
operating in production in accordance with the defined user requirements.
The new system can fall into three categories, replacement of a manual
process, replacement of a legacy system, or upgrade to an existing system
regardless of the type of system, all expects of the implementation phase
should be followed. This will ensure the smoothest possible transition to the
organization’s desired goal.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


2.10.2 TASKS AND ACTIVITIES
Task and activities in the implementation phase are associated with certain
deliverables described in section 10.3. The task and activities

actually performed depend on the nature of the project. A description of these


tasks and activities is provided below.

• Notify Users of New Implementation

The implementation notice should be sent to all users and organizations


affected by the implementation. Additionally, it is good policy to make internal
organizations not directly affected by the implementation aware of the
schedule so that allowances can be made for a disruption in the normal
activities of the section. Some notification methods are E-Mail,
Internal Memo to heads of department, Voice Tree Messages. The notice
include:

o The schedule of the implementation;


o A brief synopsis of the benefits of the new systems;
o The difference between the new and old system;
o Responsibilities of end user affected by the implementation
during this phase; and
o The process to obtain system support, including contact
names and phone numbers

• Execute Training Plan


• Perform Data Entry or conversion
• Install systems Conduct Post –implementation review
• Revise Previous documentation

Transportation System S.S.P.G. COLLEGE SHIKARPUR


2.11 OPERATION AND MAINTEMANCE:

2.11.1 OBJECTIVE

More then half of the life cycle costs are attributed to the operations and
maintenance of systems .In this phase, it is essential that all facets of
operations and maintenance are performed. The system is being used and
scrutinized to ensure that it meets the needs initially stated in the planning
phase. Problems are detected and new needs arise. This may require
modification to existing code, new code to be developed and/or hardware
configuration changes. Providing user support is an ongoing activity. New
users will require training and other will require training as well. The emphasis
of this phase will be to ensure that the users needs are met and the system
continues to perform as specified in the operational environment. Additionally,
as operations and maintenance personal monitor the current system they may
become aware of better ways to improve the system
And therefore make recommendations. Changes will be required to fix
problems, possibly add features and make improvements to the system. This
phase will continue as long as the system is in use.

2.11.2 TASKS AND ACTIVITIES

• Identify Systems Operations


Operations support is an integral part of the day-to-day operations of the
system. In small systems, the same person may do all or part of each task.
But in large systems, separate individuals or even separate areas may do
each function. The Operations
Manual is developed in previous SDLC phases. This documents defines tasks,
activities and responsible parties and will need to be
Transportation System S.S.P.G. COLLEGE SHIKARPUR
updated as changes occur. System’s operations activities and tasks need to
be scheduled, on a recurring basis, to ensure that the production environment
is fully functional and is performing as specified. The following is a check list of
a systems operations key tasks and activities:

o Ensure that systems and networks are running and available


during the defined hours and operations;
o Implement non emergence requests during scheduled outages, as
prescribed in the operations manual;
o Ensures all processes, manual and automated, are documented in
the operating procedures. These processes should comply with the system
documentation;
o Acquisition and storage of supplies (i.e. paper, toner, taps,
removable disks);
o Performs backups (day-to-day protection, contingency);
o Perform the physical security functions including ensuring
adequate UPS, Personal have proper security clearances and proper access
privileges etc;
o Ensure contingency planning for disaster recovery is current and
tested;
o Ensure users are trained on current processes and new
processes;
o Ensure that service level objectives are kept accurate and are
monitored;logs. Examples of performance measures include volume and
frequency of date to be processed in each mode, order and type of operations;
o Monitor the performance statistics, report the results and escalate
problems when they occur.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Maintained data /Software Administration
Maintained data /Software Administration is needed to ensure that

input data and output data and databases are correct and continually checked
for accuracy and completeness. This includes ensuring that any regularly
scheduled jobs are submitted and completed correctly. Software and
databases should be maintained at (or near) the current maintenance level.
The backup and recovery processes for databases are normally different
Then day-to-day DASD volume backups. The backup and recovery processes
of the databases should be done as a data/Software administration tasks by a
data administrator.
A checklist of data /Software administration tasks and activities are:

o Performing a periodic verification /validation of data, correct data


related problems;
o Performing production control and quality control functions (job
submission, checking and corrections);
o Interfacing with other functional areas for day-to-day
checking/corrections;
o Installing, configuring, upgrading and maintaining database. This
includes updating processes, data flows, and objects;
o Developing and performing data/database backup and recovery
routines for data integrity and recoverability. Ensure documented properly in
the operations manual;
o Developing and maintaining a performance and tuning plan for
online process and databases;
o Performing configuration/design and audits to ensure software,
system, parameter configuration are correct;

• Identify Problem and Modification Process


• Maintain System / Software
• Revise Previous Documentation

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Part 3

(DFD)
Data Flow Diagrams

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Part 2 - Data Flow Diagram:

A Data Flow Diagram (DFD) is a process-oriented graphical representation


of an application system. In the words of Hoofer, George and vocalic (1990), a
DFD “is a picture of movement of data between external entities and the
processes and data stored within a system.”
A Data Flow Diagram consists of a series of bubbles joined by lines. The
Bubbles represent data transformation and the Lines represent data flow in the
system.
Data Flow Diagram Notatio

• Process Notation Process

A Circle or a Bubble represents a process


That transforms incoming data flow into
Outgoing data flow.

• Data Store Notation Data Store


An open rectangle or parallel line
Represents data store. Data store are
Repositories of data in the system. They
are sometimes also referred to as files.

• External Entity Notation External Entity


External entities are objects outside he
system, with which the system -captions.
External entities are source &
Destination of the system’s inputs and
Outputs.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


• Data Flow Notation Data Flow

Data flow are the pipeline through which


Information flow. Label the arrows with
the name of the data moves through it.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Part 4

E R Diagram

(Entity Relationship Diagram)

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Part 3 - Entity-Relationship Diagram:
An entity relationship diagram is a graphical representation of an organization’s data
storage requirements.

These are the people, places, things, events and concepts of interest to an
organization. In short,
anything which an organization needs to store data about.

Entity relationship diagrams are the abstractions of the real word, which
simplify the problem to be
solved while retaining its essential features.

Entity relationship diagrams are used to:


• Identify the data that must be captured, stored and retrieved in order to sup
• port the business active
• -ities performed by an organization; and
• Identify the data required to derive and report on the performance measures
• that an organization sh
• -ould be monitoring.

Entity relationship diagrams have their different components:


• ATTRIBUTES
• ENTITIES
• RELATIONSHIPS

Frequently, a meaningful relationship exists between two different types of entity.


For Example:
EMPLOYEES work in a DEPARTMENT
TRUCK is a type of VEHICLE

There are three type of relationship, which can exist between two different entities:

• One-to-One Relationships
• One-to-Many Relationships
• Many-to-One Relationships
• Many-to-Many Relationships

Transportation System S.S.P.G. COLLEGE SHIKARPUR


The basic things that relates to the tables is by the help of Primary key and
Foreign key concepts.

Primary Key is defined as that unique key that is unique in the whole table
and that cannot be null and duplicate in any circumstances.

Foreign Key is defined as the key that is particularly primary key in other
table and represent as a field in this current table.

Advantages of using Entity-Relationship Diagram:

• By the help of Entity-Relationship Diagram, the developer and the cust


omer both have the mutual understanding in between them as they would
• have the clear cut picture about the various tables and the fields related
to their project.
• This pictorial representation provides the OBJECT MODELING purpose
of the develop.

Entity
Entity An entity is an object or concept about which you
Want to store information.

Weak Entity
Entity A weak entity is dependent on another entity to exist

Attributes
Attribute Attributes are the properties or characteristics of an
Entity.

Key Attributes
Attribute A key attribute is the unique, distinguishing
Characteristic of the entity. For example, Student’s
Roll No. might be the Student’s key attribute.
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Multi valued attribute
Attribute A multi valued attribute can have more than one
value. For example, an employee entity can have
multiple skill values.

Derived attribute
Attribute A derived attribute is based on another attribute. For
example, an employee’s monthly salary is based on
the employee’s annual salary.

Relationship Relationships
Relationships illustrate how to entities share
information in the database structure.

Relationship Weak Relationship


To connect a weak entity with others, you
should use a weak relationship notation

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Part 5

HARDWARE &
SOFTWARE USED

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Hardware/Software Requirements

This Software can run within any windows platform which are hire to the
windows 9.x. this Software needs at least 400 Mhz or hire Processor . RAM
required more then 32 MB for best performance, at least 2.1 Hard Disk is
required for installing this Software but it will refer on the amount of the
Database used for this Software, SVGA, display of 1 MB video memory and
color monitor but with this lot of processor power consumed and speed of the
system will be very slow. Therefore a realistic hardware and software
configuration for this Software is:

Processor : 2.0 Ghz

Operation System : Windows 98se

RAM : 128 MB

Monitor : Any color Monitor

Hard Disk : 40 GB

Printer : Laser

Transportation System S.S.P.G. COLLEGE SHIKARPUR


SOFTWARE REQUIREMENT-

Our project requires the following Software :

# WINODW-98 / 2000 / XP / VISTA.

# MS-OFFICE.

# VISUAL BASIC 6.0 .

Visual basic 6.0


Specification & system requirements for visual basic
applications

The following hardware and software is required for visual basic


applications

• Pentium 90 MHz or higher microprocessor.


• VGA 640*480 or higher-resolution screen supported by Microsoft windows.
• 24 MB RAM for windows 95,32 MB for windows NT.
• Microsoft Windows NT 3.51 or later , or Microsoft windows 95 or later.
• Microsoft internet explorer version 4.01 or later (version 4.01 service pack-1) or
later for DHTML application developers, and 4.x for end users of these applications.
• Disk Space Requirements

* Standard Edition: Typical installation 48 MB, full installation 80 MB


Transportation System S.S.P.G. COLLEGE SHIKARPUR
** Professional Edition: Typical installation 48 MB, full installation 80 MB.

-> Enterprise Edition: Typical installation 128 MB, full installation 147MB.
-> Additional components (if required): MSDN (for documentation): 67 MB, Internet
Explorer4.x: approximately 66 MB.

CD-ROM (no MS-DOS support assumed)

Part 6

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Database

Database

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Case Recipt Database
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Confirm Report

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Transportation System S.S.P.G. COLLEGE SHIKARPUR
Enquary Database

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Fare Database

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Part 7

Screen Shots

Transportation System S.S.P.G. COLLEGE SHIKARPUR


5.1 Main Forms

5.1.1 FORM LOADING………1

5.1.2 Main form with Password Dialog box

Transportation System S.S.P.G. COLLEGE SHIKARPUR


When the project is open, the password dialog box will load first . By typing the correct User Name and password
user can use the project . If either the User Name or the Password or both are incorrect then this error dialog box
will display :

5.1.3 Main MDI Form (Parent Form)

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Transportation System S.S.P.G. COLLEGE SHIKARPUR
Transportation System S.S.P.G. COLLEGE SHIKARPUR
5.2 Booking Form

Transportation System S.S.P.G. COLLEGE SHIKARPUR


5.3Confirmation Form

Transportation System S.S.P.G. COLLEGE SHIKARPUR


5.2.2 Detail Form

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Delivery Form

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Driver Form

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Salary Form

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Maintenance Form

Bill Report
Transportation System S.S.P.G. COLLEGE SHIKARPUR
5.2.3 Enquiry Report
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Transportation System S.S.P.G. COLLEGE SHIKARPUR
5.3.1 Exit Msg

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Coding

Transportation System S.S.P.G. COLLEGE SHIKARPUR


1 FORM LOADING………1

Private Sub Frame1_Click()


Unload Me
End Sub

Private Sub Timer1_Timer()


If ProgressBar1.Value < 100 Then
ProgressBar1.Value = ProgressBar1.Value + 1
If ProgressBar1.Value = 100 Then
Timer1.Enabled = True
Form7.Show

End If

Label4.Caption = ProgressBar1.Value
End If

End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Main form with Password Dialog box

Private Sub Command1_Click()


If Trim(Text1.Text) = "sharma" Or Trim(Text2.Text) = "rahul" Then

Form7.Hide
Form6.Show
Else
MsgBox "PLEASE INSERT CORRECT PASSWORD "
End If

End Sub

Private Sub Command1_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Command2.SetFocus
End If

End Sub

Private Sub Command2_Click()


If MsgBox("Are you sure you want to exit Transportation Management System ?",
vbQuestion + vbYesNo, "Confirm Exit !") = vbYes Then
End
End If
End Sub

Private Sub Form_Load()


frmSplash.Hide

End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Command1.SetFocus
End If

End Sub

Private Sub Text2_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text1.SetFocus
End If

End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


MDI form

Private Sub Form_Load()


Shape4.Visible = True
End Sub

Private Sub Label1_Click()


Label3.ForeColor = vbYellow
Label3.Enabled = True
Label3.Visible = True

Label2.Visible = True
Shape4.Visible = True
Label4.Visible = False
Label5.Visible = False
Label9.Visible = False
Label10.Visible = False
Label14.Visible = False
End Sub

Private Sub Label10_Click()


DataReport3.Show
End Sub

Private Sub Label11_Click()


DataReport3.Show
End Sub

Private Sub Label12_Click()


Label9.Visible = False
Label10.Visible = False
Label14.Visible = False
Label3.Visible = False
Label4.Visible = False
Label5.Visible = False

Transportation System S.S.P.G. COLLEGE SHIKARPUR


End Sub

Private Sub Label14_Click()


DataReport2.Show
End Sub

Private Sub Label16_Click()


Label3.Visible = True
End Sub

Private Sub Label2_Click()


Label4.ForeColor = vbYellow
Label4.Enabled = True
Label4.Visible = True
Shape4.Visible = True

Label5.Visible = True
Label1.Visible = True
Shape2.Visible = True
Label3.Visible = False
Label9.Visible = False
Label10.Visible = False
Label14.Visible = False
End Sub

Private Sub Label3_Click()


Form6.Hide
Form1.Show
Label2.Visible = True
Label4.Visible = False
Shape4.Visible = False
Label5.Visible = False
Label3.Visible = False

End Sub

Private Sub Label4_Click()


Form6.Hide
Form2.Show
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Label1.Visible = True
Shape2.Visible = True
Label3.Visible = False

Label4.Visible = False
Shape4.Visible = False
Label5.Visible = False

End Sub

Private Sub Label5_Click()


Form6.Hide
Form5.Show
Label1.Visible = True
Shape2.Visible = True
Label4.Visible = False
Shape4.Visible = False
Label3.Visible = False

Label5.Visible = False

End Sub

Private Sub Label6_Click()


If MsgBox("Are you sure you want to exit Transportation Management System ?",
vbQuestion + vbYesNo, "Confirm Exit !") = vbYes Then
End
End If
End Sub

Private Sub Picture1_Click()


Label3.ForeColor = vbYellow
End Sub

Private Sub Label8_Click()


Label3.Visible = False
Label4.Visible = False
Label5.Visible = False
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Label9.Visible = True
Label10.Visible = True
Label14.Visible = True
Shape4.Visible = True
End Sub

Private Sub Label9_Click()


DataReport1.Show
End Sub

Private Sub Timer1_Timer()


Picture2.Left = Picture2.Left - 50
Picture3.Left = Picture3.Left + 50

End Sub

Private Sub Timer2_Timer()


Label1.ForeColor = RGB(Rnd * 255, Rnd * 255, RED * 255)
Label2.ForeColor = RGB(Rnd * 355, Rnd * 355, RED * 355)
Label3.ForeColor = RGB(Rnd * 255, Rnd * 255, RED * 255)
End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Enquiry Form

Dim cn As Connection
Dim rs As Recordset

Private Sub Combo1_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Option3.SetFocus
End If

End Sub

Private Sub Command1_Click()


If rs.EOF = True And rs.BOF = True Then
Exit Sub
End If

rs.MoveNext
If rs.EOF = True Then
rs.MoveLast
End If
If IsNull(rs.Fields(0)) = False Then
Text1.Text = rs.Fields(0)
Else
Text1.Text = ""
End If
If IsNull(rs.Fields(1)) = False Then
Text2.Text = rs.Fields(1)
Else
Text2.Text = ""
End If
If IsNull(rs.Fields(2)) = False Then
Text3.Text = rs.Fields(2)
Else
Text3.Text = ""
End If
If IsNull(rs.Fields(3)) = False Then
Text4.Text = rs.Fields(3)
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Else
Text4.Text = ""
End If
If IsNull(rs.Fields(4)) = False Then
Text5.Text = rs.Fields(4)
Else
Text5.Text = ""
End If
If IsNull(rs.Fields(5)) = False Then
Text6.Text = rs.Fields(5)
Else
Text6.Text = ""
End If
If IsNull(rs.Fields(6)) = False Then
Text7.Text = rs.Fields(6)
Else
Text7.Text = ""
End If
If IsNull(rs.Fields(7)) = False Then
Text8.Text = rs.Fields(7)
Else
Text8.Text = ""
End If
If IsNull(rs.Fields(8)) = False Then
Text9.Text = rs.Fields(8)
Else
Text9.Text = ""
End If
If IsNull(rs.Fields(9)) = False Then
Text10.Text = rs.Fields(9)
Else
Text10.Text = ""
End If
If IsNull(rs.Fields(10)) = False Then
Text11.Text = rs.Fields(10)
Else
Text11.Text = ""
End If
If IsNull(rs.Fields(11)) = False Then
Combo1.Text = rs.Fields(11)
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Else
Combo1.Text = ""
End If
If rs!category = "A\C" Then
Option3.Value = True
Else
Option4.Value = False
End If

End Sub

Private Sub Command1_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Command3.SetFocus
End If

End Sub

Private Sub Command2_Click()


DataReport1.Show

End Sub

Private Sub Command3_Click()


Dim rsfound As New Recordset
If Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Or Text4.Text = "" Or Text5.Text
= "" Or Text6.Text = "" Or Text7.Text = "" Or Text8.Text = "" Or Text9.Text = "" Or
Text10.Text = "" Or Text11.Text = "" Or (Option3.Value = False And Option4.Value =
False) Then
MsgBox "BLANK SPACES ARE NOT UPDATE"
Exit Sub
End If
rsfound.Open "select * from enquiryform where enquirynumber='" & Text1.Text & "'", cn
If rsfound.EOF = False Then
MsgBox "Enquiry Code Already Exists"
Exit Sub
End If

rs.Fields(0) = Text1.Text
rs.Fields(1) = Text2.Text
Transportation System S.S.P.G. COLLEGE SHIKARPUR
rs.Fields(2) = Text3.Text
rs.Fields(3) = Text4.Text
rs.Fields(4) = Text5.Text
rs.Fields(5) = Text6.Text
rs.Fields(6) = Text7.Text
rs.Fields(7) = Text8.Text
rs.Fields(8) = Text9.Text
rs.Fields(9) = Text10.Text
rs.Fields(10) = Text11.Text
rs.Fields(11) = Combo1.Text
If Option3.Value = True Then
rs!category = "A\C"
Else
rs!category = "NON A\C"
End If
rs.Update

End Sub

Private Sub Command3_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Command4.SetFocus
End If

End Sub

Private Sub Command4_Click()


If rs.EOF = True And rs.BOF = True Then
Exit Sub
End If

rs.MovePrevious
If rs.BOF = True Then
rs.MoveFirst
End If
If IsNull(rs.Fields(0)) = False Then
Text1.Text = rs.Fields(0)
End If
If IsNull(rs.Fields(1)) = False Then
Text2.Text = rs.Fields(1)
Transportation System S.S.P.G. COLLEGE SHIKARPUR
End If
If IsNull(rs.Fields(2)) = False Then
Text3.Text = rs.Fields(2)
End If
If IsNull(rs.Fields(3)) = False Then
Text4.Text = rs.Fields(3)
End If
If IsNull(rs.Fields(4)) = False Then
Text5.Text = rs.Fields(4)
End If
If IsNull(rs.Fields(5)) = False Then
Text6.Text = rs.Fields(5)
End If
If IsNull(rs.Fields(6)) = False Then
Text7.Text = rs.Fields(6)
End If
If IsNull(rs.Fields(7)) = False Then
Text8.Text = rs.Fields(7)
End If
If IsNull(rs.Fields(8)) = False Then
Text9.Text = rs.Fields(8)
End If
If IsNull(rs.Fields(9)) = False Then
Text10.Text = rs.Fields(9)
End If
If IsNull(rs.Fields(10)) = False Then
Text11.Text = rs.Fields(10)
End If
If IsNull(rs.Fields(11)) = False Then
Combo1.Text = rs.Fields(11)
End If
Option3.Value = False
Option4.Value = False
If rs!category = "A\C" Then
Option3.Value = True
Else
Option4.Value = True
End If

Transportation System S.S.P.G. COLLEGE SHIKARPUR


End Sub

Private Sub Command4_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Command5.SetFocus
End If

End Sub

Private Sub Command5_Click()


Text1.Locked = False
Text2.Locked = False
Text3.Locked = False
Text4.Locked = False
Text5.Locked = False
Text6.Locked = False
Text7.Locked = False
Text8.Locked = False
Text9.Locked = False
Text10.Locked = False
Text11.Locked = False
Combo1.Locked = False

rs.AddNew
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
Text10.Text = ""
Text11.Text = ""
Combo1.Text = ""

Text10.Text = Date
Text11.Text = Time
End Sub
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Private Sub Command6_Click()
Form1.Hide
Form2.Show
End Sub

Private Sub Command5_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Command7.SetFocus
End If

End Sub

Private Sub Command7_Click()


Form6.Show
Unload Me
End Sub

Private Sub Form_Activate()


If KeyAscii = 13 Then
Text1.SetFocus
End If
End Sub

Private Sub Form_Load()


Set cn = New Connection
Set rs = New Recordset
cn.Provider = "microsoft.jet.oledb.4.0"
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path &
"\VEHICLEDETAIL.mdb;Persist Security Info=False"
rs.Open "enquiryform", cn, adOpenDynamic, adLockOptimistic

End Sub

Private Sub Option3_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Option4.SetFocus
End If

Transportation System S.S.P.G. COLLEGE SHIKARPUR


End Sub

Private Sub Option4_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Command1.SetFocus
End If

End Sub

Private Sub Text1_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text2.SetFocus
End If
End Sub

Private Sub Text10_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text11.SetFocus
End If

End Sub

Private Sub Text11_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Combo1.SetFocus
End If

End Sub

Private Sub Text2_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text3.SetFocus
End If

End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Private Sub Text3_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text4.SetFocus
End If

End Sub

Private Sub Text4_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text5.SetFocus
End If

End Sub

Private Sub Text5_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text6.SetFocus
End If

End Sub

Private Sub Text6_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text7.SetFocus
End If

End Sub

Private Sub Text7_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text8.SetFocus
End If

End Sub
Private Sub Text8_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text9.SetFocus
End If

Transportation System S.S.P.G. COLLEGE SHIKARPUR


End Sub
Private Sub Text9_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text10.SetFocus
End If

End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Confirm Form

Dim cn As Connection
Dim rs As Recordset

Private Sub Combo1_Click()


Dim rsfound As New Recordset
If Combo1.Text <> "" Then
rsfound.Open "select * from enquiryform where name='" & Trim(Combo1.Text) & "'",
cn, adOpenDynamic, adLockOptimistic

If rsfound.EOF = False Then


Text2.Text = rsfound!Date
Text3.Text = rsfound!ADDRESS
Text4.Text = rsfound!PHONENUMBER
Text5.Text = rsfound!MOBILENUMBER
Text6.Text = rsfound!NUMBEROFVEHICLE
Text9.Text = rsfound!Time
Text12.Text = rsfound!Source
Text13.Text = rsfound!DESTINATION
Text14.Text = rsfound!TYPEOFVEHICLE
Text10.Text = rsfound!BOOKEDBY

End If

End If
Text15.Text = rsfound!category

End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Private Sub Command1_Click()
DataReport2.Show

End Sub

Private Sub Command3_Click()


Dim rsfound As New Recordset
rsfound.Open "select * from confirmationform where bookingno='" & Text1.Text & "'", cn
If rsfound.EOF = False Then
MsgBox "BOOKING NUMBER Already Exists"
Exit Sub
End If
If Text1.Text = "" Or Text3.Text = "" Or Text6.Text = "" Or Text7.Text = "" Or Text8.Text
= "" Then
MsgBox "BLANK SPACES ARE NOT UPDATE"
Exit Sub
End If

rs.AddNew
rs!BOOKINGNO = Text1.Text
rs!Date = Text2.Text
rs!ADDRESS = Text3.Text
rs!PHONENUMBER = Text4.Text
rs!MOBILENUMBER = Text5.Text
rs!NUMBEROFVEHICLE = Text6.Text
rs!KILOMETER = Text7.Text
rs!VEHICLENO = Text8.Text
rs!Time = Text9.Text
rs!Name = Combo1.Text
rs!Source = Text12.Text
rs!DESTINATION = Text13.Text
rs!TYPEOFVEHICLE = Text14.Text
rs!BOOKEDBY = Text10.Text
rs!category = Text15.Text
rs!ADVANCEPAYMENT = Text11.Text
rs.Update

Transportation System S.S.P.G. COLLEGE SHIKARPUR


End Sub

Private Sub Command3_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Command5.SetFocus
End If

End Sub

Private Sub Command5_Click()

Form6.Show
Unload Me
End Sub

Private Sub Command6_Click()


Form2.Hide
Form5.Show
End Sub

Private Sub Form_Activate()


If KeyAscii = 13 Then
Text1.SetFocus
End If
End Sub

Private Sub Form_Load()


Set cn = New Connection
Set rs = New Recordset
Dim rslist As Recordset
Set rslist = New Recordset
cn.Provider = "microsoft.jet.oledb.4.0"
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path &
"\VEHICLEDETAIL.mdb;Persist Security Info=False"
rs.Open "confirmationform", cn, adOpenDynamic, adLockOptimistic
rslist.Open "enquiryform", cn, adOpenDynamic, adLockOptimistic
While rslist.EOF = False

Transportation System S.S.P.G. COLLEGE SHIKARPUR


If IsNull(rslist!Name) = False Then

Combo1.AddItem rslist!Name
End If
rslist.MoveNext
Wend

End Sub

Private Sub Text1_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text7.SetFocus
End If
End Sub

Private Sub Text11_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Command3.SetFocus
End If
End Sub

Private Sub Text7_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text8.SetFocus
End If
End Sub

Private Sub Text8_KeyPress(KeyAscii As Integer)


If KeyAscii = 13 Then
Text11.SetFocus
End If
End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Fare Form
Private Sub Command1_Click()
Form3.Hide
Form4.Show

End Sub

Private Sub Command3_Click()

fperkm = Text3.Text
Form4.Show
Unload Me
End Sub

Private Sub Form_Load()


Text6.Text = Form5.Text11.Text
Text1.Text = Form5.Text10.Text
Text2.Text = Form5.Text8.Text
Text4.Text = Form5.Text2.Text
Text5.Text = Form5.Text9.Text
If Text1.Text = "DELUX BUS" And Text6.Text = "A\C" Then
Text3.Text = "18"
End If
If Text1.Text = "DELUX BUS" And Text6.Text = "NON A\C" Then
Text3.Text = "16"
End If

If Text1.Text = "NORMAL BUS" And Text6.Text = "A\C" Then


Text3.Text = "16"
End If
If Text1.Text = "NORMAL BUS" And Text6.Text = "NON A\C" Then
Text3.Text = "14"
End If
If Text1.Text = "MINI DELUX BUS" And Text6.Text = "A\C" Then
Text3.Text = "14"
End If
If Text1.Text = "MINI DELUX BUS" And Text6.Text = "NON A\C" Then
Text3.Text = "12"
Transportation System S.S.P.G. COLLEGE SHIKARPUR
End If
If Text1.Text = "MINI NORMAL BUS" And Text6.Text = "A\C" Then
Text3.Text = "12.5"
End If
If Text1.Text = "MINI NORMAL BUS" And Text6.Text = "NON A\C" Then
Text3.Text = "11.5"
End If
If Text1.Text = "QUALIS" And Text6.Text = "A\C" Then
Text3.Text = "8"
End If
If Text1.Text = "QUALIS" And Text6.Text = "NON A\C" Then
Text3.Text = "7"
End If
If Text1.Text = "TATA SUMO" And Text6.Text = "A\C" Then
Text3.Text = "6"
End If
If Text1.Text = "TATA SUMO" And Text6.Text = "NON A\C" Then
Text3.Text = "5"
End If
If Text1.Text = "INDICA" And Text6.Text = "A\C" Then
Text3.Text = "5"
End If
If Text1.Text = "INDICA" And Text6.Text = "NON A\C" Then
Text3.Text = "4"
End If
If Text1.Text = "MARUTI OMNI" And Text6.Text = "A\C" Then
Text3.Text = "4.5"
End If
If Text1.Text = "MARUTI OMNI" And Text6.Text = "NON A\C" Then
Text3.Text = "3.5"
End If
If Text1.Text = "TATA SAFARI" And Text6.Text = "A\C" Then
Text3.Text = "8"
End If
If Text1.Text = "TATA SAFARI" And Text6.Text = "NON A\C" Then
Text3.Text = "6"
End If

Transportation System S.S.P.G. COLLEGE SHIKARPUR


If Text1.Text = "ESTEEM" And Text6.Text = "A\C" Then
Text3.Text = "8"
End If
If Text1.Text = "ESTEEM" And Text6.Text = "NON A\C" Then
Text3.Text = "6"
End If
End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Case Recipt Form
Private Sub Command2_Click()
DataEnvironment1.Command3 Text1.Text
DataReport3.Show
End Sub

Private Sub Command3_Click()


Form6.Show
Unload Me
End Sub

Private Sub Form_Load()


Text1.Text = strbno
Text2.Text = intkm * fperkm
Text3.Text = ADPAY
Text4.Text = (Text2.Text) - (Text3.Text)
Text5.Text = Form3.Text4.Text
Text6.Text = Form3.Text5.Text
End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Display Form
Dim cn As Connection
Dim rs As Recordset

Private Sub Combo1_Click()


Dim rsfound As New Recordset
If Combo1.Text <> "" Then
rsfound.Open "select * from confirmationform where name='" & Trim(Combo1.Text) &
"'", cn, adOpenDynamic, adLockOptimistic
If rsfound.EOF = False Then
Text2.Text = rsfound!Date
Text3.Text = rsfound!ADDRESS
Text4.Text = rsfound!PHONENUMBER
Text5.Text = rsfound!MOBILENUMBER
Text6.Text = rsfound!NUMBEROFVEHICLE
Text9.Text = rsfound!Time
Text1.Text = rsfound!BOOKINGNO
Text7.Text = rsfound!KILOMETER
Text8.Text = rsfound!VEHICLENO
Text10.Text = rsfound!TYPEOFVEHICLE
Text11.Text = rsfound!category
Text13.Text = rsfound!Source
Text12.Text = rsfound!DESTINATION
Text14.Text = rsfound!BOOKEDBY

End If

End If

End Sub

Private Sub Command5_Click()


Form6.Show
Unload Me
End Sub

Private Sub Command6_Click()

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Dim rsfound As New Recordset
strbno = Text1.Text
intkm = Text7.Text
rsfound.Open "select advancepayment from confirmationform where bookingno='" & strbno
& "'", cn
If rsfound.EOF = False Then
If IsNull(rsfound.Fields(0)) = False Then
ADPAY = rsfound.Fields(0)
End If
End If
Form5.Hide
Form3.Show
End Sub

Private Sub Form_Load()


Set cn = New Connection
Set rs = New Recordset
Dim rslist As Recordset
Set rslist = New Recordset
cn.Provider = "microsoft.jet.oledb.4.0"
cn.ConnectionString = "c:\projecttransportation\vehicledetail.mdb"
cn.Open
rslist.Open "confirmationform", cn, adOpenDynamic, adLockOptimistic
While rslist.EOF = False
If IsNull(rslist!Name) = False Then

Combo1.AddItem rslist!Name
End If
rslist.MoveNext
Wend

End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Ticket

Dim J As Integer

Private Sub Command1_Click()


On Error Resume Next
With dlgCommonDialog
.DialogTitle = "Print"
.CancelError = True
.Flags = cdlPDReturnDC + cdlPDNoPageNums
If ActiveForm.rtfText.SelLength = 0 Then
.Flags = .Flags + cdlPDAllPages
Else
.Flags = .Flags + cdlPDSelection
End If
.ShowPrinter
End With
End Sub

Private Sub main1_Click()


main.Show
Unload Me
End Sub
Private Sub FORM_LOAD()
Move (Screen.Width - Width) / 2, (Screen.Height - Height) / 2
Label4.Caption = PNR + 1
Label5.Caption = trainno
Label6.Caption = UCase$(trainname)
Label7.Caption = resdate
Label8.Caption = STR$(distance) + "km"
Label9.Caption = class
Label10.Caption = UCase$(sd)
Label15.Caption = STR(resfee) + " Rs"
Label16.Caption = STR(TFARE) + " Rs"
For J = 0 To P - 1

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Label11(J).Caption = coach(J)
Label12(J).Caption = SEAT(J)
Label13(J).Caption = age(J)
Label14(J).Caption = sex(J)
Next
Label18.Caption = Date
Label20.Caption = Time
End Sub

Maintenance Coding
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset

Private Sub Command1_Click()


rs.AddNew
rs!VEHICLENO = Trim(Text1.Text)
rs!Description = Trim(Text2.Text)
rs!toTAMOUNT = Trim(Val(Text3.Text))
rs!DEBIT = Trim(Text4.Text)
rs!CREDIT = Trim(Text5.Text)
rs!TOTBALANCE = Trim(Text6.Text)
rs.Update
End Sub

Private Sub Command2_Click()


rs.MoveFirst
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
End Sub

Private Sub Command3_Click()


rs!VEHICLENO = Trim(Text1.Text)
rs!Description = Trim(Text2.Text)
rs!toTAMOUNT = Trim(Val(Text3.Text))
rs!DEBIT = Trim(Text4.Text)
rs!CREDIT = Trim(Text5.Text)
rs!TOTBALANCE = Trim(Text6.Text)
rs.Update
End Sub

Private Sub Command4_Click()


Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text1.SetFocus
End Sub

Private Sub Command5_Click()


Transportation System S.S.P.G. COLLEGE SHIKARPUR
Unload Me
End Sub

Private Sub Command6_Click()


rs.MovePrevious
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
End Sub

Private Sub Command7_Click()


rs.MoveNext
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
End Sub

Private Sub Command8_Click()


rs.MoveLast
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
End Sub

Private Sub Form_Load()


Set cn = New Connection
Set rs = New Recordset
cn.Provider = "microsoft.jet.oledb.4.0"
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path &
"\VEHICLEDETAIL.mdb;Persist Security Info=False"
rs.Open "MAINTAIN", cn, adOpenDynamic, adLockOptimistic
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
End Sub
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Delivery Report

Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset

Private Sub Command1_Click()


rs.AddNew
rs!VEHICLENO = Trim(Text1.Text)
rs!PARTYNAME = Trim(Text2.Text)
rs!OPENBAL = Trim(Val(Text3.Text))
rs!GOODS = Trim(Text4.Text)
rs!Date = Trim(Text5.Text)
rs!QUALITY = Trim(Text6.Text)
rs!Rate = Trim(Text7.Text)
rs!BALANCE = Trim(Text8.Text)
rs.Update
End Sub

Private Sub Command2_Click()


rs.MoveFirst
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
Text7.Text = rs.Fields(6)
Text8.Text = rs.Fields(7)
End Sub

Private Sub Command3_Click()


rs!VEHICLENO = Trim(Text1.Text)
rs!PARTYNAME = Trim(Text2.Text)
rs!OPENBAL = Trim(Val(Text3.Text))
rs!GOODS = Trim(Text4.Text)
rs!Date = Trim(Text5.Text)
rs!QUALITY = Trim(Text6.Text)
rs!Rate = Trim(Text7.Text)
rs!BALANCE = Trim(Text8.Text)
rs.Update
End Sub
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Private Sub Command4_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text1.SetFocus
End Sub

Private Sub Command5_Click()


Unload Me
End Sub

Private Sub Command6_Click()


rs.MovePrevious
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
Text7.Text = rs.Fields(6)
Text8.Text = rs.Fields(7)
End Sub

Private Sub Command7_Click()


rs.MoveNext
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
Text7.Text = rs.Fields(6)
Text8.Text = rs.Fields(7)
End Sub

Private Sub Command8_Click()


rs.MoveLast
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
Text7.Text = rs.Fields(6)
Text8.Text = rs.Fields(7)
End Sub

Private Sub Form_Load()


Set cn = New Connection
Set rs = New Recordset
cn.Provider = "microsoft.jet.oledb.4.0"
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path &
"\VEHICLEDETAIL.mdb;Persist Security Info=False"
rs.Open "DELIVERY", cn, adOpenDynamic, adLockOptimistic
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
Text7.Text = rs.Fields(3)
Text8.Text = rs.Fields(4)
End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Driver Coding

Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset

Private Sub Command1_Click()


rs.AddNew
rs!Name = Trim(Text1.Text)
rs!SRNO = Trim(Val(Text2.Text))
rs!PHONENO = Trim(Val(Text3.Text))
rs!ADDRESS = Trim(Text4.Text)
rs!DESIGNATION = Trim(Text5.Text)
rs!Date = Trim(Text6.Text)
rs!DISTT = Trim(Text4.Text)
rs!SALARY = Trim(Val(Text5.Text))
rs!VEHICLENO = Trim(Text6.Text)
rs.Update
End Sub

Private Sub Command2_Click()


rs.MoveFirst
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
End Sub

Private Sub Command3_Click()


rs!Name = Trim(Text1.Text)
rs!SRNO = Trim(Val(Text2.Text))
rs!PHONENO = Trim(Val(Text3.Text))
rs!ADDRESS = Trim(Text4.Text)
rs!DESIGNATION = Trim(Text5.Text)
rs!Date = Trim(Text6.Text)
rs!DISTT = Trim(Text4.Text)
Transportation System S.S.P.G. COLLEGE SHIKARPUR
rs!SALARY = Trim(Val(Text5.Text))
rs!VEHICLENO = Trim(Text6.Text)
rs.Update
End Sub

Private Sub Command4_Click()


Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""

Text1.SetFocus
End Sub

Private Sub Command5_Click()


Unload Me
End Sub

Private Sub Command6_Click()


rs.MovePrevious
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
Text7.Text = rs.Fields(6)
Text8.Text = rs.Fields(7)
Text9.Text = rs.Fields(8)

End Sub

Private Sub Command7_Click()


rs.MoveNext
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
Text7.Text = rs.Fields(6)
Text8.Text = rs.Fields(7)
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Text9.Text = rs.Fields(8)

End Sub

Private Sub Command8_Click()


rs.MoveLast
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
Text7.Text = rs.Fields(6)
Text8.Text = rs.Fields(7)
Text9.Text = rs.Fields(8)

End Sub

Private Sub Form_Load()


Set cn = New Connection
Set rs = New Recordset
cn.Provider = "microsoft.jet.oledb.4.0"
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path &
"\VEHICLEDETAIL.mdb;Persist Security Info=False"
rs.Open "DRIVER", cn, adOpenDynamic, adLockOptimistic
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
Text6.Text = rs.Fields(5)
Text7.Text = rs.Fields(6)
Text8.Text = rs.Fields(7)
Text9.Text = rs.Fields(8)

End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Salary Detail

Dim cn As ADODB.Connection
Dim rs As ADODB.Recordset

Private Sub Command1_Click()


rs.AddNew
rs!EMPNO = Trim(Val(Text1.Text))
rs!Date = Trim(Text2.Text)
rs!DEPOSIT = Trim(Text3.Text)
rs!CREDIT = Trim(Text4.Text)
rs!BALANCE = Trim(Text5.Text)
rs.Update
End Sub

Private Sub Command2_Click()


rs.MoveFirst
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
End Sub

Private Sub Command3_Click()


rs!EMPNO = Trim(Val(Text1.Text))
rs!Date = Trim(Text2.Text)
rs!DEPOSIT = Trim(Text3.Text)
rs!CREDIT = Trim(Text4.Text)
rs!BALANCE = Trim(Text5.Text)
rs.Update
End Sub

Private Sub Command4_Click()


Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.SetFocus
End Sub

Private Sub Command5_Click()


Unload Me
End Sub
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Private Sub Command6_Click()
rs.MovePrevious
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
End Sub

Private Sub Command7_Click()


rs.MoveNext
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
End Sub

Private Sub Command8_Click()


rs.MoveLast
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
End Sub

Private Sub Form_Load()


Set cn = New Connection
Set rs = New Recordset
cn.Provider = "microsoft.jet.oledb.4.0"
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path &
"\VEHICLEDETAIL.mdb;Persist Security Info=False"
rs.Open "SALARY", cn, adOpenDynamic, adLockOptimistic
Text1.Text = rs.Fields(0)
Text2.Text = rs.Fields(1)
Text3.Text = rs.Fields(2)
Text4.Text = rs.Fields(3)
Text5.Text = rs.Fields(4)
End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


THANK YOU

Private Sub exitcmd_Click()


Dim a As Integer
a = MsgBox("Are you want to Quit", vbYesNo, "Exit")
If a = 6 Then
Unload Me
End
Else
main.Show
End If
End Sub

Private Sub FORM_LOAD()


Exitfrm.Height = 8000
Exitfrm.Width = 7000
Label1.FontSize = 18
'Label1.ForeColor = RGB(250, 10, 100)
Label2.FontSize = 14
Label3.FontSize = 14
Label4.FontSize = 14
Label5.FontSize = 14
Label6.FontSize = 14
exitcmd.FontSize = 14

End Sub

Private Sub Timer1_Timer()


If Label1.Caption = "**Thank You**" Then
Label1.Caption = "Indian Railways"
Else
Label1.Caption = "**Thank You**"
End If
End Sub

Private Sub Timer2_Timer()


If Label4.ForeColor = &H800000 Then
Label4.ForeColor = &H40C0&
Transportation System S.S.P.G. COLLEGE SHIKARPUR
Label3.ForeColor = &H800000
Label5.ForeColor = &H800000
Label6.ForeColor = &H40C0&
Else
Label4.ForeColor = &H800000
Label3.ForeColor = &H40C0&
Label5.ForeColor = &H40C0&
Label6.ForeColor = &H800000

End If

End Sub

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Part 7

Conclusion

Transportation System S.S.P.G. COLLEGE SHIKARPUR


CONCLUSION

Result:

o Huge data collection, fast data retrieval and easy with the latest
developm
o ent in the information system
o High security of your Software with a Username and Password before
beg
o ging of the Software. With type a proper Username and Password you
o can’t access the Software. Due to This security nobody can make
change
o in your Software
o Huge data may be used to retrieve data for work

Conclusion:

When I was developing the Software there was many problem before me, first the
more coding. When your coding is more you can face many confusions in it. So to
remove the confusions in the Software coding I developed many ActiveX User Control
for saving the coding. Second I wanted to provide better information of error messages.
So due to this reason I used the Microsoft Agent Control 2.0 in the Software.

Once I face a serious problem on my PC that was a virus infection. All the data
have removed from my PC; due to this problem I develop whole Software within
half period.

In conclusion the work carried out by the help of this Software would lead to the
fast accessing of data and highly secured data. The end result of the Software is
working and it retrieves the information very quickly. After installing this Software you
can easily work on the database of Doctor, patient and test Information. So the user
has only to install the Software to their machine.

Transportation System S.S.P.G. COLLEGE SHIKARPUR


Unfortunately, due to lack of time I couldn’t perform some operations, which are rel
ated to the College Management System, but it is not end of this Software, it is begi
nning. We can change or modify this Software due to more requirement of need and
also removed some errors which will be found in this Software during it’s use.

SCOPE

The scope of this Software is that the Software has developed for

only “Transportation Management System ” Bulandshahr for

performing better on the Transport database including the Train

& Passenger detail. This Software fills all the requirements of the

transport like transport database, with their commission, and Train

detail with their sample and Transport detail. This Software can be used

a basic requirements of the Transport . Because this Software is

developed for transport , therefore the scope of this Software

encompasses around only Transport Rese. . In transportation there

is only Car , Booking , Fare, Case slip & Confirm Detail

.Therefore thisSoftware only can take information about Car , Booking

& Platform report of the booking, which have taken car,

Booking, Quary ,Booking Detail, & Platform Detail Records. This

Software encompasses only the database and of this Transportation.

Limitation about the Software about we can say as in development

in Visual Basic as size increase searching as speed will be show in


Transportation System S.S.P.G. COLLEGE SHIKARPUR
compare dos.

Part 8

Bibliography

Transportation System S.S.P.G. COLLEGE SHIKARPUR


BOOK NAME AUTHOR

1. Visual Basic 6.0 Smith

2. Visual Basic 6.0, Unlashed Rob Thayer

3. Database Management system Vipin Desai

4. System Analyses and Design E M. Awad

5. Software Engineering Rogers S. Pressman

Transportation System S.S.P.G. COLLEGE SHIKARPUR

You might also like