post office management

Upload: kkyasi

Post on 13-Oct-2015

104 views

Category:

Documents


17 download

DESCRIPTION

Post Office management

TRANSCRIPT

  • 5/23/2018 Post Office management

    1/65

    INTRODUCTION

    ABSTRACT:

    Visual Basic is an interesting topic, which has different types. It has all

    The methods have their won features with each having merits and demerits which

    Help in data processing. The topic includes their architecture representing the

    Elements involved in it and their action is also specified.

    Visual Basic 6. allows creating o!"ect#oriented applications. Visual Basic

    6. profoundly concentrates on the Internet development features, $ctive % technology,

    enhanced controls, enhanced features of e&isting control, client'server, new language

    features development, data access, a few design enhancement etc.,

  • 5/23/2018 Post Office management

    2/65

    SYSTEM ENVIRONMENT

    (ollowing are the technical resources re)uired for developing the system.

    H$*+$*E *E-I*E/E0T1: #

    23 456 +& a!ove with 7.8 9.B hard dis.

    *$/ capacity of minimum of ;< /B

    (loppy dis drive either 8.< /B or 8.77 /B

    (loppy 8.< /B or 8.77 /B

    Epson stylus 3=>=* 75

    1=(T$*E *E-I*E/E0T1: #

    I0+=1 ?4'?5 E0VI*=0/E0T

    /1 # $33E11@B$3A E0+

    VI1$> B$1I3 6.@(*=0T E0+

    =THE* *E-I*E/E0T1: #

    .2.1

    1tationary

    /iscellaneous assets.

    1E3*ITC: #

    1ecurity measures present unauthoriDed to access the system. $ny system to have

    a security measure should is provided with login#id and password facility. 1ecurity is

    provided for !oth the data!ase level and application level. =nly the authoriDed persons

    can avoid the data corruption to accessed data!ase. The data!ase can accessed only of

    correct login#id and password is provided.

  • 5/23/2018 Post Office management

    3/65

    SOFTWARE CONFIGARATION

    9I : VI1$> B$1I3 6.

    =2E*$TI09 1C1TE/ : I0+=1 ?5

    B$3A E0+ : /1 # $33E11

    HARDWARE CONFIGARATION

    $n IB/ personal computer or a close prefera!ly 2entium

  • 5/23/2018 Post Office management

    4/65

    About Visual Basic Lanua!" #

    Visual Basic was developed forms the B$1I3 programming language. In 8?FGs

    /icrosoft got its start !y developing *=/ !ased interpreted Basic for the early

    microprocessor !ased computer. In 8?5ater on,

    /icrosoft 3orporation created the enhanced version of B$1I3 called Visual Basic for

    indows.

    Visual Basic $%&" #

    Visual Basic 6. allows creating =!"ect =riented $pplication. hen Visual Basic

    originally developed, it allowed to the programmer to create programs using pre#defined

    o!"ects, forms and controls. It uses some of the indows ?4 3ontrols. Visual Basic 6.

    can !e used to develop !oth standalone systems and 3lient 1erver Based systems.

    Visual Basic 6. comes in three categories

    1tandard Edition

    2rofessional Edition

    Enterprise Edition

    F!atu'!s o( Visual Basic $%&"#

    Visual Basic 6. profoundly concentrates on the Internet development features,

    $ctive% technology, enhanced controls, enhanced features of e&isting control,

    client'server, new language features development, data access, a few design enhancement

    etc.,

  • 5/23/2018 Post Office management

    5/65

    Nati)! Co*!: #

    $ Visual Basic pro"ect is compiled to native code for faster e&ecution. 2rofiles

    native code using new native code compiler option, and de!ug native code using the

    Visual 3 environment.

    C'!at! Acti)! + Cont'ols: #

    (eatures of e&isting controls can !e com!ined, or new control can !e created

    form the scratch. $ctive% controls created with Visual Basic have events, data !inding

    1upport, licensing support, property pages, Internet features, and more.

    Wi,a'*s: #

    The application iDard is new and the 1etup iDard has !een enhanced to ena!le

    creating a dependency file for a standard pro"ect. In the professional Edition, the $ctive

    % control Interface iDard, $ctive % +ocument /igration iDard, +ata (orm iDard,

    and property page iDard is new. The 1etup iDard has !een enhanced to supportdistri!ution via the Internet. The installation of remote server components using

    +istri!uted 3=/ @+3=/ and *emote $utomation is an added feature. The a!ility to

    create dependency files for pro"ects and components created with Visual Basic.

    E-t!nsibilit. Mo*!l"#

    The new model allows to programmatically e&tending the development

    environment and control pro"ects, events, code, and Visual elements.

  • 5/23/2018 Post Office management

    6/65

    D!cla'!/ Rais!/ an* Han*l! E)!nts: #

    =!"ects provided !y the components can raise events that can !e handled in other

    applications, or !y our o!"ects, using with Events varia!les, Events provide a simple

    alternative to asynchronous call!acs.

    Multit0'!a*!* DLLs"#

    +>> components mared for unattended e&ecution can !e used efficiently !y

    multithreading applications such as Internet Browser.

    Int!'n!t T'ans(!' Cont'ol: #

    This control provides HTT2 and (T2 support.

    Multi1l! 2'o3!ct: #

    /ultiple pro"ects can !e opened in the same instance of Visual Basic, with is

    useful for de!ugging $ctive % controls.

    C'!at! Acti)! + Docu4!nt: #

    $ctive% document s can !e created that !oosts the Visual Basic application to the

    Internet Browser indows. The data control, +$= or /icrosoft $ccess, you can create

    that is virtually data!ase independent, !ecause "et automatically performs all synta& and

    data manipulation translations.

    ODBC Di'!ct: #

  • 5/23/2018 Post Office management

    7/65

    This feature allows us to access =+B3 data sources throughout the *+= with

    +$= o!"ects, !y passing the /icrosoft et +ata!ase Engine. e can also use =+B3

    +irect through the data 3ontrol, !y !inding controls to data and setting and =+B3 +irect

    property.

    Doc5 abl! an* Lin5abl! Win*o6s/ Toolbo-/ an* Toolba's: #

    2ro"ect, properties, +e!ugging, and =!"ect Browser windows can !e doced in

    the development environment and'or lined to each other. Tool!ars can !e doced,

    undoced, or lined to each other.

    Auto4ation: #

    $ technology that ena!les application to provide o!"ects in a consistent way to

    other application, development tools and macro languages. (ormerly nown as =>E

    $utomation.

    Class: #

    3lass is the formal definition of an o!"ect. The class acts as template which an

    instance of an o!"ect is created at run time. The class defines the properties of the o!"ectand the methods used to control the o!"ectGs !ehavior. 3lassGs uses can typically !e

    categoriDed as one of three general types. They are

    3reation of Business =!"ects

    E&: Employee o!"ect

    Encapsulation of programming functions

    E&: Encapsulate the code that opens a record set in a class module

    Visual Basic $dd#Ins E&: 2rogram iDard

    2ol.4o'10is4"#

  • 5/23/2018 Post Office management

    8/65

    2olymorphism relates to the use of the same method name in various o!"ectsJ for

    e&ample, a print method for the printer, a form, or a picture !o&. hile the name of the

    method is the same, the actual code for the method in each o!"ect can !e different.

    However, !ecause the code for the method is encapsulated in the o!"ect, each o!"ect

    nows how to perform the correct tas when the method is called, this feature allows

    classes to support multiple interfaces. sers of components can early !ind to these

    interfaces, regardless of the o!"ect that implements them.

    Enca1sulation: #

    The data a!out an o!"ect and the code used to manipulate the data are contained

    within the o!"ect itself. The data is stored as the properties of the o!"ect and the code as

    the methods of the o!"ect. This feature allows the o!"ect data and code to stand alone,

    independent of outside routines.

    T0! Co41on!nt Ob3!ct Mo*!l 7COM8"#

    The 3omponent =!"ect /odel @3=/ is a specification. It specifies how to !uild

    components that can !e dynamically interchanged. 3om provides the standard thatcomponent and clients follow to ensure that can operate together.

    3=/ is /icrosoftGs top#level, all encompassing !inary and wire specification for

    the interoperation of one app with another, across multiple applications, machines, and

    hardware types. It provides the following features.

    1ingle programming model

    Binary compati!ility

    niform data transfer

    1tructured storage

    3omponent software, reusa!le functionality

  • 5/23/2018 Post Office management

    9/65

    /acro programma!ility

    2rogramming language independent

    +istri!uted operation

    A*)anta!s o( Usin COM: #

    Binary 3ompati!ility and 3ross#platform +evelopment

    3ode *eusa!ility

    Version 3ontrol

    Bina'. Co41atibilit. an* C'oss#1lat(o'4 D!)!lo14!nt: #

    The first ma"or advantage of component technology !inary compati!ility and

    cross#platforms. 1ince !ecoming an Industry#wide standard, 3=/#compliant client

    applications and servers are independent of the development language and operating

    system.

    Co*! R!usabilit.: #

    The second ma"or advantage of component technology is an enhancement of +>>

    technology. 3=/ components e&pose groups of methods, nown as interfaces, through

    which clients interact with o!"ects. Because these interfaces are documented, many

    clients for a variety of different purposes can reuse the code that creates those o!"ects.

  • 5/23/2018 Post Office management

    10/65

    V!'sion Cont'ol: #

    The last ma"or advantage resolves issues related to version control. 3=/

    components are said to !e self#versioning. This means that new functionality can !e

    added to a component without affecting clients that already use the components.

    (unctionality is not lost when components are upgraded it is always enhanced or added.

  • 5/23/2018 Post Office management

    11/65

    MS#ACCESS:

    hen we create a /icrosoft $ccess data!ase, we create one file that contains

    the data and ta!le structures as well as the )ueries, forms, reports and other o!"ects that

    mae up the data!ase.

    2rotecting information can !e an important part of developing a /icrosoft

    $ccess data!ase. By securing your data!ase, you can control what a user, is a group of

    users, can do with data!ase o!"ects. /icrosoft $ccess security made up of several pieces

    that must !e in place !efore security is complete. 1ecurity relies on a relationship

    !etween /icrosoft $ccess stores account information with the wor group and

    permissions assignment in the data!ase @.md! file /icrosoft $ccess Version F system

    data!ase includes several internal security enhancements.

    Encrypting a data!ase maes it indeciphera!le !y a utility program or word

    processor. Encrypting a data!ase compacts the data!ase file and maes it indeciphera!le

    !y a utility program or word processor. +ecrypting a data!ase reverses it indeciphera!le

    in order to protect it from unauthoriDed viewing or use.

  • 5/23/2018 Post Office management

    12/65

    SYSTEM ANALYSIS

    SYSTEM DECRI2TION:

    The proposed system is for maing easier to manage su!scri!er details, post

    details, money order details, !ills. 1o this will !e developed for helping the post office

    administrative the a!ove things. The overall system is control through the main menu.

    The main money contains 6 parts.

    8. 1ales details.

  • 5/23/2018 Post Office management

    13/65

    ;. R!ist!' 1ost:# the register form contains the postage where to !e delivered it

    contains.

    1ender address

    *eceiver address

    $cnowledgement

    eigtage

    3ommission

    7. S1!!* 1ost:# $s form of register posts the same will !e in the speed post also.

    The e&tra amount will !e taen for urgently.

    4. 4on!. o'*!':# money order form contains details of person to whom money is to

    !e sending, and the sender address.

    6. 4on!. sa)ins:# the savings form we have the details on various types of savings

    lie short term or long term savings.

  • 5/23/2018 Post Office management

    14/65

    E+ISTING SYSTEM:

    The present system of 2ostal service does not contain the courier transactions and

    maintain the details of all other transactions such as maintaining money order details

    speed post transactions register post transaction saving and recurring !an transactions all

    these are carried out manually. This postal system is made into atomiDation in order to

    render services more )uicly and efficiently to the people.

  • 5/23/2018 Post Office management

    15/65

    SYSTEM DESIGN

    DATA FLOW DIAGRAMS:

    1ales form8.

    *egister post

  • 5/23/2018 Post Office management

    16/65

    SALES FORM"

    1tamp details 8.8

    2ostcard details 8.E 5

    +$TE +$TE 5

    0$/E TE%T

  • 5/23/2018 Post Office management

    21/65

    1T$/21 TE%T E 5

    0$/E TE%T

  • 5/23/2018 Post Office management

    22/65

    2I03=+E +=B>E 5

    13HTC2E TE%T

  • 5/23/2018 Post Office management

    23/65

    T=T$/T 3**E03C 5

    0ET$/T 3**E03C 5

    3=0T I0TE9E* ast

    3om!o8.$ddItem rs@

    /sgBo& Orecord savedO

    3all clear

    End 1u!

    2rivate 1u! 3ommand7M3lic@

    rs./ove>ast

    a N rs@

    3all clear

  • 5/23/2018 Post Office management

    32/65

    3om!o8.Te&t N a 8

    Te&t8.Te&t N +ate

    Te&toad (orm6

    End 1u!

    2rivate 1u! 3ommandFM3lic@

    3all clear

    End 1u!

    2rivate 1u! (ormM>oad@

    1et d! N =pen+ata!ase@O3:P/C +=3/E0T1P1E1HP2=1T=((./+BO

    1et rs N d!.=pen*ecordset@OmoneyorderO

    rs./ove(irst

    hile 0ot rs.E=(

    3om!o8.$ddItem rs@

    rs./ove0e&t

    end

    End 1u!

    2rivate 1u! Te&tFMlostfocus@

  • 5/23/2018 Post Office management

    33/65

    +im l, i, $s Integer

    If @@Te&t4.Te&t N OindiaO =r Te&t4.Te&t N OI0+I$O $nd Te&tF.Te&t QN 4 Then

    l N 4

    N 8

    (or i N 8 To Val@Te&tF.Te&t

    Te&t5.Te&t N l

    N 8

    i N L 8

    l N l 4

    0e&t

    Te&t?.Te&t N Val@Te&tF.Te&t Val@Te&t5.Te&t

    ElseIf @@Te&t4.Te&t N OindiaO =r Te&t4.Te&t N OI0+I$O $nd Te&tF.Te&t R 4 Then

    /sgBo& O$/=0T 1H=>+ BE Q4O

    Te&tF.Te&t N OO

    Te&tF.1et(ocus

    ElseIf @@Te&t4.Te&t QR OindiaO =r Te&t4.Te&t QR OI0+I$O $nd Te&tF.Te&t QN 4

    Then

    l N 84

    N 8(or i N 8 To Val@Te&tF.Te&t

    Te&t5.Te&t N l

    N 8

    i N L 8

    l N l 84

    0e&t

    Te&t?.Te&t N Val@Te&tF.Te&t Val@Te&t5.Te&t

    ElseIf @@Te&t4.Te&t QR OindiaO =r Te&t4.Te&t QR OI0+I$O $nd Te&tF.Te&t R 4

    Then

    /sgBo& O$/=0T 1H=>+ BE Q4O

    Te&tF.Te&t N OO

    Te&tF.1et(ocus

  • 5/23/2018 Post Office management

    34/65

    End If

    rs./ove>ast

    If Te&t8.Te&t N rs@8 Then

    N rs@8

    Te&t8.Te&t N 8

    Else

    Te&t8.Te&t N 8

    End If

    End 1u!

    2u!lic 1u! clear@

    3om!o8.Te&t N OO

    Te&t8.Te&t N OO

    Te&t

  • 5/23/2018 Post Office management

    35/65

    rs@4 N Te&t4.Te&t

    rs@6 N Te&t6.Te&t

    rs@F N Te&tF.Te&t

    rs@5 N Te&t5.Te&t

    rs@? N Te&t?.Te&t

    rs@8 N Te&t8.Te&t

    rs.pdate

    End 1u!

    2u!lic 1u! data@

    3om!o8.Te&t N rs@

    Te&t8.Te&t N rs@8

    Te&t

  • 5/23/2018 Post Office management

    36/65

    LLLLLLLLLLLLLLLLLLLLLL*E9I1TE* 2=1T LLLLLLLLLLLLLLLLLLL

    =ption E&plicit

    +im d! $s +ata!ase

    +im rs $s *ecordset

    +im a $s Integer

    2rivate 1u! 3om!o8M3lic@

    rs./ove(irst

    hile 0ot rs.E=(

    If 3om!o8.Te&t N rs@ Then

    Te&t8.Te&t N rs@8

    Te&t

  • 5/23/2018 Post Office management

    37/65

    2rivate 1u! 3ommand

  • 5/23/2018 Post Office management

    38/65

    Te&t7.Te&t N OO

    Te&t4.Te&t N OO

    Te&t6.Te&t N OO

    Te&tF.Te&t N OO

    Te&t5.Te&t N OO

    Te&t?.Te&t N OO

    Te&t8.Te&t N OO

    Te&t88.Te&t N OO

    Te&t8

  • 5/23/2018 Post Office management

    39/65

    hile 0ot rs.E=(

    3om!o8.$ddItem rs@

    rs./ove0e&t

    end

    End If

    3ommand

  • 5/23/2018 Post Office management

    40/65

    Te&t8;.Te&t N Val@Te&t8ast

    If Te&t8.Te&t N rs@8 Then

    N rs@8

    Te&t8.Te&t N 8

    Else

    Te&t8.Te&t N 8

    End If

    rs./ove>ast

    If Te&t8.Te&t N rs@8 Then

    l N rs@87

    Te&t87.Te&t N l 8

    Else

    Te&t87.Te&t N 8

    End If

    End 1u!

  • 5/23/2018 Post Office management

    41/65

    LLLLLLLLLLLLLLLLLLLLL 12EE+ 2=1T LLLLLLLLLLLLLLLLLLLLL

    =ption E&plicit

    +im d! $s +ata!ase

    +im rs $s *ecordset

    +im a $s Integer

    2rivate 1u! 3om!o8M3lic@

    rs./ove(irst

    hile 0ot rs.E=(

    If 3om!o8.Te&t N rs@ Then

    Te&t8.Te&t N rs@8

    Te&t

  • 5/23/2018 Post Office management

    42/65

    rs@ N 3om!o8.Te&t

    rs@8 N Te&t8.Te&t

    rs@

  • 5/23/2018 Post Office management

    43/65

    Te&t4.Te&t N OO

    Te&t6.Te&t N OO

    Te&tF.Te&t N OO

    Te&t5.Te&t N OO

    Te&t?.Te&t N OO

    Te&t8.Te&t N OO

    Te&t88.Te&t N OO

    Te&t8

  • 5/23/2018 Post Office management

    44/65

    end

    End If

    3ommand

  • 5/23/2018 Post Office management

    45/65

    ElseIf Te&tF.Te&t R 4 $nd Te&t?.Te&t QN 4 Then

    Te&t8.Te&t N 44

    End If

    Else

    If Te&t?.Te&t QN 4 Then

    Te&t8.Te&t N 4

    ElseIf Te&t?.Te&t QN

  • 5/23/2018 Post Office management

    46/65

    =ption E&plicit

    +im d! $s +ata!ase

    +im rs $s *ecordset

    +im a $s Integer

    2rivate 1u! 3om!o8M3lic@

    rs./ove(irst

    hile 0ot rs.E=(

    If 3om!o8.Te&t N rs@ Then

    3all data

    End If

    rs./ove0e&t

    end

    End 1u!

    2rivate 1u! 3om!oost(ocus@

    Te&t5.Te&t N ?.5

    Te&t?.Te&t N +ate

    End 1u!

    2rivate 1u! 3ommand8M3lic@

    nload /e

    (orm6.1how

    End 1u!

    2rivate 1u! 3ommandast

    a N rs@

    3all clear

  • 5/23/2018 Post Office management

    47/65

    3om!o8.Te&t N a 8

    Else

    3om!o8.Te&t N 88

    End If

    Te&t?.Te&t N +ate

    Te&t8.1et(ocus

    3ommand;.Ena!led N True

    End 1u!

    2rivate 1u! 3ommand;M3lic@

    3all save

    rs./ove>ast

    3om!o8.$ddItem rs@

    /sgBo& Orecord savedO

    3all clear

    3ommand;.Ena!led N (alse

    End 1u!

    2rivate 1u! 3ommand7M3lic@3all clear

    End 1u!

    2rivate 1u! (ormM>oad@

    1et d! N =pen+ata!ase@O3:P/C +=3/E0T1P1E1HP2=1T=((./+BO

    1et rs N d!.=pen*ecordset@OmoneysavingsO

    If rs.B=( $nd rs.E=( Then

    /sgBo& Ono record e&istsO

    Else

    rs./ove(irst

    hile 0ot rs.E=(

    3om!o8.$ddItem rs@

  • 5/23/2018 Post Office management

    48/65

    rs./ove0e&t

    end

    End If

    3ommand;.Ena!led N (alse

    End 1u!

    2u!lic 1u! clear@

    3om!o8.Te&t N OO

    Te&t8.Te&t N OO

    Te&t

  • 5/23/2018 Post Office management

    49/65

    rs@; N Te&t;.Te&t

    rs@7 N Te&t7.Te&t

    rs@4 N Te&t4.Te&t

    rs@6 N Te&t6.Te&t

    rs@F N Te&tF.Te&t

    rs@5 N 3om!o

  • 5/23/2018 Post Office management

    50/65

    Te&t8

  • 5/23/2018 Post Office management

    51/65

    End If

    inte N

    amt N Val@Te&t88.Te&t

    (or i N 8 To a

    inte N *ound@@amt inte L @8.8

    S/sgBo& inte

    S/sgBo& i

    0e&t

    Te&t8ast

    If Te&t?.Te&t N rs@8 Then

    N rs@86Te&t84.Te&t N 8

    Else

    Te&t84.Te&t N 8

    End If

    End 1u!

    LLLLLLLLLLLLLLLLLLLLLLLLLLLLL1$>E1 LLLLLLLLLLLLLLLLLLLLLLLLL

  • 5/23/2018 Post Office management

    52/65

    =ption E&plicit

    +im d! $s +ata!ase

    +im rs $s *ecordset

    +im a $s Integer

    2rivate 1u! 3om!o8M3lic@

    rs./ove(irst

    hile 0ot rs.E=(

    If 3om!o8.Te&t N rs@ Then

    Te&t8.Te&t N rs@8

    3om!o

  • 5/23/2018 Post Office management

    53/65

    Te&t;.Te&t N 4

    ElseIf 3om!o;.Te&t N OenvolopO Then

    Te&t;.Te&t N ;

    ElseIf 3om!o;.Te&t N OenglandcoverO Then

    Te&t;.Te&t N ost(ocus@

    +im $s Integer

    Te&t4.Te&t N Val@3om!o

  • 5/23/2018 Post Office management

    56/65

    End

    End 1u!

    2rivate 1u! moM3lic@

    >oad (orm8

    (orm8.1how

    End 1u!

    2rivate 1u! msM3lic@

    >oad (orm7

    (orm7.1how

    End 1u!

    2rivate 1u! *M3lic@

    >oad (ormF

    (ormF.1how

    End 1u!

    2rivate 1u! rpM3lic@

    >oad (ormoad (orm;

    (orm;.1how

    End 1u!

    RE2ORTS"

  • 5/23/2018 Post Office management

    57/65

  • 5/23/2018 Post Office management

    58/65

  • 5/23/2018 Post Office management

    59/65

  • 5/23/2018 Post Office management

    60/65

  • 5/23/2018 Post Office management

    61/65

  • 5/23/2018 Post Office management

    62/65

  • 5/23/2018 Post Office management

    63/65

    CONCLUSION

    $ computeriDed postal department system has !een developed and the systemwas tested with sample data.

    The system results in regular timely preparations of re)uired outputs. In

    comparison with manual system the !enefits under a computer system are considera!le in

    the saving of man power woring hours and Eiffel.

    2rovision for addition and deletion of customers is there in the system it is

    possi!le to view that proper filling system has !een adopted to slate date for future. The

    entire pro"ect runs on windows environments.

    The system can !e used to mae !etter management descri!ed at appropriate

    time. The user gets amount and timely information system.

  • 5/23/2018 Post Office management

    64/65

    13=2E =( E0H$03E/E0T

    The system may !e further updated or modified at will owing to its simple

    structure. If the organiDation willing the add a new module that would allow the vendor tothe post office system. /ore over the developed system does not provide any ind of

    facility for maing of the information.

  • 5/23/2018 Post Office management

    65/65

    BIBLIOGRA2HY

    a /1 $33E11 ####### IV$0 B$C *=11

    ! VI1$> B$1E V=>/E 888 ###### 1.1.I 2*E11

    c +$T$ B$1E /$0$9E/E0T 1C1TE/1 ##### A=*TH

    d 1C1TE/ $0$>C1I1 $0+ +E1I90 ###### $/E1 $.1E00