hyndai documentation

Upload: theja903

Post on 09-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 Hyndai Documentation

    1/82

    A Project Report on

    HYUNDAI CAR SERVICE CENTERHYUNDAI CAR SERVICE CENTERSubmitted In Partial Fulfillment Of The Requirements

    For The Award for The Award Of

    BACHELOR OF COMPUTER SCIENCESubmitted by

    P.THEJ KUMAR (307126837)

    Y. PARANDHAMA (307126829)

    P. JAGADEESH REDDY (307126889)

    Under The Esteemed Guidance Of

    Lecturer In Computer Science

    T. NARASIMHA REDDY, M.C.A.,

    Mr. SRINIVASAN, M.C.A., M.PHIL.(HOD, Department of Computer Science)

    DEPARTMENT OF COMPUTER SCIENCEV.C.R. DEGREE COLLEGE

    CHITTOOR 517001

    2008-09

  • 8/8/2019 Hyndai Documentation

    2/82

    V.C.R DEGREE COLLEGEMITTOOR

    CHITTOOR517001.

    DEPARTMENT OF COMPUTER SCIENCE

    BONIFIED CERTIFICATE

    This is to certify that bonified record project is work for entitled

    computer based information system for HYUNDAI CAR

    SERVICE CENTER is developed by P.THEJ KUMAR

    (307126837) & P.JAGADEESH REDDY (307126889),

    Y.PARANDHAMA (307126829) during the year 2008-2009.

    Project, viva-voice conducted on________________at V.C.R.

    Degree College, Chittoor.

    Guide Head of the Department

    Signature of Examiners

    1.

    2.

  • 8/8/2019 Hyndai Documentation

    3/82

    ACKNOWLEDGEMENT

    Our most sincere and grateful acknowledgement to the holy

    sanctum of V. C. R. DEGREE COLLEGE, Chittoor the temple of

    learning, for giving us the opportunity to pursue the degree in B. Sc.,

    and the helping us to shape our career.

    First and foremost, we would like to express our gratitude to Sri.

    LN. V. CHANDRA SEKHAR REDDY, B. Sc., M. Ed correspondent ofV. C. R.

    Degree College, Chittoor for his inspiration to bring out this project in

    time.

    We owe my gratitude to Mr.K. SOMASEKHAR,M. Com, M.Phil, B. Sc., B.

    Ed., PGDCA principal ofV. C. R. Degree College, Chittoor for his timely

    support and encouragement through out our B. Sc. Study.

    We express our sense of gratitude to Mr.M. S. SRINIVASAN,

    M.C.A., M.Phil head of department of computer science, V. C. R. Degree

    College, for his constant encouragement throughout the project.

    We sincerely express our deep gratitude to my project guide Mr.

    T. NARASIMHA REDDY,M.C.A., for his valuable guidance and constant

    encouragement throughout the project and I thank Miss M. SWAPNA

    for her software guidance.

    Lastly we thank Mr. M. REDDY GOPAL REDDY lab incharge

    and Mr. P. SUBRAMANYAM, lab Ast. for their

    remarkable co-operation.

    We express our sincere and hatful thanks to all the staff

    members of V. C. R. Degree College.

    Last but not the least, we thank our parents & friends who are

    source of constant support and encouragement.

    By

    P. THEJ KUMAR

  • 8/8/2019 Hyndai Documentation

    4/82

    Y. PARANDHAMA

    P. JAGADEESH REDDY

    CONTENTS

    1. Abstract

    2. Introduction

    a. Project description

    3. Preliminary investigation

    a. Request clarification

    b. Feasibility study

    c. Request approval

    4. Requirement Analysis

    a. Background material and theory connected

    b. Proposed system

    c. Description of Tools

    d. Justification of Hardware & software

    5. System Design

    a. Preliminary Design

    b. Detailed design

    c. Normalization

    d. Data Flow Diagram

    6. Software Requirement specification

    a. Software

    b. Introduction of Visual Basic 6.0

    c. Introduction of MS. Access

  • 8/8/2019 Hyndai Documentation

    5/82

    7. Implementation and evaluation

    8. User manual

    9. Table Structure

    10. Coding

    11. Screen Shots

    12. Conclusion

    13. Bibliography

  • 8/8/2019 Hyndai Documentation

    6/82

    1. ABSTRACT

    This project titled HYNDAI CAR SERVICE CENTER, helps to

    monitor administrator of servicing. The system aims to cater all centers

    needs. The database system will be helpful for maintain all records.

    In the proposed system, the servicing center can collect and

    analyze more accurate and comprehensive information of day to day

    activities in a more user- friendly manner.

    This project helps in resolving those difficulties where in manual

    system cannot solve by providing a main window with a look of Visual Basic

    Interface. Easy to understand menu interfaces to explore and navigate

    through the package is our first step towards its development. This project is

    implemented in Visual Basic 6.0 with MS Access database.

  • 8/8/2019 Hyndai Documentation

    7/82

  • 8/8/2019 Hyndai Documentation

    8/82

    2. INTRODUCTION

    Project Description:

    In Hyundai Car Service Center, we have to provide some

    services and give some benefits to the customer. Actually in this

    project there are various operations namely we can view vehicle

    details, repairs, mechanic, spares and also to view calculation of bills.

    The aim of our project is to implement computerization in

    HYUNDAI CAR SERVICING to produce more and more facilities

    through computers in maintenance of payments and collection in the

    mean time and to reduce the expenditure. By doing so we can resolve

    draw backs of the manual system in the maintenance.

    The project is aimed to help the car service center to reach

    their destination and to provide necessary informations like.

    This project is inspired by the present available centers.

    This aims to guide the customer from the starting point to the end that

    is till the customer is reached to his destine.

  • 8/8/2019 Hyndai Documentation

    9/82

  • 8/8/2019 Hyndai Documentation

    10/82

    3. PTRLIMINARY INVESTIGATION

    REQUEST CLARIFICATION

    The request of the system is to computerize the HYUNDAI CAR

    SERVICE CENTER. The members are considered to be the heart of the

    showroom. Since it records all the transaction, which involves the sales

    preparation.

  • 8/8/2019 Hyndai Documentation

    11/82

    Feasibility study

    The feasibility study is necessary to determine whether the

    proposed systems feasible considering the technical, operational andeconomical factors. By having a detailed feasible study the

    management will have a clear-cut view of the proposed system with

    the benefits and drawbacks.

    1. Technical Feasibility:-

    The proposed system will be implemented in MS. ACCESS

    with VISUAL BASIC. Since the system being developed is running

    under LAN the system is easy-to-use for the users. All requiredhardware & software are available in the market domain. Thus the

    proposed system is technically feasible.

    2. Economical feasibility:-

    Since the proposed system is an integral part of the

    centralized computerization of total organizational transactions, it is

    worth to purchase the hardware needed. Thus the proposed system

    is economically feasible.3. Operational Feasibility:-

    Since the proposed system is easy to use there is not any

    necessary to train the users to adopt new system. Any user with a

    little bit knowledge of computers can handle the system.

    a. There is no resistance from users to the proposed

    system.

    b. The proposed system provides better service to theemployee and management.

    c. The proposed system reduces the work efforts.

    Conclusion:-

    The proposed system is economically, technically, operationally

    feasible. So the proposed system is accepted.

  • 8/8/2019 Hyndai Documentation

    12/82

    REQUEST APPROVAL

    As there is request of HYUNDAI CAR SERVICE CENTER in

    Chittoor district to do the project on maintenance of all details, we

    approved this. It took nearly 1 month according their guidance.

  • 8/8/2019 Hyndai Documentation

    13/82

  • 8/8/2019 Hyndai Documentation

    14/82

    4. REQUIREMENT ANALYSIS

    Back ground material & theory connected with proposedproblem

    The required material and data facts are extracted from car

    centers. The manual process and the method of performing booking

    facts are noted through conducting some series of interviews,

    extracting data by referring some old records and other possible

    approaches.

    The necessary and required details or facts related to this

    context are like maintaining the data about all the customer

    information, collection of facts related to customers.

    The data collected from various subscribers by interviewing the

    various schemes observing the manual books, accounts and reports

    and questioning the various subscribers who are the exiting system.

    The basic theory connected with this software system is

    maintaining of data in safe and with more security, access must be

    in a reliable speed, outputs must be in more meaningful format;

    chances of entering invalid number of values/arguments must be

    reduced to minimum. The data collected are like scheme details;

    subscriber type and all other required and necessary details are

    collected.

    The main task connected with this problem is to perform joining

    of customers. A part of this project is Relational Database

    Management System (RDBMS). In the next few following pages we

    describe the theoretical concepts on merits and demerits of

    maintaining the data through Relational Database Management

    System.

  • 8/8/2019 Hyndai Documentation

    15/82

  • 8/8/2019 Hyndai Documentation

    16/82

    Proposed system

    MS Access/ Visual Basic 6.0 with Operating System Windows NT

    is used on proposed system. We convert the existing system in to

    computerized system as accurate and the data can be stored

    sequentially. The time consuming is low and processing is speedily.

    Proper up dating modifications can be easily alone by suing the

    proposed system. Reports in HYUNDAI CAR SERVICING CENTER

    can be verified easily when ever necessary computerized report isbetter than manually prepared reports. Using the menu-selected

    information can be selected easily.

  • 8/8/2019 Hyndai Documentation

    17/82

    Description of Tools

    In developing maintenance of Car Servicing the tools utilized like

    computer graphics, RDBMS tools that help in linking and faster access of data

    maintains data security and other tools utilized in construction of this

    software system.

    Some impartment tools like data file structure designing,

    physical storage device, logical methods, documentation tools in determining

    of requirements for this system, involves studying the current trends of

    organization in finding out how it works. A requirement is a feature that must

    be include in new system. In determining the activities in requirements

    determination, there are three major activities are involved they are

    Requirements anticipation

    Requirements integration

    Requirements specification

    One another important tool implemented in this software systemare fact finding techniques, the specific methods analysis use for collecting

    data about requirements. Some methods implemented for fact-finding

    techniques like

    Interviews

    Questionnaire

    Record inspection

    Observation of data

    The making of decisions and following procedures are integral

    part of the software system. Some decisions are made, such as checking

    whether the subscriber exists or not it depends on input values. Both

    decisions and procedures, however is one of the important system tools

    implemented in the software development process.

  • 8/8/2019 Hyndai Documentation

    18/82

    Justification of Hardware and Software

    Environment

    Hardware:

    1. Processor : 866MHz Pentium III or higher.

    2. Monitor : VGA or SVGA color

    3. Hard Disk : 20GB or Above

    4. RAM : 256 MB

    5. Keyboard : Any

    6. Mouse : Any

    7. Printer : Any

    Software:

    1. Operating System : Windows 2000 or Above

    2. Front End Tool : Visual Basic 6.03. Back End Tool : MS Access 2003 and Above

  • 8/8/2019 Hyndai Documentation

    19/82

  • 8/8/2019 Hyndai Documentation

    20/82

    5. SYSTEM DESIGN

    Preliminary design:-

    In developing the design of a system, it is advisable for all

    proposals to be studied from top to bottom that are beneficial to the

    organization. The purpose of the preliminary, design is to evaluate

    project requests. In detailed design study, the collection of details to

    complexity, describes the system initial and internal issues involved

    in the design process.

    The data that the analysts collect during preliminary design

    through two primary methods, they are reviewing documents and

    interviewing selected designer peoples. The technical issues usually

    rose during the feasibility design like does that necessary

    technology exists to do what is suggested. A system preliminary

    design includes the better analysis to design of online dialogue,

    design of files and use of auxiliary storage device, design of data

    base interaction design for data communications.

    The design of an information system produces the details that

    state how a system will meet the requirements identified during

    systems analysis. Systems design process by identifying reports

    and other outputs the system will produce the system design, which

    also describes the data to be entered or input, calculated values or

    storage of required data into files or database.

    Although the review of a user-developed application may not

    take long, this process allows a project selection to keep abreast of

    the application that are under development and see how projects

  • 8/8/2019 Hyndai Documentation

    21/82

    may affect other part of the organization are firm. All projects

    requests, regardless of their origin, must be evaluated for their

    operational, technical and economical factors will influence the

    preliminary design.

    The documents containing the design specifications portray the

    design in different ways. The preliminary design is responsible for

    providing programmers with complete and clearly outlined software

    specification.

  • 8/8/2019 Hyndai Documentation

    22/82

    Detailed Design:-

    In detailed design system software assist in documenting an

    existing system, whether manual or automation, and determining

    the new design and development process. The tools that can use

    UN detailed design are like

    Data collection tools

    Charting tools

    Dictionary tools

    To capture describing current systems and procedures,

    document process and decisions activities. Assist in me drawing and

    revision of data flow diagrams and icons associated with structured

    analysis, detailed design record and maintain descriptions of system

    elements, such as items, process and data storage design concepts.

    The detailed design assist in formulating the features of a system

    that will meet the requirements outlined during the analysis activities,

    assisting in starting the features that should be included in any

    application, such as input, output processing and control.

    Specifications layout tools used to describe the position of data,messages and heading on display screens, report layouts, and other

    necessary input and output media.

    In designing detailed information systems actually comprise

    three categories of system, they are

  • 8/8/2019 Hyndai Documentation

    23/82

    Transaction processing system

    Management information system

    Decision support system

    The components of the information system include hardware,

    software and the data storage in files of database, information system

    applications are the procedures, programs, files and equipment, all

    carefully integrated to accomplish some or other purpose.

  • 8/8/2019 Hyndai Documentation

    24/82

    NORMALIZATION:-

    Normalization is the process of simplifying the relationship

    between data elements in a record. Through this technique, a

    collection of data in a record structure is replaced by successive

    record structures that are simpler and more predictable and

    therefore more manageable.

    Normalization is the formal approach, which examines data

    and group data item. Together in a form that is better able to

    accommodate future change and to minimize the impact of that

    change on that application.

    Normalization is carried out of the following reasons:-

    To structure the data so that any persistent relationship

    between entities can be represented.

    To permit simple retrieval of data in response to query and

    report requests.

    To simplify the maintenance of the data through updates

    insertions and deletions.

    To reduce the need to restructure are recognize the data when

    new application requirements arise.

    This attempt to remove redundant data, avoid data

    inconsistencies and prevent update anomalies.

    This results in a simpler or more natural data model. Anormalized database more clearly reflects the natural entities

  • 8/8/2019 Hyndai Documentation

    25/82

    and a relationship in the real word. Relational

    database theory outlines five normal forms of which three

    normal forms are used in this project. The rules and method of

    first three normal forms are given below:

    First normal form:-

    A relation is in 1NF if the intersection of any column and

    row contains only one value (no repeating groups).

    Methods:

    Identify suitable primary key from a pool of unorganized

    data remove any item that repeats within a single value of this key

    to another relation bringing within them. The primary key to form

    part of a new composite key in the new relation.

    For example in booking details table booking no is selected as

    primary key. So on item in that table repeats that value.

    Second normal form:-

    A table in 2NF is also in 1NF if the values in every column

    are functionally dependent on the complete primary key.

    Methods:

    For every relation within a single data item making up the

    primary key, this rule should always be true. For those with a

    compound key examines every column and determines whether its

    value depends on the whole of compound key or just some of the

    part of it. Remove those that depends only a part of the key to a

    new relation with that part as the primary key. For example in

  • 8/8/2019 Hyndai Documentation

    26/82

    purchase table invoice no, vehicle code is used to refer to other

    attributes of the record.

    Third normal form:-

    Columns are not transitively dependent on the primary

    key. A relation is 2NF is also in 3NF if the value in every non-key

    column is not transitively depending on the primary key.

    Methods:

    Examine every non-key column and question its

    relationship with every other non-dey column. If for a value for

    column there is only one value for column B, remove both columns

    to a separate relation and mark the question unique as a primary

    key.

    A database tables involved here needs normalization technique

    so that it should be flexible to access and store the value in it. So

    the third normal form is applied and all the tables are normalized

    according to that. This system supports 3 normal forms.

  • 8/8/2019 Hyndai Documentation

    27/82

    DATA FLOW DIAGRAM:-

    DATA FLOW DIAGRAM (DFD) is one of the most important

    modeling tools. It is used to model the system components. These

    components are the system process, the process, an external entity

    that interacts with the system, uses the data and the information

    flows in the system.

    DFD shows how the information moves through the system and

    how it is modified by a series of transactions. It is a graphical

    technique that depicts information flow and that information tat is

    applied as data moves from input to output.

    DFD is also known as bubble chart. DFD may be used to

    represent the system at any level of abstraction DFDs may be

    partitioned into levels that represents increasing information flow

    and functional details.

    A level 0 DFD, also called as the context diagram represents the

    entire system as a single module with input and output indicated by

    incoming and outgoing arrows respectively. Additional process and

    information flow paths are represented as the level 0 DFDE is

    portioned to reveal more details. The context diagrams for the

    project management system are shown in the figure.

    A level 1 DFD, also called as top-level DFD represents the system

    major module and data stores. The other level will show each

    module in the top-level DFD in more detailed fashion. The top-level

    and other level DFDs for our system are shown below.

  • 8/8/2019 Hyndai Documentation

    28/82

    A data flow diagram is a graphic description of portion of a

    system. It consists of data flows, process, sources, destinations and

    data stores all are described from the view point of the data itprocesses with just a few symbols. Data flow diagrams powerful

    enough to show parallel activities.

    Data flow diagram describes the system independently of how it

    is actually implement, that is, they show that takes place, rather

    than how an activity is accomplished.

    Advantages:-

    1. Users easily understand these simple notations.

    2. Users can make suggestions for modifications.

    3. If analysis wants to review the overall system late,

    they use the higher level over view diagrams. However if they

    are interested in studying one particular process, they use the

    data flow diagram for that low level process.

  • 8/8/2019 Hyndai Documentation

    29/82

    Notations:-

    DATA FLOW: Data move in specific direction from an origin to a

    destination. The data flow is a packed of data.

    PROCESS: People, procedures or devices that produce data the

    physical component is not identified.

    SOURCE OR DESTINATION OF DATA: External sources ordestination of data, which may be people of organization or other

    entities.

    DATA STORE: Here the data referenced by a process in the

    system.

  • 8/8/2019 Hyndai Documentation

    30/82

  • 8/8/2019 Hyndai Documentation

    31/82

    6. SOFTWARE REQUIREMENT

    SPECIFICATION

    SOFTWARE

    Set of instruction are called software.

    Types of software:-

    Application Software:

    It is used for specific purpose like Tally, C , C++ etc.

    System software:

    Already installed softwares like O.S. That means relationship

    between user and a computer.

    Packages:

    It displays all readymade objects. Without using programming we

    can work in this packages. This predefined software. Eg. M.s. office,

    tally etc,.

    Languages:

    This is user defined. Without using programming we cannot work in

    these languages. Eg. C,c++,java etc,.

    Project:-

    For developing a project, they are 2 needs

    Front end:

    Nothing but user view creation for this we can use HTML, JAVA, VB.

    Back end:

    Storing of database/details for this we can use Access, SQL, Oracle.

  • 8/8/2019 Hyndai Documentation

    32/82

    Visual Basic 6.0

    VB is a front end programming. It is an idle programming

    language for developing sophisticated professional application for

    Microsoft Windows. It makes use of GUI for creating powerful

    Application. VB is also called as Application development tool.

    VB was developed from BASIC programming Language in

    the year 1970. In VB Basic (Beginners All Purpose Symbolic

    instruction code) is language used by more programmers than any

    other language in history of computing. VB has evolved from the

    original basic language function and keyword. VB is also used to

    developing client/server Application.

    Programming:-

    1. Procedural programming:-

    Execution starts with the first line of the code and follows a

    predefined path through the application

    2. Event driven programming:-

    In traditional or procedural applications, the application itself

    controls which portions of code execute and in what sequence.

    Execution starts with the first line of code and follows a predefined

    path through the application, calling procedures as needed.

  • 8/8/2019 Hyndai Documentation

    33/82

    In an event-driven application, the code doesnt follow a

    predetermined path-it executes different code sections in response

    to events. Events can be triggered by the users actions, by

    messages from the system or other applications, or even from the

    application itself. The sequence of these events determines the

    sequence in which the code executes, thus the path through the

    applications code differs each time the program runs.

    Your code can also trigger events during execution. For example,

    programmatically changing the text in a text box cause the text

    boxs change even to occur. This would cause the code contained in

    the change event to execute. If you assumed that this event would

    only be triggered by user interaction, you might see unexpected

    results. It is for this reason that it is important to understand the

    event-driven model and keep it in mind when designing your

    application.

  • 8/8/2019 Hyndai Documentation

    34/82

    IDE (Integrated Development

    Environment)

    VB provides IDE environment the VB interface contains mainly the

    following items.

    1. Menu Bar

    2. Form

    3. Project Window

    4. Tool bar

    5. Property window

    6. Object browser

    7. Code editor window

    8. Form layout window

    9. Context menu

    10. Standard Toolbox

    Menu Bar:

    Menu Bar helps to perform various tasks.

    Form:

    A form is one of the main building blocks in VB Application usersinteract with the controls on the form to obtain the desired result.

    Project Window:

    The project window lists form and modules in the current project. A

    project is a collection of files used to build on Application.

  • 8/8/2019 Hyndai Documentation

    35/82

  • 8/8/2019 Hyndai Documentation

    36/82

    Properties:

    Properties are attributes associated with an object. They define

    appearance and behaviors of the objects. Properties can be

    changed according to the application requirements.

    Methods:

    Methods provide functionality to an object. Methods are the actions

    or tasks that can be performed on or by an object.

    Events:

    Procedures Executed in response to actions performed by the user

    Code is written by for the events to provide functionality Following

    are the regularly used controls are,

    Controls:

    There are 21 standard controls in VB 6.0 we can view these controls

    in tool box each and every control has properties, events and

    methods.

    Pointer:

    To get a curser symbol, used to move or resize a control.

    Label:

    To display the O/P or user identification massages. You can use

    labels to identify controls such as text boxes and scroll bars, that

    dont have their own caption property.

    Uses:

    1. identification purpose

    2. display the o\p

    3. some to get the input(i.e. from date/time)

  • 8/8/2019 Hyndai Documentation

    37/82

    Picture control:

    This control is used to display bitmap, metafile (Jpg or gif) (Jpg

    picture filer, gif animation format)

    Text box:

    This control is used for I/P and O/P purpose.

    Frame:

    This control is mainly used for grouping other controls once the

    control has been placed. In a frame, it cannot be moved out of it,

    either at design / run time.

    Command button:

    When the user click on this button action will be performed you

    place code in the click event procedure to perform any action you

    choose.

    Check box control:

    Check boxes will work independently of each other; a user can

    select any number of check boxes at the some time.

    Option button control:

    Option button will work as a part of group it s like a check box but in

    this we cannot select whole options at the some time only one can

    chose form the list.

    List box control:

    A list box control display a list of items from which the user can

    select one or more list boxes present a list of Choices to the user

    by default the choices are displayed multiple columns as well.

    Combo box control:

  • 8/8/2019 Hyndai Documentation

    38/82

    It is a combination of text box and a list box it allows the user to

    select an item either by typing text into the combo box or by

    sleeting it from the list.

    Horizontal/ vertical scrollbars:

    Scroll bars provide easy navigation through a long list of items or a

    large a mount of information by scrolling either horizontally or

    vertically with in an application or control.

    Time control:

    It displays the time /date they are independent of the use and you

    can program them to take actions at regular intervals.

    Drive list box control:

    It enables a user to select a valid disk drive at run time you can

    create dialog boxes that enables the user to open able from a list of

    files a disk in any available drive.

    Directory list box:

    It displays directories and paths at run time for e.g. enable a user

    to open a file from a list of files in all available directory.

    File list box control:

    It displays files contained in the directory specified by the path

    property at run time.

    Shape control:

    Shape control is a graphical control displayed as a rectangle, oval,

    square or rounded square

    Line control:

    Similar to shape control, line control is used to drown liner on the

    form

    Image control:

  • 8/8/2019 Hyndai Documentation

    39/82

    It is look like a picture control, but it can support only a few

    features of pictures box control.

    Data control:

    Data control provides access to data stored in data base using any

    one of the 3 types of record set objects you can perform most data

    access operating using the data control object with out writing any

    code at all.

    OLE object:

    This control is a window you can place on your form to host

    documents from other application, such as am Microsoft word or

    excel.

  • 8/8/2019 Hyndai Documentation

    40/82

    Procedures and Functions

    VB offers different types of procedures to execute small sections of

    coding in application.

    Procedures:

    VB programs can be broken into smaller logical components called

    procedures. A procedure is a block of code that performs some

    kind of operations. Following are the benefits of using procedures

    in a programming.4. It is easier to debug the program with procedures,

    which breaks a program into some modules.

    5. Procedures using in one program can act as

    building blocks for other programs with slide modifications.

    A procedure can be devided into 3 types

    1. Event procedure

    2. General procedure3. Property procedure

    1. Event Procedure:-

    Event procedures are invoked automatically in response to

    a user or system action or when called by another statement. It

    is created by VB. Event procedures are stored in a form module

    and are private by default. When windows inform VB that an

    event has taken place for on of its objects, VB automatically calls

    the event procedure that has the name corresponding to the

    events.

  • 8/8/2019 Hyndai Documentation

    41/82

    2. General procedure:-

    A general procedure is a block of code that isnt tied to any

    particular even. Instead, a general procedure must be invokedfrom another procedure. General procedure can help divide the

    complex application code into more manageable units. It is good

    programming practice to write common statements in a

    procedure.

    There are 2 types of general procedures

    I. Sub procedureII. Function procedure

    The main difference by using sub and function procedure is, sub

    procedure doesnt return value. Only function procedure will

    return value.

    3. Property procedure-

    Property means attributes of an object. Withoutproperty you cant write programs in VB.

  • 8/8/2019 Hyndai Documentation

    42/82

    DATABASES

    VB provides convenient way to create front end application for

    database access. A database is a collection of information that is

    arranged in a particular manner. A database created using the

    software utility, Visual Data manager. It provides retrieve existing

    data and removes the data.

    In visual basic, three data access interface are available to you,

    ActiveX data objects (ADO). Remote Data Objects (RDO), and Data

    Access Objects (DAO). A data access interface in an object model that

    represented various facts of accessing data. Using visual basic, you

    can programmatically control the connection, statement builders, and

    returned data for use in any application.

    Data access technology is constantly evolving, and each of the

    three interfaces represents a different state of art. The latest is ADO,

    which features a simpler-yet more flexible object model than either

    RDO or DAO.

    Data Access Objects (DAO):-

    DAO was the first object oriented interface that exposed the

    Microsoft jet database engine (used by Microsoft access) and allowedvisual basic developers to directly connect to access tables- as well as

    other databases through ODBC. DAO is suited best for either single

    system applications or for small, local deployments.

    Remote Data Objects (RDO):-

    RDO (Remote Data Objects) is an object oriented data access

    interface to ODBC combined with the easy-to-use style of DAO,

  • 8/8/2019 Hyndai Documentation

    43/82

    providing an interface that exposes virtually all of ODBCs low-level

    power and flexibility. RDO is limited, through, in that it doesnt access

    jet or ISAM databases very well, and that it can

    access relational databases only through existing ODBC drivers.

    However, RDO has proven to be the interface of choice for a large

    number of SQL server, Oracle, and other large relational database

    developers. RDO provides the objects, properties, and methods

    needed to access the more complex aspects of stored procedures and

    complex result sets.

    ActiveX data Objects:-

    ADO is the successor to DAO/RDO. Functionally ADO 2.0 is most

    similar to RDO. And theres generally a similar mapping between the

    two models. ADO flattens the object model used by DAO and RDO,

    meaning that it contains fewer objects and more properties, methods

    (and arguments), and events. For example, ADO has no equivalents to

    the RDO engine and RDO environment objects, which exposed theODBC driver manager.

    Much of the functionality contained in the DAO and RDO models

    was consolidated into single objects, making for a much simpler

    object model. Because of this, however, you might initially find it

    difficult to find the appropriate ADO object, collection, property,

    method, or event.

    ADO is designed as an easy to-use application level interface to

    Microsofts newest and most powerful data access paradigm, OLE DB.

    OLE DB provides high performance access to any data source,

    including relational and non-relational databases, Email and file

    systems, text and graphics, custom business objects and more.

  • 8/8/2019 Hyndai Documentation

    44/82

    INTRODUCTION TO MS-ACCESS

    Access is a full-featured relational database management system

    (RDBMS) that is used by millions of people around the world.

    Database management programs are designed to store, and report

    large volumes of information.

    A common misuse of spreadsheet programs is that of data

    storage. However, once people realize what can be done with a

    database management program, they realize that folly of string

    volumes of data in spreadsheets. Like other programs in the office

    2000 site, access makes all the use of the features available to

    programs designed specially of run with 32-bits operating system

    such as Windows 95 and Windows NT.

    Easily create a client/server application:

    A Microsoft access database project is new type of access file that

    provides efficient, native-mode access to a Microsoft SQL server

    database through the OLE DB component architecture. Using an

    access project, you can easily create a client/server application.

    Work with an access project:

    Working with MS-access project is very similar to working with an

    access database. The process of creating forms, reports, database

    access pages, macros, and modules is the same. Once you connect

    to an SQL server database, you can view, create, modify and delete

    tables, view stored procedure and database diagrams using the

    Microsoft SQL server design tools.

  • 8/8/2019 Hyndai Documentation

    45/82

    Forms:-

    Forms are used to create the interface portion of an access

    application. The forms can be used to navigate to other forms and

    function of the application. We can also create forms to use as

    dialog or message boxes or forms on which a user can enter

    information. Te forms are used to present the table or querys data

    in the format that is easy to view or update.

    Queries:-

    A query is synonymous to question, inquiry, or quiz. Access queries

    are used to ask a question about the information in the database. A

    query can be used to bring the data from a single are also used to

    insert update and delete records in a table.

    Reports:-

    A report is an effective way to represent data in a printed format.

    We can display the information the way we want to see it. The

    reports can display the information in the tables, queries and SQL

    statements.

  • 8/8/2019 Hyndai Documentation

    46/82

  • 8/8/2019 Hyndai Documentation

    47/82

    7. IMPLEMENTATION EVALUATION

    System implementation is a stage of the project when the

    theoretical design is turned into a working system. If the

    implementation is not correctly planned and controlled, it can cause

    chaos. Thus it can be considered to be the most crucial stage in

    achieving a successful new system.

    Once the preparation is completed the implementation process

    can begin. The first part of this involves the conventions of existing

    manual records as they are converted on the computer. Then the

    actual change over from the existing system to the new system

    takes place.

    There are many ways of implementation that is direct, parallel,

    pilot and staged changeovers. The selection of the change over

    depends upon the undertaken needs of the organization on a time

    factor.

  • 8/8/2019 Hyndai Documentation

    48/82

  • 8/8/2019 Hyndai Documentation

    49/82

    8. USER MANUAL

    System installation:-

    To install the system, copy all the form files, .VBP files, .RPT files,

    .MDB files to the hard disk & also imports the relevant table into the

    hard disk. To start operation of the system, click on START, which

    displays a popup menu. The menu contains program files, click on

    program file to get a popup menu. Click on the visual studio and

    then click on visual basic icon. This will loop the VB software and

    the MAIN MENU of stock maintenance.

    System will be displayed. Since the system being menu derive, it

    carries the user through various operations he wants to perform

    from this point on words.

    Menu options:-

    As any other windows package, the package is provided with a

    PULL-DOWN menu system, the menu option being.1. VEHICLE DETAILS

    2. REPAIRE DETAILS

    3. MACHANIC DETAILS

    4. SPARE DETAILS

    5. BILL DETAILS

    6. EXIT

    Behind the screen:-

    The software HYUNDAI CAR SERVICE CENTER is developed for

    the providing services to the customers, it has been implemented

    on PENTIUM with memory capacity of 16MB RAM, 1.44MB FDD &

    4.1GB HDD. The system designed to work on MS WINDOWS NT

    environment.

  • 8/8/2019 Hyndai Documentation

    50/82

  • 8/8/2019 Hyndai Documentation

    51/82

    9. TABLE STRUCTURE

    LOGIN TABLE:-

    Design mode

    View mode

    VEHICLE TABLE:-

    Design mode

    View mode

    REPAIRS TABLE:-

    Design mode

    View mode

  • 8/8/2019 Hyndai Documentation

    52/82

    MACHANIC TABLE:-

    Design mode

    View mode

    SPARES TABLE:-

    Design mode

    BILL TABLE:-

    Design mode

  • 8/8/2019 Hyndai Documentation

    53/82

  • 8/8/2019 Hyndai Documentation

    54/82

    10. CODING

    CODE FOR FRONT PAGE (FORM1)Private Sub Command1_Click()

    Form2.SHOWForm2.WindowState = 2Form1.HideEnd Sub

    Private Sub Command2_Click()i = MsgBox("do you want exit", 4 + 32, "message")If i = 6 Then

    EndEnd IfEnd Sub

    Private Sub Form_Load()Me.WindowState = 2Image1.Visible = FalseImage2.Visible = TrueImage3.Visible = TrueImage4.Visible = True

    Image5.Visible = TrueImage6.Visible = TrueImage7.Visible = TrueImage8.Visible = TrueImage9.Visible = TrueImage10.Visible = TrueImage11.Visible = TrueImage12.Visible = TrueImage13.Visible = TrueImage14.Visible = TrueImage15.Visible = True

    Image16.Visible = TrueImage17.Visible = TrueImage18.Visible = TrueImage19.Visible = TrueImage20.Visible = TrueImage21.Visible = TrueImage22.Visible = TrueImage23.Visible = TrueImage24.Visible = True

    Image25.Visible = TrueImage26.Visible = TrueImage27.Visible = True

  • 8/8/2019 Hyndai Documentation

    55/82

    Image28.Visible = FalseImage29.Visible = FalseImage30.Visible = TrueImage31.Visible = FalseImage32.Visible = False

    Image33.Visible = FalseImage34.Visible = FalseEnd Sub

    Private Sub Timer1_Timer()Label1.ForeColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)Label2.ForeColor = RGB(Rnd * 255, Rnd * 255, Rnd * 255)If Image30.Visible = True ThenImage30.Visible = FalseImage31.Visible = TrueElseIf Image31.Visible = True ThenImage31.Visible = FalseImage32.Visible = TrueElseIf Image32.Visible = True ThenImage32.Visible = FalseImage33.Visible = TrueElseIf Image33.Visible = True ThenImage33.Visible = FalseImage34.Visible = TrueElseIf Image34.Visible = True ThenImage34.Visible = False

    Image30.Visible = TrueEnd IfEnd Sub

    Private Sub Timer2_Timer()If Image1.Visible = True ThenImage1.Visible = FalseImage2.Visible = TrueElseIf Image2.Visible = True ThenImage2.Visible = FalseImage3.Visible = True

    ElseIf Image3.Visible = True ThenImage3.Visible = FalseImage4.Visible = TrueElseIf Image4.Visible = True ThenImage4.Visible = FalseImage5.Visible = TrueElseIf Image5.Visible = True ThenImage5.Visible = FalseImage6.Visible = TrueElseIf Image6.Visible = True Then

    Image6.Visible = FalseImage7.Visible = True

  • 8/8/2019 Hyndai Documentation

    56/82

    ElseIf Image7.Visible = True ThenImage7.Visible = FalseImage8.Visible = TrueElseIf Image8.Visible = True ThenImage8.Visible = False

    Image9.Visible = TrueElseIf Image9.Visible = True ThenImage9.Visible = FalseImage10.Visible = TrueElseIf Image10.Visible = True ThenImage10.Visible = FalseImage11.Visible = TrueElseIf Image11.Visible = True ThenImage11.Visible = FalseImage12.Visible = TrueElseIf Image12.Visible = True ThenImage12.Visible = FalseImage13.Visible = TrueElseIf Image13.Visible = True ThenImage13.Visible = FalseImage14.Visible = TrueElseIf Image14.Visible = True ThenImage14.Visible = FalseImage15.Visible = TrueElseIf Image15.Visible = True ThenImage15.Visible = False

    Image16.Visible = TrueElseIf Image16.Visible = True ThenImage16.Visible = FalseImage17.Visible = TrueElseIf Image17.Visible = True ThenImage17.Visible = FalseImage18.Visible = TrueElseIf Image18.Visible = True ThenImage18.Visible = FalseImage19.Visible = TrueElseIf Image19.Visible = True Then

    Image19.Visible = FalseImage20.Visible = TrueElseIf Image20.Visible = True ThenImage20.Visible = FalseImage21.Visible = TrueElseIf Image21.Visible = True ThenImage21.Visible = FalseImage22.Visible = TrueElseIf Image22.Visible = True ThenImage22.Visible = False

    Image23.Visible = TrueElseIf Image23.Visible = True Then

  • 8/8/2019 Hyndai Documentation

    57/82

    Image23.Visible = FalseImage24.Visible = TrueElseIf Image24.Visible = True ThenImage24.Visible = FalseImage25.Visible = True

    ElseIf Image25.Visible = True ThenImage25.Visible = FalseImage26.Visible = TrueElseIf Image26.Visible = True ThenImage26.Visible = FalseImage27.Visible = TrueElseIf Image27.Visible = True ThenImage27.Visible = FalseImage28.Visible = TrueImage29.Visible = TrueLabel1.ForeColor = QBColor(10)End IfEnd Sub

    CODE FOR LOGIN FORM (FROM 2)Private Sub Command1_Click()If Adodc1.Recordset.Fields(0) = Text1.Text ThenIf Adodc1.Recordset.Fields(1) = Text2.Text ThenMDIForm1.SHOWMDIForm1.WindowState = 2Form2.HideElse

    MsgBox "RETYPE PASSWORD"Text2.Text = ""Text2.SetFocusEnd IfElseMsgBox "NOT SUCCESSFULLY LOGIN"Text1.Text = ""Text2.Text = ""Text1.SetFocusEnd IfEnd Sub

    CODE FOR MAIN FORM (FROM 3)

    Private Sub Command1_Click()Form4.SHOWForm3.HideForm4.WindowState = 2End Sub

    Private Sub Command2_Click()

  • 8/8/2019 Hyndai Documentation

    58/82

    Form5.SHOWForm5.WindowState = 2Form3.HideEnd Sub

    Private Sub Command3_Click()Form6.SHOWForm6.WindowState = 2Form3.HideEnd Sub

    Private Sub Command4_Click()Form7.SHOWForm7.WindowState = 2Form3.HideEnd Sub

    Private Sub Command5_Click()Form8.SHOWForm8.WindowState = 2Form3.HideEnd Sub

    Private Sub Command6_Click()Form9.SHOWForm9.WindowState = 2

    Form3.HideEnd Sub

    Private Sub Command7_Click()EndEnd Sub

    CODE FOR VEHICLE FORM (FROM 4)

    Private Sub ADD_Click()Adodc1.Recordset.AddNewEnd Sub

    Private Sub EXIT_Click()Form4.HideForm3.SHOWForm3.WindowState = 2End Sub

    Private Sub FIRST_Click()

  • 8/8/2019 Hyndai Documentation

    59/82

    If Adodc1.Recordset.BOF ThenMsgBox "this is first record"ElseAdodc1.Recordset.MoveFirstEnd If

    End Sub

    Private Sub LAST_Click()If Adodc1.Recordset.EOF ThenMsgBox "this is last record"ElseAdodc1.Recordset.MoveLastEnd IfEnd Sub

    Private Sub NEXT_Click()If Adodc1.Recordset.EOF ThenMsgBox "this is last record"ElseAdodc1.Recordset.MoveNextEnd IfEnd Sub

    Private Sub PREVIOUS_Click()If Adodc1.Recordset.BOF ThenMsgBox "this is first record"

    ElseAdodc1.Recordset.MovePreviousEnd IfEnd Sub

    Private Sub REMOVE_Click()If Adodc1.Recordset.BOF ThenIf Adodc1.Recordset.EOF ThenMsgBox "THERE IS NO ANY RECORD"

    ElseAdodc1.Recordset.DeleteEnd IfEnd IfEnd Sub

    Private Sub SAVE_Click()Adodc1.Recordset.SAVEEnd Sub

    CODE FOR REPAIRS FORM (FROM 5)

    Private Sub ADD_Click()Adodc1.Recordset.AddNew

  • 8/8/2019 Hyndai Documentation

    60/82

    End Sub

    Private Sub EXIT_Click()Form5.HideForm3.SHOW

    Form3.WindowState = 2End Sub

    Private Sub FIRST_Click()If Adodc1.Recordset.BOF ThenMsgBox "this is first record"ElseAdodc1.Recordset.MoveFirstEnd IfEnd Sub

    Private Sub LAST_Click()If Adodc1.Recordset.EOF ThenMsgBox "this is last record"ElseAdodc1.Recordset.MoveLastEnd IfEnd Sub

    Private Sub NEXT_Click()If Adodc1.Recordset.EOF ThenMsgBox "this is last record"

    ElseAdodc1.Recordset.MoveNext

    End IfEnd Sub

    Private Sub PREVIOUS_Click()If Adodc1.Recordset.BOF ThenMsgBox "this is first record"ElseAdodc1.Recordset.MovePrevious

    End IfEnd Sub

    Private Sub REMOVE_Click()If Adodc1.Recordset.BOF ThenIf Adodc1.Recordset.EOF ThenMsgBox "THERE IS NO ANY RECORD"ElseAdodc1.Recordset.DeleteEnd If

    End IfEnd Sub

  • 8/8/2019 Hyndai Documentation

    61/82

    Private Sub SAVE_Click()Adodc1.Recordset.SAVEEnd Sub

    CODE FOR MACHANIC FORM (FROM 6)

    Private Sub ADD_Click()Adodc1.Recordset.AddNewEnd Sub

    Private Sub EXIT_Click()Form5.HideForm3.SHOWForm3.WindowState = 2End Sub

    Private Sub FIRST_Click()If Adodc1.Recordset.BOF ThenMsgBox "this is first record"ElseAdodc1.Recordset.MoveFirstEnd IfEnd Sub

    Private Sub LAST_Click()If Adodc1.Recordset.EOF ThenMsgBox "this is last record"ElseAdodc1.Recordset.MoveLastEnd IfEnd Sub

    Private Sub NEXT_Click()If Adodc1.Recordset.EOF ThenMsgBox "this is last record"ElseAdodc1.Recordset.MoveNextEnd IfEnd Sub

    Private Sub PREVIOUS_Click()If Adodc1.Recordset.BOF ThenMsgBox "this is first record"

    ElseAdodc1.Recordset.MovePrevious

  • 8/8/2019 Hyndai Documentation

    62/82

    End IfEnd Sub

    Private Sub REMOVE_Click()If Adodc1.Recordset.BOF Then

    If Adodc1.Recordset.EOF ThenMsgBox "THERE IS NO ANY RECORD"ElseAdodc1.Recordset.DeleteEnd IfEnd IfEnd Sub

    Private Sub SAVE_Click()Adodc1.Recordset.SAVEEnd Sub

    CODE FOR SPARES FORM (FROM 7)

    Private Sub ADD_Click()Adodc1.Recordset.AddNewEnd Sub

    Private Sub EXIT_Click()Form5.HideForm3.SHOW

    Form3.WindowState = 2End Sub

    Private Sub FIRST_Click()If Adodc1.Recordset.BOF ThenMsgBox "this is first record"ElseAdodc1.Recordset.MoveFirstEnd IfEnd Sub

    Private Sub LAST_Click()If Adodc1.Recordset.EOF ThenMsgBox "this is last record"ElseAdodc1.Recordset.MoveLastEnd IfEnd Sub

    Private Sub NEXT_Click()If Adodc1.Recordset.EOF Then

    MsgBox "this is last record"Else

  • 8/8/2019 Hyndai Documentation

    63/82

    Adodc1.Recordset.MoveNextEnd IfEnd Sub

    Private Sub PREVIOUS_Click()

    If Adodc1.Recordset.BOF ThenMsgBox "this is first record"ElseAdodc1.Recordset.MovePreviousEnd IfEnd Sub

    Private Sub REMOVE_Click()If Adodc1.Recordset.BOF ThenIf Adodc1.Recordset.EOF ThenMsgBox "THERE IS NO ANY RECORD"ElseAdodc1.Recordset.DeleteEnd If

    End IfEnd Sub

    Private Sub SAVE_Click()Adodc1.Recordset.SAVEEnd Sub

    CODE FOR BILL FORM (FROM 8)

    Private Sub ADD_Click()Adodc1.Recordset.AddNewEnd Sub

    Private Sub EXIT_Click()Form5.HideForm3.SHOWForm3.WindowState = 2End Sub

    Private Sub FIRST_Click()If Adodc1.Recordset.BOF ThenMsgBox "this is first record"ElseAdodc1.Recordset.MoveFirstEnd IfEnd Sub

    Private Sub LAST_Click()

  • 8/8/2019 Hyndai Documentation

    64/82

    If Adodc1.Recordset.EOF ThenMsgBox "this is last record"ElseAdodc1.Recordset.MoveLastEnd If

    End Sub

    Private Sub NEXT_Click()If Adodc1.Recordset.EOF ThenMsgBox "this is last record"ElseAdodc1.Recordset.MoveNextEnd IfEnd Sub

    Private Sub PREVIOUS_Click()If Adodc1.Recordset.BOF ThenMsgBox "this is first record"ElseAdodc1.Recordset.MovePreviousEnd IfEnd Sub

    Private Sub REMOVE_Click()If Adodc1.Recordset.BOF ThenIf Adodc1.Recordset.EOF Then

    MsgBox "THERE IS NO ANY RECORD"ElseAdodc1.Recordset.DeleteEnd IfEnd IfEnd Sub

    Private Sub SAVE_Click()Adodc1.Recordset.SAVEEnd Sub

    CODE FOR REPORT FORM (FROM9)

    Private Sub Command1_Click()DataReport1.SHOWDataReport1.WindowState = 2Form9.HideEnd Sub

    Private Sub Command2_Click()DataReport2.SHOW

    DataReport2.WindowState = 2Form9.Hide

  • 8/8/2019 Hyndai Documentation

    65/82

    End Sub

    Private Sub Command3_Click()DataReport3.SHOWDataReport3.WindowState = 2

    Form9.HideEnd Sub

    Private Sub Command4_Click()DataReport4.SHOWDataReport4.WindowState = 2Form9.SHOWEnd Sub

    Private Sub Command5_Click()DataReport5.SHOWDataReport5.WindowState = 2Form9.SHOWEnd Sub

    Private Sub Command6_Click()EndEnd Sub

  • 8/8/2019 Hyndai Documentation

    66/82

  • 8/8/2019 Hyndai Documentation

    67/82

    11. SCREENS

  • 8/8/2019 Hyndai Documentation

    68/82

  • 8/8/2019 Hyndai Documentation

    69/82

  • 8/8/2019 Hyndai Documentation

    70/82

  • 8/8/2019 Hyndai Documentation

    71/82

  • 8/8/2019 Hyndai Documentation

    72/82

  • 8/8/2019 Hyndai Documentation

    73/82

  • 8/8/2019 Hyndai Documentation

    74/82

  • 8/8/2019 Hyndai Documentation

    75/82

  • 8/8/2019 Hyndai Documentation

    76/82

  • 8/8/2019 Hyndai Documentation

    77/82

  • 8/8/2019 Hyndai Documentation

    78/82

  • 8/8/2019 Hyndai Documentation

    79/82

  • 8/8/2019 Hyndai Documentation

    80/82

    12. CONCLUSION

    The HYUNDAI CAR SERVICE CENTRE has been successfullycompleted with the help of latest technologies. The goal of thesystem is achieved and the problems associated with the manualsystem are overcome the system that is developed in a mannerthat is user friendly and very efficient in providing information tocustomer.

    The system helps the customers by providing relevant details tothe user immediately by processing the user requests.

    The proposed system greatly reduces the processing time, dataredundancy and there by increases the benefits of the organization.The system is designed & developed using software-engineeringprinciples.

    The problems faced by users while searching through bundles of

    information and wasting time was well addressed by the HYUDAICAR SERVICE CENTRE customer can easily access theinformation dynamically with the help of the system.

  • 8/8/2019 Hyndai Documentation

    81/82

  • 8/8/2019 Hyndai Documentation

    82/82

    13. BIBLIOGRAPHY

    1. AN INTRODUCTION OF DATABASE SYSTEM

    Date. C. J. (3rd Edition)

    2. SYSTEM ANALYSIS AND DESIGN

    William B. Davis

    3. DATABASE SYSTEM CONCEPTS

    Henry F. Korth & Abraham Silnerschatz (2nd Edition)

    4. SOFTWARE ENGINEERING

    Roger S. Pressman

    5. THE COMPLETE REFERENCE ACCESS 2000

    Tata Me. Graw-hill

    6. THE COMPLETE REFERENCE IN VISUAL BASIC 6.0

    David Jung