LMS Project Report

Embed Size (px)

Citation preview

  • 8/13/2019 LMS Project Report

    1/101

    PROJECT REPORT

    Submitted for the partial fulfillment of Bachelor of

    computer Application

    III year (VI Semester) Requirement

    Guided by : Submitted by :Mr. Amit Rathore(MCA)

    Mukund JoshiB.C.A. Final Year

    H.K. Hitech

    ( olle!e of I" and #ana!ement)

    $%%& #eheran "o'er& $ st Road Sardarpura

    *odhpur (Ra+asthan)

  • 8/13/2019 LMS Project Report

    2/101

    MAKHANLAL CHATURVEDI RASHTRIYA

    PATRKARITA VISHWAVIDYALYA

    BHOPAL (M.P.)

    PROJECT WORK EVOLUTION

    (1) Candidates Roll No. : ________________(2) Name : ________________(3) Project Title : _________________________(4) Web & Software Base : ________________(5) Sponsoring

    nstit!tion "ddress

    : _________________________

    (6) St!d# Center Code$

    Name$ "ddress: ________________________

    (7) Total nternal "ssessment & % am Wor' %(ol!tion)ar's *!t of +,,

    : _________________________

    -etail of %(ol!tion along wit name & sign of Teac er

    __________________________________________________Partic!lar )ar's *!t of )ar's

    "warded

    nternal

    % aminer Name& Signat!re

    Page 2

  • 8/13/2019 LMS Project Report

    3/101

    (8) /orwarding b# 0ead *f St!d# Centre

    _________________________1Signat!re$ Name and St!d# Centre Seal2

    _________________________(9) Remar's *f St!d#

    Centre ____________________(10) 3ni(ersit# Project % aminer %(ol!tion

    Total )ar's "warded__________ *!t *f 500(11) -etail of %(ol!tion along wit Name & Sign *f 3ni(ersit#

    % aminer.

    Partic!lar )ar's *!t *f )ar's "warded nternal% aminer Name& Signat!re

    (12) Remar's *f 3ni(ersit# % aminer ______________________

    Page 3

  • 8/13/2019 LMS Project Report

    4/101

    H.K. HI-TECH(COLLEGE OF IT AND MANAGEMENT)

    Certificate

    T is is to certif# t at Mukund Joshi as s!ccessf!ll# s!bmittedis project on

    Library Management System

    -!ring t e academic #ear +,,45+,,6

    n t e partial f!lfillment of t e award of t e degree of Bac elor of

    Comp!ter "pplication

    0e as completed t is wor' !nder m# s!per(ision and not part of t is

    project as not been s!bmitted for t e iss!e of an# ot er -egree of

    -iploma.

    Date : ,- /0 /1

    Place: *odhpur

    (M.C. Nehra)

    #ana!in! 2irector

    H.K. Hitech

    Page 4

  • 8/13/2019 LMS Project Report

    5/101

    Acknowl !" # n$

    t is m# great pri(ilege to e press m# profo!nd respect and

    gratit!de towards m# g!ide )r. "mit Rat ore$ for pro(iding me all t e

    g!idance and 'eeping is e perienced ad o(er m# wor'.

    Words are inade7!ate to e press deep sense of gratit!de towards )r.

    "mit Rat ore$ for is precio!s s!ggestions co!pled wit constr!cti(e

    criticism w ic res!lted in !ltimate efficac#.

    8ast$ b!t not t e least$ am t an'f!l to m# parents and all m# friends

    for consistent moral s!pport and enco!ragement & moti ate! at e er"

    #$a% o& li&e.

    MUKUND JOSHI(B.C.A. FINAL YEAR)

    Page 5

  • 8/13/2019 LMS Project Report

    6/101

    CONTENTS

    I3"R425 "I43

    6R78A 7 I3"R425 "I43

    OBJECT !E

    S9S"7# S"529

    87ASIBI:I"9 S"529 A32 4S" B7378I" A3A:9SIS

    7 434#I A:

    "7 H3I A:

    25RA"I43

    8R43" 732 S"529

    BA K 732 S"529

    S9S"7# A3A9:SIS ; 8:4< HAR"I3=

    2A"A 8:4< 2IA=RA#S

    7>R #427: 2IA=RA# S9S"7# 27SI=3

    2A"ABAS7 27SI=3

    84R# 27SI=3

    42I3= (S45R 7 427)

    R764R" 27SI=3I3=

    S9S"7# "7S"I3=

    S9S"7# I#6:7#73"A"I43

    S9S"7# S7 5RI"9

    S9S"7# R7 4VR9

    S48"

  • 8/13/2019 LMS Project Report

    7/101

    INTRODUCTION The LIBRARY MANAGEMENT SYSTEM manages the i!rar" s"stem#

    $hi%h is a! e to %onsider a ru es and regu ations o& institute and 'ro(ide easier and

    gra'hi%a inter&a%e to user &or eas" $orking. The so&t$are is designed &or i!rar" s"stemmanagement. It %o(ers a as'e%ts o& a i!rar" s"stem ike ) *ine 'ena t" %harge# +hange

    o& &ine 'ena t" rate# 'ass$ord %hange# dai " re'ort# student detai # !ooks detai # sear%h

    o'tions et%. The main M,I -Main or Mu ti' e ,o%ument Inter&a%e has &i(e menus# $hi%h

    are *i e# *orm# Sear%hing# Re'ort and /e '. The" a so &urther ha(e menu o'tions.

    It is (er" sim' e to se e%t the desire !utton and 0ust a&ter a % i%k e(ent the

    desired &orms are dis' a"ed. E(er" &orm has a detai s. The user do entr" o&

    data 0ust !" % i%king e(ents # The t"'ing $ork is a(oid as 'ossi! e. A&ter

    %om' etion o& entr" data stores in data !ase and resu t is dis' a"ed in resu t &orm

    a%%ording the intera%tion !et$een 1isua Basi% and !a%k end MS2A%%ess as 'er

    'rogram.

    o A sing e 'erson %an manage the sho$ des'ite o& %on(entiona manua

    s"stem

    o There is not need to maintain so man" 'a'er $ork. A 'erson ike +om'uter

    3'erator %an hand e this 0o! !e%ause inter&a%e is tota " gra'hi%a .

    OBJECT !E OF "# BRARY MA$AGEME$T SYSTEM "

    To (a idate the users assigning a user a%%ount to ea%h user %he%king his 'ass$ords

    at the time o& ogin. To generates a(ai a! e !ook ist# to 're'are dai " transa%tion

    re'ort# to 're'are month " transa%tion re'ort# to maintain issue and de'osit !ooks. To

    generate re'ort a issued !ook and 'arti%u ar student# and a so generate re'ort a

    missing !ooks. The e4isting s"stem $as manua and three Nos. % erks# one 'eon and

    one su'er(ising o&&i%er maintained $ork# $hi e 'resent s"stem is designed to hand e

    same $ork !" a 'erson $ho has !asi% kno$ edge o& %om'uter.

    The !asi% s"stem in(o (es so man" re%ords and &i ing s"stem# $hi e %urrent s"stem

    has no su%h t"'e o& re%ords. A re%ords %an !e stored as so&t %o'".

    To understand a s"stem I tr" to make it a ro!ust and stead". Stud" the data!ase

    management o& a s"stem. I studied the a(ai a! e I,E ike Mi%roso&t 1isua Basi% and

    Mi%roso&t A%%ess. To stud" the i!rar" s"stem and tr" to de(e o' so&t$are that

    manages a i!rar" $ith east e&&orts.

    Page 7

  • 8/13/2019 LMS Project Report

    8/101

    PRE%ACEThe i!rar" is an im'ortant modu e &or an" edu%ationa institute. Li!rar"

    ma" %ontain thousands o& !ooks# and its management is a (er" tough 0o!. The

    %are shou d !e taken &or 'ro'er distri!ution o& the resour%es. It shou d !e

    managed in a manner so that its resour%es are used e&&i%ient " and %on(enient ".

    *or this ru es and rights shou d !e 'ro(ided to ea%h user.

    Manua management o& su%h a arge s"stem is a (er" tedious 0o! and

    errors ma" o%%ur sometimes. This ma" a&&e%t the integrit" and %onsisten%" o& the

    s"stem resu ting in an im'ro'er resour%e distri!ution.

    /ere $e ha(e 'ro(ided a &u 2& edged i!rar" management s"stem# $hi%h

    $i %hange the %on(entiona manua management $ith a %om'uteri5ed i!rar"management s"stem. 6e ha(e tried our !est to 'ro(ide e&&i%ient and %on(enient

    transitor" o'erations &or i!rarian and users.

    6e are (er" mu%h thank&u to a those $ho dire%t " or indire%t " he 'ed us

    in %om' eting this 'ro0e%t.

    Mukund Joshi

    Page 8

  • 8/13/2019 LMS Project Report

    9/101

    SYSTEM DESI&NCa%e Study and Ra& 'ata

    To de(e o' a 'ro0e%t the &irst ne%essit" $as to get the in2de'th kno$ edge o&

    1isua Basi% and ,ata!ase. And a so ana "5e the re7uirement o& the i%e %ream 'ar our.

    Feature%

    As this 'ro0e%t is (er" arge# so to maintain its reada!i it" $e ha(e di(ided this

    $ho e 'ro0e%t in (arious &un%tiona %om'onents. This &eature 'ro(ides a%%ura%"# ess

    e4e%ution time# error hand ing# and memor" imitation.

    Fl & *artin+

    As $e %annot dire%t " %ode so $e started &rom 're'aring & o$ %harts o& ea%h

    %om'onent. *or this $e ha(e used to' do$n modu ar design and s'itted the 'ro0e%t into

    sma modu es.

    Sele ti n , lan+ua+e

    A&ter 're'aring & o$ %hart the main 'ro! em $as to se e%t an a''ro'riate

    'rogramming anguage. 6e ha(e se e%ted 1isua Basi% &or de(e o'ing this so&t$are

    !e%ause it8s (er" user &riend " and $orking in it is (er" eas". 1isua Basi% 'ro(ides

    (arious uti ities ike A%ti(e9 +ontro s and A%ti(e 9 %om'onent# $hi%h are (er" he '&u in

    making 'ro0e%t. In 1isua Basi% the user inter&a%e is termed as *orm.

    C din+

    It is the a%tua stage $here $e $rote instru%tions in 1isua Basi% to im' ement the

    & o$ %harts.

    Page 9

  • 8/13/2019 LMS Project Report

    10/101

    SYSTEM STUDY

    Fea%ibility Study and C %t Bene,it Analy%i%

    *easi!i it" stud" is the most im'ortant ste' in S"stem Ana "sis. It is the determination o&$hether the 'ro0e%t is &easi! e or not. 3n%e it has !een determined that a 'ro0e%t is

    &easi! e# the ana "st %an go ahead and 're'are the 'ro0e%t s'e%i&i%ation $hi%h &ina i5es

    'ro0e%t re7uirements.

    As this 'ro0e%t is not designed &or an" organi5ation &or management o& their i!rar". *irst

    o& a a se%urit" s"stem is 'ro(ided through a data!ase so that unauthori5ed user %annot

    a%%ess the i!rar"8s uti it". This management s"stem 'ro(ides a user I, to e(er" user#

    $hi%h 'ro(ides &a%i it" to a%%ess their a%%ount on ine.

    The i!rar" Management s"stem a so has (arious &orms in G:I# $hi%h'ro(ides &o o$ing in&ormation;

    . Book A(ai a!i it" In&ormation.

    ?. Book Issue and Re%ei't In&ormation.

    @. Re'orts a!out a detai s.

    The &easi!i it" stud" %ontains a the &a%tors i.e. Te%hni%a # Beha(iora and E%onomi%a

    &easi!i it".

    The &o o$ing ste's $ere taken during &easi!i it" stud".M" Se &2s team eader and team mem!er $ith guidan%e o& m" 'rogrammer guide

    Mr. Amit Rathore.

    S"stem & o$%hart $as 're'ared and design re7uirement studies done.

    As this 'ro0e%t $as made as 'er assum'tion that the e4isting i!rar" management

    s"stem is manua .

    The e4isting s"stem $as manua and three Nos. % erks# one 'eon and one

    su'er(ising o&&i%er maintained $ork# $hi e 'resent s"stem is designed to hand e

    same $ork !" a 'erson $ho has !asi% kno$ edge o& %om'uter.

    The !asi% s"stem in(o (es so man" re%ords and &i ing s"stem# $hi e %urrent

    s"stem has no su%h t"'e o& re%ords. A re%ords %an !e stored as so&t %o'".

    +ost &easi!i it" stud" a so done $hi%h is &easi! e and &o o$ing;

    Page 10

  • 8/13/2019 LMS Project Report

    11/101

    +ost !ene&it ana "sis done and $ith %onsideration o& &o o$ing 'oints.

    . ersonne +ost

    ?. *a%i it" +ost

    @. 3'erating +ost

    . Su'' " +ost

    Te *ni al Fea%ibility

    This is %on%ern $ith s'e%i&"ing e7ui'ment and so&t$are that $i su%%ess&u " satis&" the

    user re7uirement. The te%hni%a needs o& the s"stem ma" (ar" %onsidera! "# !ut might

    in% ude )

    The &a%i it" to 'rodu%e out'uts in a gi(en time

    Res'onse time under %ertain %onditions

    A!i it" to 'ro%ess a %ertain (o ume o& transa%tion at a 'arti%u ar s'eed

    *a%i it" to %ommuni%ate data to distant o%ation

    In e4amining te%hni%a &easi!i it"# %on&iguration o& the s"stem is gi(en more im'ortan%e

    than the a%tua make o& hard$are. The %on&iguration shou d gi(e the %om' ete 'i%ture

    a!out the s"stem8s re7uirements.

    The e4isting %om'uter s"stem 'ro'er " su''orts this so&t$are. To im' ement this the

    %om'an" does not re7uire additiona resour%es. /en%e it %an !e %on% uded that the

    'ro'osed s"stem is te%hni%a " &easi! e.

    E n mi al Fea%ibility

    E%onomi%a Ana "sis is the most &re7uent " used te%hni7ue &or e(a uating the

    e&&e%ti(eness o& a 'ro'osed s"stem. E%onomi%a *easi!i it" is most %ommon " kno$n as

    %ost !ene&it ana "sis. It is the 'ro%edure to determine the !ene&its and sa(ings that are

    e4'e%ted &rom a 'ro'osed s"stem and %om'are them $ith %osts.

    This so&t$are redu%es the 'a'er $ork as $e as man'o$er and 'ro(ides the!etter management &or LIBRARY MANAGEMENT SYSTEM. It %an !e ana "5ed that the

    %ost o& 'ro'osed s"stem is mu%h ess than the !ene&its that %an !e deri(ed &rom it. So $e

    %an a%%e't it to !e e%onomi%a " &easi! e.

    Page 11

  • 8/13/2019 LMS Project Report

    12/101

    'urati n (Time Fea%ibility)

    Time *easi!i it" is a determination o& $hether a 'ro'osed 'ro0e%t %an !e im' emented

    &u " $ithin a sti'u ated 'eriod. I& a 'ro0e%t takes too mu%h time it is ike " to !e re0e%ted.

    The 'ro'osed s"stem takes a itt e time 'eriod &or im' ementation so it %an !e%onsidered as Time *easi! e So&t$are.

    -ard&are Re uirement , r im/lementin+ t*i% % ,t&are

    Inte mi%ro'ro%essor 2 CD@C or higher

    RAM 2 < MB

    /ard ,isk ,ri(e 2 MB -*ree s'a%e

    * o''" ,isk ,ri(e 2 F=9

    *ront end 2 1isua Basi% .DBa%k end 2 MS A+ESS

    Page 12

  • 8/13/2019 LMS Project Report

    13/101

    ABO0T ! S0A# BAS C (FRO$T E$')

    !i%ual Ba%i C n e/t%

    Mi%roso&t 1isua Basi% is the &astest and easiest $a" to %reate a'' i%ations &or

    Mi%roso&t 6indo$sH. 6hether "ou are an e4'erien%ed 'ro&essiona or !rand

    ne$ to 6indo$s 'rogramming# 1isua Basi% 'ro(ides "ou $ith a %om' ete set

    o& too s to sim' i&" ra'id a'' i%ation de(e o'ment.

    So $hat is 1isua Basi% The 1isua 'art re&ers to the method used to %reate

    the gra'hi%a user inter&a%e -G:I . Rather than $riting numerous ines o& %ode

    to des%ri!e the a''earan%e and o%ation o& inter&a%e e ements# "ou sim' " add

    're2!ui t o!0e%ts into ' a%e on s%reen. I& "ouK(e e(er used a dra$ing 'rogram

    su%h as aint# "ou a read" ha(e most o& the ski s ne%essar" to %reate an

    e&&e%ti(e user inter&a%e.

    The Basi% 'art re&ers to the BASI+ -Beginners A 2 ur'ose S"m!o i%

    Instru%tion +ode anguage# a anguage used !" more 'rogrammers than an"

    other anguage in the histor" o& %om'uting. 1isua Basi% has e(o (ed &rom the

    origina BASI+ anguage and no$ %ontains se(era hundred statements#

    &un%tions# and ke"$ords# man" o& $hi%h re ate dire%t " to the 6indo$s G:I.

    Beginners %an %reate use&u a'' i%ations !" earning 0ust a &e$ o& the

    ke"$ords# "et the 'o$er o& the anguage a o$s 'ro&essiona s to a%%om' ish

    an"thing that %an !e a%%om' ished using an" other 6indo$s 'rogramming

    anguage.

    The 1isua Basi% 'rogramming anguage is not uni7ue to 1isua Basi%. The

    1isua Basi% 'rogramming s"stem# A'' i%ations Edition in% uded in Mi%roso&t

    E4%e # Mi%roso&t A%%ess# and man" other 6indo$s a'' i%ations uses the

    same anguage. The 1isua Basi% S%ri'ting Edition -1BS%ri't is a $ide " useds%ri'ting anguage and a su!set o& the 1isua Basi% anguage. The in(estment

    "ou make in earning 1isua Basi% $i %arr" o(er to these other areas.

    6hether "our goa is to %reate a sma uti it" &or "ourse & or "our $ork grou'# a

    arge enter'rise2$ide s"stem# or e(en distri!uted a'' i%ations s'anning the

    g o!e (ia the Internet# 1isua Basi% has the too s "ou need.

    ,ata a%%ess &eatures a o$ "ou to %reate data!ases# &ront2end a'' i%ations#

    and s%a a! e ser(er2side %om'onents &or most 'o'u ar data!ase &ormats#

    in% uding Mi%roso&t S L Ser(er and other enter'rise2 e(e data!ases.

    Page 13

  • 8/13/2019 LMS Project Report

    14/101

    A%ti(e9 te%hno ogies a o$ "ou to use the &un%tiona it" 'ro(ided !" other

    a'' i%ations# su%h as Mi%roso&t 6ord ro%essor# Mi%roso&t E4%e s'readsheet#

    and other 6indo$s a'' i%ations. You %an e(en automate a'' i%ations and

    o!0e%ts %reated using the ro&essiona or Enter'rise editions o& 1isua Basi%.

    Internet %a'a!i ities make it eas" to 'ro(ide a%%ess to do%uments and

    a'' i%ations a%ross the Internet or intranet &rom $ithin "our a'' i%ation# or to

    %reate Internet ser(er a'' i%ations.

    Your &inished a'' i%ation is a true .e4e &i e that uses a 1isua Basi% 1irtua

    Ma%hine that "ou %an &ree " distri!ute.

    !i%ual Ba%i Editi n%

    1isua Basi% is a(ai a! e in three (ersions# ea%h geared to meet a s'e%i&i% set o&

    de(e o'ment re7uirements. The 1isua Basi% Learning edition a o$s 'rogrammers to

    easi " %reate 'o$er&u a'' i%ations &or Mi%roso&t 6indo$s and 6indo$s NTH. It in% udes

    a intrinsi% %ontro s# ' us grid# ta!# and data2!ound %ontro s. ,o%umentation 'ro(ided $ith

    this edition in% udes the Learn 1B No$ +, ' us the Mi%roso&t ,e(e o'er Net$ork

    -MS,N Li!rar" +,s %ontaining &u on ine do%umentation.

    The ro&essiona edition 'ro(ides %om'uter 'ro&essiona s $ith a &u 2&eatured set

    o& too s &or de(e o'ing so utions &or others. It in% udes a the &eatures o& the Learningedition# ' us additiona A%ti(e9 %ontro s# the Internet In&ormation Ser(er A'' i%ation

    ,esigner# integrated 1isua ,ata!ase Too s and ,ata En(ironment# A%ti(e ,ata 3!0e%ts#

    and the ,"nami% /TML age ,esigner. ,o%umentation 'ro(ided $ith the ro&essiona

    edition in% udes the 1isua Studio ro&essiona *eatures !ook ' us Mi%roso&t ,e(e o'er

    Net$ork +,s %ontaining &u on ine do%umentation.

    The Enter'rise edition a o$s 'ro&essiona s to %reate ro!ust distri!uted

    a'' i%ations in a team setting. It in% udes a the &eatures o& the ro&essiona edition# ' us

    Ba%k 3&&i%e too s su%h as S L Ser(er# Mi%roso&t Transa%tion Ser(er# Internet In&ormationSer(er# 1isua Sour%eSa&e# SNA Ser(er# and more. rinted do%umentation 'ro(ided $ith

    the Enter'rise edition in% udes the 1isua Studio Enter'rise *eatures !ook ' us Mi%roso&t

    ,e(e o'er Net$ork +,s %ontaining &u on ine do%umentation.

    Startin+ !i%ual Ba%i

    3n%e "ou ha(e %om' eted the Setu' 'ro%edure# "ou %an start 1isua Basi% !"

    using the Start !utton on the 6indo$s task !ar. I& Auto a" is ena! ed on "our s"stem#"ou %an a so start 1isua Basi% !" inserting the 1isua Basi% %om'a%t dis%.

    Page 14

  • 8/13/2019 LMS Project Report

    15/101

    !i%ual Ba%i C n e/t%

    In order to understand the a'' i%ation de(e o'ment 'ro%ess# it is he '&u to

    understand some o& the ke" %on%e'ts u'on $hi%h 1isua Basi% is !ui t. Be%ause 1isua

    Basi% is a 6indo$s de(e o'ment anguage# some &ami iarit" $ith the 6indo$s

    en(ironment is ne%essar". I& "ou are ne$ to 6indo$s 'rogramming# "ou need to !e

    a$are o& some &undamenta di&&eren%es !et$een 'rogramming &or 6indo$s (ersus other

    en(ironments.

    - & 1ind &% 1 r2%: 1ind &%3 E4ent% and Me%%a+e%

    A %om' ete dis%ussion o& the inner $orkings o& 6indo$s $ou d re7uire an entire

    !ook. A dee' understanding o& a o& the te%hni%a detai s isnKt ne%essar". A sim' i&ied

    (ersion o& the $orkings o& 6indo$s in(o (es three ke" %on%e'ts; $indo$s# e(ents and

    messages.

    Think o& a $indo$ as sim' " a re%tangu ar region $ith its o$n !oundaries. You

    are 'ro!a! " a read" a$are o& se(era di&&erent t"'es o& $indo$s; an E4' orer $indo$ in

    6indo$s# a do%ument $indo$ $ithin "our $ord 'ro%essing 'rogram# or a dia og !o4 that

    'o's u' to remind "ou o& an a''ointment. 6hi e these are the most %ommon e4am' es#

    there are a%tua " man" other t"'es o& $indo$s. A %ommand !utton is a $indo$. I%ons#

    te4t !o4es# o'tion !uttons and menu !ars are a $indo$s.

    The Mi%roso&t 6indo$s o'erating s"stem manages a o& these man" $indo$s !"

    assigning ea%h one a uni7ue id num!er -$indo$ hand e . The s"stem %ontinua "

    monitors ea%h o& these $indo$s &or signs o& a%ti(it" or e(ents. E(ents %an o%%ur through

    user a%tions su%h as a mouse % i%k or a ke" 'ress# through 'rogrammati% %ontro # or e(en

    as a resu t o& another $indo$Ks a%tions.

    Ea%h time an e(ent o%%urs# it %auses a message to !e sent to the o'erating

    s"stem. The s"stem 'ro%esses the message and !road%asts it to the other $indo$s.

    Ea%h $indo$ %an then take the a''ro'riate a%tion !ased on its o$n instru%tions &or

    dea ing $ith that 'arti%u ar message -&or e4am' e# re'ainting itse & $hen it has !eenun%o(ered !" another $indo$ .

    As "ou might imagine# dea ing $ith a o& the 'ossi! e %om!inations o& $indo$s#

    e(ents and messages %ou d !e mind2!ogg ing. *ortunate "# 1isua Basi% insu ates "ou

    &rom ha(ing to dea $ith a o& the o$2 e(e message hand ing. Man" o& the messages are

    hand ed automati%a " !" 1isua Basi% others are e4'osed as E(ent 'ro%edures &or "our

    %on(enien%e. This a o$s "ou to 7ui%k " %reate 'o$er&u a'' i%ations $ithout ha(ing to

    dea $ith unne%essar" detai s.

    Page 15

  • 8/13/2019 LMS Project Report

    16/101

    0nder%tandin+ t*e E4ent5'ri4en M del

    In traditiona or 'ro%edura a'' i%ations# the a'' i%ation itse & %ontro s $hi%h

    'ortions o& %ode e4e%ute and in $hat se7uen%e. E4e%ution starts $ith the &irst ine o& %ode

    and &o o$s a 'rede&ined 'ath through the a'' i%ation# %a ing 'ro%edures as needed.

    In an e(ent2dri(en a'' i%ation# the %ode doesnKt &o o$ a 'redetermined 'ath O it

    e4e%utes di&&erent %ode se%tions in res'onse to e(ents. E(ents %an !e triggered !" the

    userKs a%tions# !" messages &rom the s"stem or other a'' i%ations# or e(en &rom the

    a'' i%ation itse &. The se7uen%e o& these e(ents determines the se7uen%e in $hi%h the

    %ode e4e%utes# thus the 'ath through the a'' i%ationKs %ode di&&ers ea%h time the 'rogram

    runs.

    Be%ause "ou %anKt 'redi%t the se7uen%e o& e(ents# "our %ode must make %ertain

    assum'tions a!out the state o& the $or d $hen it e4e%utes. 6hen "ou make

    assum'tions -&or e4am' e# that an entr" &ie d must %ontain a (a ue !e&ore running a

    'ro%edure to 'ro%ess that (a ue # "ou shou d stru%ture "our a'' i%ation in su%h a $a" as

    to make sure that the assum'tion $i a $a"s !e (a id -&or e4am' e# disa! ing the

    %ommand !utton that starts the 'ro%edure unti the entr" &ie d %ontains a (a ue .

    Your %ode %an a so trigger e(ents during e4e%ution. *or e4am' e#

    'rogrammati%a " %hanging the te4t in a te4t !o4 %ause the te4t !o4Ks +hange e(ent to

    o%%ur. This $ou d %ause the %ode -i& an" %ontained in the +hange e(ent to e4e%ute. I&

    "ou assumed that this e(ent $ou d on " !e triggered !" user intera%tion# "ou might see

    une4'e%ted resu ts. It is &or this reason that it is im'ortant to understand the e(ent2dri(en

    mode and kee' it in mind $hen designing "our a'' i%ation.

    ntera ti4e 'e4el /ment

    The traditiona a'' i%ation de(e o'ment 'ro%ess %an !e !roken into three distin%t

    ste's; $riting# %om'i ing# and testing %ode. :n ike traditiona anguages# 1isua Basi%

    uses an intera%ti(e a''roa%h to de(e o'ment# ! urring the distin%tion !et$een the three

    ste's.6ith most anguages# i& "ou make a mistake in $riting "our %ode# the %om'i er

    %at%hes the error $hen "ou start to %om'i e "our a'' i%ation. You must then &ind and &i4

    the error and !egin the %om'i e %"% e again# re'eating the 'ro%ess &or ea%h error &ound.

    1isua Basi% inter'rets "our %ode as "ou enter it# %at%hing and high ighting most s"nta4 or

    s'e ing errors on the & ". ItKs a most ike ha(ing an e4'ert $at%hing o(er "our shou der as

    "ou enter "our %ode.

    In addition to %at%hing errors on the & "# 1isua Basi% a so 'artia " %om'i es the%ode as it is entered. 6hen "ou are read" to run and test "our a'' i%ation# there is on " a

    Page 16

  • 8/13/2019 LMS Project Report

    17/101

    !rie& de a" to &inish %om'i ing. I& the %om'i er &inds an error# it is high ighted in "our %ode.

    You %an &i4 the error and %ontinue %om'i ing $ithout ha(ing to start o(er. Be%ause o& the

    intera%ti(e nature o& 1isua Basi%# "ouK &ind "ourse & running "our a'' i%ation &re7uent "

    as "ou de(e o' it. This $a" "ou %an test the e&&e%ts o& "our %ode as "ou $ork rather than

    $aiting to %om'i e ater.

    Startin+ t*e !i%ual Ba%i 'E

    6hen "ou run the 1isua Basi% Setu' 'rogram# it a o$s "ou to ' a%e the 'rogram

    items in an e4isting 'rogram grou' or %reate a ne$ 'rogram grou' and ne$ 'rogram

    items &or 1isua Basi% in 6indo$s. You are then read" to start 1isua Basi% &rom

    6indo$s.

    To start 1isua Basi% &rom 6indo$s; 2

    + i%k Start on the Task !ar.

    Se e%t rograms# 1isua Studio and then Mi%roso&t 1isua Basi% .D.

    + i%k Start on the Task !ar.

    Se e%t rograms.

    :se the 6indo$s E4' orer to &ind the 1isua Basi% e4e%uta! e &i e.

    ,ou! e2% i%k the 1isua Basi% i%on.

    You %an a so %reate a short%ut to 1isua Basi%# and dou! e2% i%k the short%ut.

    6hen "ou &irst start 1isua Basi%# "ou see the inter&a%e o& the integrated

    de(e o'ment en(ironment# as sho$n in *igure gi(en !e o$

    Page 17

  • 8/13/2019 LMS Project Report

    18/101

  • 8/13/2019 LMS Project Report

    19/101

    Pr 6e t #imitati n%

    A sing e 'ro0e%t %an %ontain u' to ?>#DDD identi&iers -an" non reser(ed ke"$ord #

    $hi%h in% ude# !ut are not imited to# &orms# %ontro s# modu es# (aria! es# %onstants#

    'ro%edures# &un%tions# and o!0e%ts. Note that the a%tua num!er o& identi&iers is imited to

    a(ai a! e memor".

    1aria! e names in 1isua Basi% %an !e no onger than > %hara%ters# and the

    names o& &orms# %ontro s# modu es# and % asses %annot !e onger than @D %hara%ters.

    1isua Basi% im'oses no imit on the a%tua num!er o& distin%t o!0e%ts in a 'ro0e%t.

    C ntr l #imitati n%

    Ea%h non2gra'hi%a %ontro -a the %ontro s e4%e't sha'e# ine# image# and a!e

    uses a $indo$. Ea%h $indo$ uses s"stem resour%es# imiting the tota num!er o&

    $indo$s that %an e4ist at one time. The e4a%t imit de'ends on the a(ai a! e s"stem

    resour%es and the t"'e o& %ontro s used.

    To redu%e %onsum'tion o& s"stem resour%es# use the sha'e# ine# a!e # and

    image %ontro s instead o& 'i%ture !o4 %ontro s to %reate or dis' a" gra'hi%s.

    T tal $umber , C ntr l%

    The ma4imum num!er o& %ontro s a o$ed on a sing e &orm de'ends on the t"'e

    o& %ontro s used and a(ai a! e s"stem resour%es. /o$e(er# there is a &i4ed imit o& > @

    %ontro names 'er &orm. A %ontro arra" %ounts on " on%e to$ard this imit !e%ause a the

    %ontro s in the arra" share a sing e %ontro name. The imit on %ontro arra" inde4es is D to

    ?>#P P on a (ersions.

    I& "ou a"er %ontro s on to' o& ea%h other# su%h as using se(era &rame %ontro s

    $ithin other &rames# 1isua Basi% $i genera " a%%e't no more than > e(e s o& nested

    %ontro s.

    C de #imitati n%

    The amount o& %ode that %an !e oaded into a &orm# % ass# or standard modu e is imited

    to # ?@ ines. A sing e ine o& %ode %an %onsist o& u' to ? !"tes. :' to > ! ank

    s'a%es %an 're%ede the a%tua te4t on a sing e ine# and no more than t$ent"2&our ine2

    %ontinuation %hara%ters - Q %an !e in% uded in a sing e ogi%a ine.

    Pr edure%3 Ty/e%3 and !ariable%

    There is no imit on the num!er o& 'ro%edures 'er modu e. Ea%h 'ro%edure %an %ontain

    u' to @F o& %ode. I& a 'ro%edure or modu e e4%eeds this imit# 1isua Basi% generates a%om'i e2time error. I& "ou en%ounter this error# "ou %an a(oid it !" !reaking e4treme "

    Page 19

  • 8/13/2019 LMS Project Report

    20/101

    arge 'ro%edures into se(era sma er 'ro%edures# or !" mo(ing modu e2 e(e de% arations

    into another modu e.

    1isua Basi% uses ta! es to store the names o& identi&iers -(aria! es# 'ro%edures#

    %onstants# and so on in "our %ode. Ea%h ta! e is imited to @F.

    '## 'e lare Table

    Ea%h &orm and %ode modu e uses a ta! e that %ontains a stru%ture des%ri!ing a ,LL entr"

    'oint. Ea%h stru%ture uses a''ro4imate " @D !"tes# $ith a tota restri%ted si5e o& @F#

    resu ting in rough "

  • 8/13/2019 LMS Project Report

    21/101

    'e%i+n5time and Mi% ellane u% File%

    The &o o$ing ta! e ists a the design2time and mis%e aneous other &i es that ma" !e

    'rodu%ed $hen "ou de(e o' an a'' i%ation;

    E4tension ,es%ri'tion.!as Basi% modu e.% s + ass modu e.%t :ser +ontro &i e.%t4 :ser +ontro !inar" &i e.d%a A%ti(e ,esigner %a%he.dd& a%kage and ,e' o"ment 6i5ard +AB in&ormation &i e.de' a%kage and ,e' o"ment 6i5ard de'enden%" &i e.do! A%ti(e9 do%ument &orm &i e.do4 A%ti(e9 do%ument !inar" &orm &i e.dsr A%ti(e ,esigner &i e.ds4 A%ti(e ,esigner !inar" &i e.d$s ,e' o"ment $i5ard s%ri't &i e.&rm *orm &i e.&r4 Binar" &orm &i e. og Log &i e &or oad errors.o%a +ontro T"'eLi! %a%he &i e.'ag ro'ert" 'age &i e.'g4 Binar" 'ro'ert" 'age &i e.res Resour%e &i e.t ! Remote Automation T"'eLi! &i e.(!g 1isua Basi% grou' 'ro0e%t &i e.(! +ontro i%ensing &i e.(!' 1isua Basi% 'ro0e%t &i e.(!r Remote Automation registration &i e.(!$ 1isua Basi% 'ro0e%t $orks'a%e &i e.(!5 6i5ard aun%h &i e.$%t 6e!+ ass /TML tem' ate

    Page 21

  • 8/13/2019 LMS Project Report

    22/101

    Run5Time File%

    6hen "ou %om'i e "our a'' i%ation# a the ne%essar" design2time &i es are

    in% uded in the run2time e4e%uta! e &i es. Run2time &i es are isted in the &o o$ing ta! e;

    E4tension ,es%ri'tion.d In2'ro%ess A%ti(e9 %om'onent.e4e E4e%uta! e &i e or A%ti(e9 %om'onent.o%4 A%ti(e9 %ontro.(!d A%ti(e9 do%ument state &i e.$%t 6e!+ ass /TML tem' ate

    Primary 8ey

    3ne or more &ie ds -%o umns $hose (a ue or (a ues uni7ue " identi&" ea%h re%ord

    in a ta! e. A 'rimar" ke" does not a o$ Nu (a ues and must a $a"s ha(e a

    uni7ue (a ue. A 'rimar" ke" is used to re ate a ta! e to &oreign ke"s in other

    ta! es.

    N3TE; You do not ha(e to de&ine a 'rimar" ke"# !ut itKs usua " a good idea. I& "ou

    donKt de&ine a 'rimar" ke"# Mi%roso&t A%%ess asks "ou i& "ou $ou d ike to %reate

    one $hen "ou sa(e the ta! e.

    *or our tutoria # make the So% Se% &ie d the 'rimar" ke"# meaning that e(er"

    student has a so%ia se%urit" num!er and no > are the same.

    To do this# sim' " se e%t the So% Se% &ie d and se e%t the 'rimar" ke" !utton

  • 8/13/2019 LMS Project Report

    23/101

    ha(e something in it# !e%ause it is the rimar" Fe". I& "ou did not set a rimar"

    Fe" then it is 3F.

    Mani/ulatin+ 'ata

    Adding a ne$ ro$ Sim' " dro' do$n to a ne$ ine and enter the in&ormation

    :'dating a re%ord

    Sim' " se e%t the re%ord and &ie d "ou $ant to u'date# and %hange its data $ith

    $hat "ou $ant

    ,e eting a re%ord

    Sim' " %e Se e%ting a (a ue &rom a dro'do$n !o4 $ith a set o& (a ues that "ou

    assign to it. This sa(es "ou &rom t"'ing it in ea%h time

    E4am' e +hoosing a %it" that is either Au!urn# Ba" +it"# * int# Mid and# or

    Sagina$

    S$it%h to ,esign 1ie$

    Se e%t the &ie d "ou $ant to a ter -+it"

    At the !ottom se e%t the Looku' Ta!

    In the ,is' a" +ontro !o4# se e%t +om!o Bo4

    :nder Ro$ Sour%e T"'e# se e%t 1a ue List

    :nder Ro$ Sour%e# enter the (a ues ho$ "ou $ant them dis' a"ed# se'arated !"

    a %o umn. -Au!urn# Ba" +it"# * int# Mid and# Sagina$

    N3TE; This $i not a 'ha!eti5e them &or "ou# so "ou $i ha(e to do that "ourse &.

    It shou d ook something ike this;

    Se e%t in the datasheet (ie$ and "ou shou d see the %hange $hen "ou go to the

    %it" &ie d.

    Relati n%*i/%

    A&ter "ouK(e set u' mu ti' e ta! es in "our Mi%roso&t A%%ess data!ase# "ou need a

    $a" o& te ing A%%ess ho$ to !ring that in&ormation !a%k together again. The &irstste' in this 'ro%ess is to de&ine re ationshi's !et$een "our ta! es. A&ter "ouK(e

    Page 23

  • 8/13/2019 LMS Project Report

    24/101

    done that# "ou %an %reate 7ueries# &orms# and re'orts to dis' a" in&ormation &rom

    se(era ta! es at on%e.

    A re ationshi' $orks !" mat%hing data in ke" &ie ds 2 usua " a &ie d $ith the same

    name in !oth ta! es. In most %ases# these mat%hing &ie ds are the 'rimar" ke"

    &rom one ta! e# $hi%h 'ro(ides a uni7ue identi&ier &or ea%h re%ord# and a &oreign

    ke" in the other ta! e. *or e4am' e# tea%hers %an !e asso%iated $ith the students

    the"Kre res'onsi! e &or !" %reating a re ationshi' !et$een the tea%herKs ta! e and

    the studentKs ta! e using the Tea%herI, &ie ds.

    +ut the entire ro$ and hit the ,e ete Fe" on the ke"!oard

    Re/ rt%

    A re'ort is an e&&e%ti(e $a" to 'resent "our data in a 'rinted &ormat. Be%ause "ou

    ha(e %ontro o(er the si5e and a''earan%e o& e(er"thing on a re'ort# "ou %an

    dis' a" the in&ormation the $a" "ou $ant to see it.

    'ataba%e

    A data!ase is simi ar to a data &i e in that it is a storage ' a%e &or data. Like a data

    &i e# a data!ase does not 'resent in&ormation dire%t " to a user the user runs an

    a'' i%ation that a%%esses data &rom the data!ase and 'resents it to the user in an

    understanda! e &ormat.

    ,ata!ase s"stems are more 'o$er&u than data &i es in that data is more high "

    organi5ed. In a $e 2designed data!ase# there are no du' i%ate 'ie%es o& data that the

    user or a'' i%ation must u'date at the same time. Re ated 'ie%es o& data are grou'ed

    together in a sing e stru%ture or re%ord# and re ationshi's %an !e de&ined !et$een these

    stru%tures and re%ords.

    6hen $orking $ith data &i es# an a'' i%ation must !e %oded to $ork $ith the s'e%i&i%

    stru%ture o& ea%h data &i e. In %ontrast# a data!ase %ontains a %ata og that a'' i%ations

    use to determine ho$ data is organi5ed. Generi% data!ase a'' i%ations %an use the%ata og to 'resent users $ith data &rom di&&erent data!ases d"nami%a "# $ithout !eing

    tied to a s'e%i&i% data &ormat.

    A data!ase t"'i%a " has t$o main 'arts; &irst# the &i es ho ding the 'h"si%a data!ase and

    se%ond# the data!ase management s"stem -,BMS so&t$are that a'' i%ations use to

    a%%ess data. The ,BMS is res'onsi! e &or en&or%ing the data!ase stru%ture# in% uding;

    Maintaining re ationshi's !et$een data in the data!ase.

    Ensuring that data is stored %orre%t "# and that the ru es de&ining datare ationshi's are not (io ated.

    Page 24

  • 8/13/2019 LMS Project Report

    25/101

    Re%o(ering a data to a 'oint o& kno$n %onsisten%" in %ase o& s"stem &ai ures.

    Page 25

  • 8/13/2019 LMS Project Report

    26/101

    R l'$ on'l D'$' '*

    A though there are di&&erent $a"s to organi5e data in a data!ase# re ationa

    data!ases are one o& the most e&&e%ti(e. Re ationa data!ase s"stems are an a'' i%ation

    o& mathemati%a set theor" to the 'ro! em o& e&&e%ti(e " organi5ing data. In a re ationa

    data!ase# data is %o e%ted into ta! es -%a ed re ations in re ationa theor" .

    A ta! e re'resents some % ass o& o!0e%ts that are im'ortant to an organi5ation.

    *or e4am' e# a %om'an" ma" ha(e a data!ase $ith a ta! e &or em' o"ees# another ta! e

    &or %ustomers# and another &or stores. Ea%h ta! e is !ui t o& %o umns and ro$s -%a ed

    attri!utes and tu' es in re ationa theor" . Ea%h %o umn re'resents some attri!ute o& the

    o!0e%t re'resented !" the ta! e. *or e4am' e# an Em' o"ee ta! e $ou d t"'i%a " ha(e

    %o umns &or attri!utes su%h as &irst name# ast name# em' o"ee I,# de'artment# 'a"

    grade# and 0o! tit e. Ea%h ro$ re'resents an instan%e o& the o!0e%t re'resented !" the

    ta! e. *or e4am' e# one ro$ in the Em' o"ee ta! e re'resents the em' o"ee $ho has

    em' o"ee I, ?@ .

    6hen organi5ing data into ta! es# "ou %an usua " &ind man" di&&erent $a"s to

    de&ine ta! es. Re ationa data!ase theor" de&ines a 'ro%ess %a ed norma i5ation# $hi%h

    ensures that the set o& ta! es "ou de&ine $i organi5e "our data e&&e%ti(e ".

    Page 26

  • 8/13/2019 LMS Project Report

    27/101

  • 8/13/2019 LMS Project Report

    28/101

  • 8/13/2019 LMS Project Report

    29/101

    1a idation in%orre%t

    < :ser>

    A%kno$ edgement Re'ort

    ?rd2Le(e ,*, o& ro%ess :ser management

    Page 29

    1.3.5.4

    #er ,!! Delete

    $!ate

    ,!mi%i#trator 1.3.5.1+ogi%

    1.3.5.2ali!ate

    a!mi%i#trator

    1.3.5.3

    #er ma%ageme%t

  • 8/13/2019 LMS Project Report

    30/101

    0%er nter,a e Be*a4i r: In :ser Inter&a%e Beha(ior# State,iagram $i sho$.

    Registration as :ser Load :ser area ogin'age

    Load administrator Area ogin 'age

    Error in In(a id user I,1a idation Entr" o& ogin

    and 'ass$ord and 'ass$ord

    1a idation ok Error in entr" o& ogin user to

    1a idation and 'ass$ord :serarea

    In&ormation o& +ognates Ba%k to detai Sho$ Se e%tion

    1a idation 3k + i%k

    on /ome + i%ked on home!"administrator

    + i%ked to home

    No No No

    Yes Yes Yes

    Page 30

    Conforminput data

    Input new Data

    Save new Data

    User load The system

    User Clic s

    !uthor

    !dd

    In'ut data

    *or"e#istration

    Save useras mem$er

    Update

    Delete

    %alidate

    &oo

    %alidate

    Clic on details 'f User

    !dd

    !dministrator (o#in

    )elcome*a#e

    SaveChan#es

    Delete selected Data

    Input update Data

    Update

    ConformSelected data

    Events

    Select Data

    Details

    Control *anel

    Delete

    %alidate

    %alidate!dministrator

    User area (o#in

    !dd

    Delete

    Update

    Update

    Delete

    !dd

    Update

    User

    !dd Delete

    shops

  • 8/13/2019 LMS Project Report

    31/101

    Pr e%% # +i , ea * m dule: In this# & o$ %harts and 'seudo%ode $

    * o$ %harts and their 'seudo%ode;

    . Re+i%trati n M dule: (Pr e%% ' 5 .;)

    Page 31

    De&a lt $ageor User

    'egi#tratio%

    *tart

    *to$

  • 8/13/2019 LMS Project Report

    32/101

    Re+i%trati n !alidate ,un ti n 5

    , t7t :ser :se rid

    Or

    t7t :ser :ser Q /a%%& rd

    Or

    Message ' ease &i s %orre%t in&ormation 1a idate &a seE se

    1a idate trueEnd i&

    The data entr" &orm %ontains :ser Inter&a%e -te4t !o4 To enter the in&ormation t"'ed !" 0%er .

    1a idationI& (a idate true then Sa(e 0%er as mem!er in 0%er data!ase ta! eE se Send error re'ort# a!out (a idation2&ai ed# to 0%er End i&

    Page 32

    # ali!ate /

    *a e !ata to

    !ata;a#e ta;le Mem;er#

    ,c %o

  • 8/13/2019 LMS Project Report

    33/101

    >>>>>>> -* '>>>>>>>

    oo Ma#ter ( , + )

    Boo? Id NP -

    * '

    oo !

    ooCo!e

    oo Name

    o$ic!

    , thor !P ; !

    !itio%ear

    Me!im

    'ec No.

    7nrollment 3o NP -

  • 8/13/2019 LMS Project Report

    34/101

    Page 34

    *t !e%t Ma#ter ( , + )

    %r No.

    *t !e%t Name

    athar

    Name

    Cla##

    *ectio%,!!re##

    Cit"

    el No.

    'ec

    No.

    P ;li#her Ma#ter ( , + )

    6ub Id NP -

    * '

    P ; Name

    P ; !

    P ; ,!!

    el No

    Cit"

  • 8/13/2019 LMS Project Report

    35/101

    Page 35

    *t !e%t Ma#ter ( , + )

    %r No.

    *t !e%t Name

    athar

    Name

    Cla##

    *ectio%,!!re##

    Cit"

    el No.

    'ec

    No.

    ## eDe$o#it( , + )

    %rollme%t

    oo !

    ## eDate'et r%Date

    'et r%i%e

    Da"#

    7nrollment 3o NP -

    * '

  • 8/13/2019 LMS Project Report

    36/101

    Data structures (Tables) for all the modules

    TAB#E ST0'E$T MASTER

    Field $ame 'ata Ty/e 1idt* , FieldEnro ment - F Num!er Long Integer Stud Name Te4t >Stud*Name Te4t >Stud% ass Num!er >Se%tion Te4t StudTe No Num!er Long Integer

    TAB#E ; BOO8 MASTER

    Field $ame 'ata Ty/e 1idt* , Field

    Book Id - F Num!er Long Integer

    Book+ode Num!er Long Integer

    Book Name Te4t D

    To'i%Id Num!er Long Integer

    AuthorId Num!er Long Integer

    Edition Year Num!er Long Integer

    Is!n Num!er Long Integer

    u! Id Num!er Long Integer

    Sho' Id Num!er Long Integer

    ur,ate ,ate C

    Medium Te4t >D

    Lost Yes=No

    u!LName Te4t >

    u!emai Te4t ?D

    u!Add< Te4t D

    u!Add> Te4t D

    u!+it" Te4t ?D

    u!Te No Num!er Long Integer

    TAB#E S-OP MASTER

    Field $ame'ata Ty/e 1idt* , Field

    Sho'QI, Num!er Long Integer

    Sho'Name Te4t @D

    Sho'*a4No Numger Long Integer

    Sho'emai Num!er Long Integer

    Page 37

  • 8/13/2019 LMS Project Report

    38/101

    Sho'Add< Te4t D

    Sho'Add> Te4t D

    Sho'+it" Te4t ?D

    Sho' hone Num!er Long Integer

    TAB#E TOP C MASTER

    Field $ame'ata Ty/e 1idt* , Field

    To'i%QI, Num!er Long Integer

    To'i% Te4t ?D

    Page 38

  • 8/13/2019 LMS Project Report

    39/101

    TAB#E 0SER MASTER

    Field $ame 'ata Ty/e 1idt* , Field:serQI,< - F Num!er Long Integer :serName< Te4t >D

    ass$ord< Te4t

  • 8/13/2019 LMS Project Report

    40/101

    Main F rm #ibrary Mana+ement Sy%tem

    C de , M' F rm

    K +ode o& M,I *orm3'tion E4' i%it

    ri(ate Su! menua!tQ+ i%k- 6ith A!out&rm

    .To' > DD .Le&t >DDD .Le&t >DDD

    Page 40

  • 8/13/2019 LMS Project Report

    41/101

    .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuAthEditQ+ i%k- 6ith Author&rm .%mdne$.Ena! ed *a se .%mdde .Ena! ed *a se .%mdsa(e.Ena! ed *a se .To' >DDD .Le&t >DDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuAthNe$Q+ i%k- 6ith Author&rm .%mdde .Ena! ed *a se .%mdu'date.Ena! ed *a se .To' >>DD .Le&t >DDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuAth3'nQ+ i%k-

    6ith Author&rm .%mdne$.Ena! ed *a se .%mdu'date.Ena! ed *a se .%mdsa(e.Ena! ed *a se .%mdde .Ena! ed *a se .To' >>DD .Le&t >DDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuBookEditQ+ i%k- 6ith Book&rm .%mdne$!ook.Ena! ed *a se .%mdsa(e!ook.Ena! ed *a se .To' >@DD .Le&t

  • 8/13/2019 LMS Project Report

    42/101

    6ith Book&rm .%mdu'date!ook.Ena! ed *a se .To' >@DD .Le&t @DD .Le&t DDD .Le&t >

  • 8/13/2019 LMS Project Report

    43/101

    End 6ith

    End Su!

    ri(ate Su! Menu3't*ree,a"Q+ i%k- 6ith 3'tion&rm .%mdset&ine.Ena! ed *a se .To' >PDD .Le&t >DDD .Le&t >DDD .Sho$ (!Moda # M,I*orm<

    End 6ith

    End Su!

    ri(ate Su! Menu u!EditQ+ i%k-

    6ith u! isher&rm .%mdne$.Ena! ed *a se .%mdsa(e.Ena! ed *a se .%mdde .Ena! ed *a se .To' >DDD .Le&t >DDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! Menu u!Ne$Q+ i%k-

    6ith u! isher&rm .%mdde .Ena! ed *a se .%mdu'date.Ena! ed *a se .To' >DDD .Le&t >DDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! Menu u!3'nQ+ i%k- 6ith u! isher&rm .%mdne$.Ena! ed *a se

    Page 43

  • 8/13/2019 LMS Project Report

    44/101

    .%mdsa(e.Ena! ed *a se .%mdu'date.Ena! ed *a se .%mdde .Ena! ed *a se .To' >DDD .Le&t >DDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! menur'ta !kQ+ i%k- Re'ortBooks&rm.Sho$ (!Moda # M,I*orm>DD .Le&t >DDD

    .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuSho'EditQ+ i%k-

    6ith Sho'&rm .%mdne$.Ena! ed *a se .%mdsa(e.Ena! ed *a se .%mdde .Ena! ed *a se .To' >>DD .Le&t >DDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuSho'Ne$Q+ i%k-

    6ith Sho'&rm .%mdu'date.Ena! ed *a se .%mdde .Ena! ed *a se .To' >>DD .Le&t >DDD .Sho$ (!Moda # M,I*orm< End 6ith

    Page 44

  • 8/13/2019 LMS Project Report

    45/101

    End Su!

    ri(ate Su! MenuSho'3'nQ+ i%k-

    6ith Sho'&rm .%mdne$.Ena! ed *a se .%mdsa(e.Ena! ed *a se .%mdu'date.Ena! ed *a se .%mdde .Ena! ed *a se .To' >>DD .Le&t >DDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuStudEditQ+ i%k-

    6ith Student&rm .%mdAddne$.Ena! ed *a se .%mdsa(e.Ena! ed *a se .To' CDD .Le&t CDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuStudNe$Q+ i%k-

    6ith Student&rm .%mdu'date.Ena! ed *a se .To' CDD .Le&t CDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuStud3'nQ+ i%k-

    6ith Student&rm .%mdAddne$.Ena! ed *a se .%mdsa(e.Ena! ed *a se .%mdu'date.Ena! ed *a se .To' CDD .Le&t CDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! menustudsa(eQ+ i%k-

    Page 45

  • 8/13/2019 LMS Project Report

    46/101

    6ith Student&rm .%mdu'date.Ena! ed *a se .To' CDD .Le&t CDD .Sho$ (!Moda # M,I*orm< End 6ith

    End Su!

    ri(ate Su! MenuTo'i%EditQ+ i%k-

    6ith To'i%&rm .%mdne$.Ena! ed *a se .%mdsa(e.Ena! ed *a se .%mdde .Ena! ed *a se .To' > DD .Le&t > DD .Le&t >

  • 8/13/2019 LMS Project Report

    47/101

    .Le&t > ass$ord ; .+o 6idth-> D

    K to make heading ro$ !o d

    +a /eadBo d-:ser&rm.* e4Grid:ser# .+o sEnd 6ithEnd Su!

    K Grid o& :ser*orm u! i% Su! * e4Grid:ser*i -

    ,im R As B"te ,im :serRe% As Ne$ A,3,B.Re%ordset ,im ReadRe% As String

    ReadRe% se e%t :serId

  • 8/13/2019 LMS Project Report

    48/101

    .Ro$s :serRe%.Re%ord+ount V <

    6hi e Not :serRe%.E3* R R V < .Te4tMatri4-R# D :serRe%Wuserid< .Te4tMatri4-R# < :serRe%W:serName< .Te4tMatri4-R# > :serRe%W'ass$ord< I& :serRe%.E3* True Then :serRe%.Mo(eLast End I& :serRe%.Mo(eNe4t 6end :serRe%.Mo(eLast Ma4userId :serRe%.*ie ds-D .1a ue V < :serRe%.+ ose

    :ser&rm.t4t:serI,.Te4t Ma4userId

    End 6ith End I& End Su!

    K End o& :serModu e +ode

    +ode o& Main Mddu e

    K +ode o& Main Modu e 3'tion E4' i%it,im gh-

  • 8/13/2019 LMS Project Report

    49/101

    S/la%* S reen

    K +ode o& S' ash *orm3'tion E4' i%it

    ri(ate Su! *ormQ+ i%k- :n oad Me Login&rm.Sho$End Su!

    ri(ate Su! Timer

  • 8/13/2019 LMS Project Report

    50/101

    # +in F rm

    K +ode o& Login *orm3'tion E4' i%it

    ri(ate Su! *ormQLoad- +a Set:ser+onEnd Su!

    ri(ate Su! %md%an%e Q+ i%k-EndEnd Su!

    ri(ate Su! %mdokQ+ i%k-I& t4tuser ogname.Te4t And t4tuser og'$d.Te4t Then MsgBo4 ease &i +om'e ete In&ormation # (!+riti%aEnd I&

    ,im Re%Se% As Ne$ A,3,B.Re%ordset ,im s7 og As String ,im i As Integer ,im & ag As Boo ean

    s7 og SELE+T username

  • 8/13/2019 LMS Project Report

    51/101

    I& Fe"+ode (!Fe"Return Then %mdok.Set*o%us End I&

    End Su!

    ri(ate Su! t4tuser ognmQFe",o$n-Fe"+ode As Integer# Shi&t As Integer I& t4tuser ognm.Te4t Then E4it Su! I& Fe"+ode (!Fe"Return Then t4tuser og'sd.Set*o%us End I&

    End Su!

    K End o& Login *orm

    %%ue 'e/ %it F rm

    C de , %%ue 'e/ %it F rm

    K +ode o& Issue ,e'osit *orm

    3'tion E4' i%itri(ate Su! %md% oseQ+ i%k-

    Page 51

  • 8/13/2019 LMS Project Report

    52/101

    :n oad MeEnd Su!

    K +ode &or Sa(e Re%ordri(ate Su! %mdsa(eQ+ i%k-

    ,im s7 As String

    I& 3'tIssue.1a ue True Then s7 insert into Issue,e'osit -Enro ment#Bookid#Issue,ate#Return X Q (a ues - X t4tEnrNo X # X t4t!ookId X #K X ,T BkIssue,ate.1a ue X

    K# X Q o'tno.1a ue X

    :ser+on.E4e%ute s7 +a & e4grid&i sear%h

    E se

    s7 u'date Issue,e'osit set Return,ate K X ,T BkReturn,ate.1a ue XK#Return X o't"es.1a ue X # X Q

    ,a"s X t4tda"s.Te4t X # &ine X Q t4t&ine.Te4t X $here enro ment X t4tEnrNo.Te4t X !ookId X Q t4t!ookId.Te4t X and Return *a se :ser+on.E4e%ute s7 +a & e4grid&i sear%h End I& End Su!K

    ri(ate Su! ,T BkReturn,ateQLost*o%us- t4tda"s.Te4t ,T BkReturn,ate.1a ue 2 ,T BkIssue,ate.1a ueEnd Su!

    ri(ate Su! *ormQLoad- +a & e4grid&i sear%hEnd Su!

    K +ode &or *i * e4Grid

    ri(ate Su! & e4grid&i sear%h- ,im rsRe% As Ne$ A,3,B.Re%ordset ,im i As Integer ,im s7 As String i D 6ith * e4GridIss,e' .Te4tMatri4-i# D Enro ment No. ; .+o 6idth-D

  • 8/13/2019 LMS Project Report

    53/101

  • 8/13/2019 LMS Project Report

    54/101

    End I& End I& End I& End Su!

    ri(ate Su! t4tEnrNoQ ost&o%us-,e!ug. rint 3'tIssue.1a ueI& 3'tIssue.1a ue True Then ,im re% As Ne$ A,3,B.Re%ordset ,im s7 As String

    s7 se e%t stud&name &rom studentmaster $here enro ment Xt4tEnrNo.Te4t X re%.3'en s7 # :ser+on# ad3'enStati%

    I& re%.Re%ord+ount U D Then

    t4tStudName.Te4t re%Wstud&name E se MsgBo4 Enro ment No. Not *ound t4tStudName.Te4t End I& End I& End Su!

    ri(ate Su! t4t!ookIdQ ost&o%us-I& 3'tIssue.1a ue True Then ,im re% As Ne$ A,3,B.Re%ordset

    ,im s7 As String

    s7 se e%t BookName &rom Bookmaster $here BookId X t4t!ookId.Te4t X

    re%.3'en s7 # :ser+on# ad3'enStati%

    I& re%.Re%ord+ount U D Then ! !ookname.+a'tion ! !ookname.+a'tion X X Mid-re%W!ookname# D ! !ookname.+a'tion :+ase- ! !ookname.+a'tion E se MsgBo4 Book No. Not *ound End I& End I& End Su!

    K ri(ate Su! t4tBookId,e'Q ost&o%us- I& 3't,e'osit.1a ue True Then ,im re% As Ne$ A,3,B.Re%ordset ,im s7 As String

    s7 se e%t stud&name#!ookId &orm studentmaster $here !ookId Xt4t!ookId.Te4t X and enro ment X t4tEnrNo.Te4t X re%.3'en s7 # :ser+on# ad3'enStati%

    I& re%.Re%ord+ount U D Then

    Page 54

  • 8/13/2019 LMS Project Report

    55/101

    t4tStudName.Te4t re%Wstud&name E se MsgBo4 Enro ment No. Not *ound t4tStudName.Te4t End I& End I& End Su!

    K 3n " num!er (a ue enter in Enro ment no Te4t Bo4 ri(ate Su! t4tenrnoQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K 3n " num!er (a ue enter in Book Id Te4t Bo4 ri(ate Su! t4t!ookidQFe" ress-Fe"As%ii As Integer I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K 3n " num!er (a ue enter in !ook id ,e'osit Te4t Bo4 ri(ate Su! t4t!ookid,e'QFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then

    Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K End o& Issue,e'osit *orm

    B 2 Ma%ter F rm

    Page 55

  • 8/13/2019 LMS Project Report

    56/101

    C de , B 2 Ma%ter F rm

    +ode o& Book *orm3'tion E4' i%it

    u! i% BookRe%No As Long

    ri(ate Su! %md% oseQ+ i%k- :n oad MeEnd Su!

    ri(ate Su! *ormQLoad- +a %md*irstQ+ i%kEnd Su!

    K +ode &or + ear Te4t &or Ne$ Entr"ri(ate Su! %mdne$!ookQ+ i%k-

    %mdsa(e!ook.Ena! ed True t4t!kId.Te4t t4t!k%ode.Te4t t4t!kname.Te4t t4t!kto'i%Id.Te4t t4t!kauthI,.Te4t t4t!kedn"r.Te4t t4t!kis!n.Te4t t4t!k'u!Id.Te4t t4t!ksho'Id.Te4t t4t!k'ri%e.Te4t t4t!kre%kno.Te4t

    End Su!

    Page 56

  • 8/13/2019 LMS Project Report

    57/101

    K

    K +ode o& Sa(e Re%ordri(ate Su! %mdsa(e!ookQ% i%k-

    ,im s7 !ksa(e As String ,im tm' ost As Boo ean

    I& t4t!kId.Te4t 3r t4t!kauthI,.Te4t 3r t4t!kname.Te4t 3rt4t!kto'i%Id.Te4t 3r t4t!kauthI,.Te4t 3r t4t!kedn"r.Te4t 3rt4t!kis!n.Te4t 3r t4t!k'u!Id.Te4t 3r t4t!k'u!Id.Te4t 3rt4t!ksho'Id.Te4t 3r t4t!k'ri%e.Te4t 3r t4t!kre%kno.Te4t Then MsgBo4 ease *i A In&ormation # (!In&ormation# In%om' ete In&ormation t4t!kId.Set*o%us E se I& o't"es.1a ue Then tm' ost o't"es.1a ue E se

    tm' ost o'tno.1a ue End I&

    s7 !ksa(e insert into!ookmaster-!ookid#!ook%ode#!ookname#to'i%id#authorid# X Q edition"ear#is!n#'u!id#sho'id#'urdate#medium# X Q ost#'ri%e#re%kno X Q (a ues- X t4t!kId.Te4t X # X t4t!k%ode.Te4t X #K X Q t4t!kname.Te4t X K# X t4t!kto'i%Id.Te4t X # X Q t4t!kauthI,.Te4t X # X t4t!kedn"r.Te4t X # X Q t4t!kis!n.Te4t X # X t4t!k'u!Id.Te4t X # X Q

    t4t!ksho'Id.Te4t X # K X Q ,T !k'urdate.1a ue X K# K X %m!medm.Te4t X K# X Q tm' ost X # X t4t!k'ri%e.Te4t X # K X Q t4t!kre%kno.Te4t X K

    :ser+on.E4e%ute s7 !ksa(e +a %mdne$!ookQ+ i%k

    End I&

    End Su!K

    K +ode o& :'date Re%ordri(ate Su! %mdu'date!ookQ+ i%k-

    ,im s7 As String

    s7 u'date !ookmaster set X Q !ookname K X t4t!kname X K# to'i%Id X t4t!kto'i%Id.Te4t X # X Q authorId X t4t!kauthI,.Te4t X # Edition"ear X t4t!kedn"r.Te4t X # X

    Q Is!n X t4t!kis!n.Te4t X # 'u!Id X t4t!k'u!Id.Te4t X # X Q sho'Id X t4t!ksho'Id.Te4t X # 'urdate K X ,T !k'urdate.1a ue X K#X Q medium K X %m!medm.Te4t X K#'ri%e X t4t!k'ri%e.Te4t X # X Q re%kno K X t4t!kre%kno.Te4t X K $here !ookId X t4t!kId.Te4t X

    Page 57

  • 8/13/2019 LMS Project Report

    58/101

    :ser+on.E4e%ute s7

    +a %mdNe4tQ+ i%k

    End Su!K

    ri(ate Su! %md*irstQ+ i%k- BookRe%No D +a Sho$BookRe%-BookRe%NoEnd Su!

    K +ode o& Goto re(iousri(ate Su! %md re(iousQ+ i%k-

    ,im re% As Ne$ A,3,B.Re%ordset

    re%.3'en se e%t &rom !ookmaster order !" BookI, # :ser+on# ad3'enStati% BookRe%No BookRe%No 2 <

    I& BookRe%No D Then BookRe%No D End I&

    +a Sho$BookRe%-BookRe%No

    End Su!K

    K +ode &or Goto Ne4t Re%ordri(ate Su! %mdNe4tQ+ i%k-

    ,im re% As Ne$ A,3,B.Re%ordset

    re%.3'en se e%t &rom !ookmaster order !" BookI, # :ser+on# ad3'enStati%

    BookRe%No BookRe%No V < I& BookRe%No U re%.Re%ord+ount Then BookRe%No re%.Re%ord+ount 2 < End I&

    +a Sho$BookRe%-BookRe%No

    End Su!K

    K +ode &or Goto Last Re%ordri(ate Su! %mdLastQ+ i%k-

    ,im re% As Ne$ A,3,B.Re%ordset re%.3'en se e%t &rom !ookmaster order !" BookI, # :ser+on# ad3'enStati% BookRe%No re%.Re%ord+ount 2 <

    +a Sho$BookRe%-BookRe%NoEnd Su!K

    Page 58

  • 8/13/2019 LMS Project Report

    59/101

    K +omman *un%tion &or Sho$ Re%ordu! i% Su! Sho$BookRe%-B"Re& RNo As Long

    ,im re% As Ne$ A,3,B.Re%ordset re%.3'en se e%t &rom !ookmaster order !" BookI, # :ser+on# ad3'enStati%

    I& RNo U 2< Then %mdsa(e!ook.Ena! ed *a se

    End I& I& re%.Re%ord+ount U D Then

    I& re%.E3* True Then RNo re%.Re%ord+ount 2 < End I&

    re%.Mo(e RNo t4t!kId.Te4t re%W!ookid t4t!k%ode.Te4t re%W!ook%ode t4t!kname.Te4t re%W!ookname t4t!kto'i%Id.Te4t re%Wto'i%id t4t!kauthI,.Te4t re%WAuthorId t4t!kedn"r.Te4t re%Wedition"ear t4t!kis!n.Te4t re%WIs!n t4t!k'u!Id.Te4t re%W u!Id t4t!ksho'Id.Te4t re%Wsho'id ,T !k'urdate.1a ue re%W'urdate %m!medm.Te4t re%Wmedium

    I& re%W ost True Then

    o't"es.1a ue True E se o'tno.1a ue True End I&

    t4t!k'ri%e.Te4t re%W'ri%e t4t!kre%kno.Te4t re%Wre%kno

    End I&

    End Su!K

    K 3n " num!er (a ue enter in AuthorId Te4t Bo4 ri(ate Su! t4t!kauthIdQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    Page 59

  • 8/13/2019 LMS Project Report

    60/101

    K 3n " num!er (a ue enter in !ook %ode Te4t Bo4 ri(ate Su! t4t!k%odeQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K 3n " num!er (a ue enter in Edition Year Te4t Bo4 ri(ate Su! t4t!kedn"rQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!

    K

    K 3n " num!er (a ue enter in !ook id te4t !o4

    ri(ate Su! t4t!kIdQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!

    K

    K 3n " num!er (a ue enter in Is!n No Te4t Bo4 ri(ate Su! t4t!kis!nQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K 3n " num!er (a ue enter in 'ri%e Te4t Bo4 ri(ate Su! t4t!k'ri%eQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K 3n " num!er (a ue enter in u! isher Id Te4t Bo4 ri(ate Su! t4t!k'u!IdQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then

    Page 60

  • 8/13/2019 LMS Project Report

    61/101

    Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K 3n " num!er (a ue enter in sho' Id Te4t Bo4 ri(ate Su! t4t!ksho'IdQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K 3n " num!er (a ue enter in To'i% Id Te4t Bo4 ri(ate Su! t4t!kto'i%IdQFe" ress-Fe"As%ii As Integer I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K End Book *orm

    Aut* r F rm

    Page 61

  • 8/13/2019 LMS Project Report

    62/101

    Co!e o& , thor orm

    K %ode o& Author *orm

    3'tion E4' i%it,im gh-

  • 8/13/2019 LMS Project Report

    63/101

    t4tauth&name.Te4t t4tauth name.Te4t t4tauthemai .Te4t t4tauthte no.Te4t t4tauthadd.Te4t t4tauth%it".Te4t

    End Su!K

    K +ode *or Sa(e Re%ord ri(ate Su! %mdsa(eQ+ i%k-

    ,im s7 sa(e As String,im rsAuth As Ne$ A,3,B.Re%ordset

    s7 sa(e se e%t AuthorId &rom authormaster $here authorid X t4tauthId.Te4tX rsAuth.3'en s7 sa(e# :ser+on# ad3'enStati%

    I& rsAuth.Re%ord+ount U D Then MsgBo4 ,u' i%ate Re%ord E4it Su!End I&

    I& t4tauthId.Te4t 3r t4tauth&name.Te4t 3r t4tauth name.Te4t 3rt4tauth%it".Te4t Then

    MsgBo4 ease *i A In&o. # (!In&ormation# In%om' ete In&o. t4tauthId.Set*o%usE se s7 sa(e insert into Authormaster-AuthorId# X Q Author&name#Author name#Authoremai #AuthorTe no# X Q Authoradd#Author%it" X Q (a ues- X t4tauthId X #K X t4tauth&name X K#K X t4tauth name X K#K Xt4tauthemai X K#K X t4tauthte no X K#K X t4tauthadd< X K#K X t4tauthadd> X K# K Xt4tauth%it" X K

    :ser+on.E4e%ute s7 sa(e

    +a %mdne$Q+ i%k

    ,im s7 As Strings7 se e%t &rom authormaster order !" AuthorI,*i grid * e4GridAuth# s7 # C

    End I&

    End Su!K

    K +ode &or :'date Re%ord ri(ate Su! %mdu'dateQ+ i%k-

    ,im s7 As String

    Page 63

  • 8/13/2019 LMS Project Report

    64/101

    s7 u'date Authormaster set X Q Author&name K X t4tauth&name X K# Author name K X t4tauth name X K# X Q Authoremai K X t4tauthemai X K# AuthorTe no K X t4tauthte no X K# X Q Authoradd< K X t4tauthadd< X K# Authoradd> K X t4tauthadd> X K# X Q Author%it" K X t4tauth%it" X K $here AuthorId X t4tauthId.Te4t X

    :ser+on.E4e%ute s7

    s7 se e%t &rom authormaster order !" AuthorI,*i grid * e4GridAuth# s7 # C

    End Su!

    KK +ode &or &i * e4grid

    ri(ate Su! * e4GridAuthQSe +hange- 6ith * e4GridAuth t4tauthId .Te4tMatri4-.Ro$# D t4tauth&name .Te4tMatri4-.Ro$# < t4tauth name .Te4tMatri4-.Ro$# > t4tauthemai .Te4tMatri4-.Ro$# ? t4tauthadd< .Te4tMatri4-.Ro$# @ t4tauthadd> .Te4tMatri4-.Ro$# t4tauth%it" .Te4tMatri4-.Ro$#

    t4tauthte no .Te4tMatri4-.Ro$# P

    End 6ithEnd Su!K

    ri(ate Su! *ormQLoad-+a %mdne$Q+ i%k

    K +ode &or Set /eading o& * e4grid6ith * e4GridAuth K.+ ear .Te4tMatri4-D# D AuthorId ; .+o 6idth-D Last Name ; .+o 6idth->

  • 8/13/2019 LMS Project Report

    65/101

    ,im s7 As String s7 se e%t &rom authormaster order !" AuthorI,

    *i grid * e4GridAuth# s7 # C

    End Su!

    K +ode &or on " num!er (a ue enter in AuthorId Te4tBo4 ri(ate Su! t4tauthIdQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K +ode &or on " num!er (a ue enter in Te No Te4t Bo4

    ri(ate Su! t4tauthte noQFe" ress-Fe"As%ii As Integer I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K End o& Author &orm %ode

    Page 65

  • 8/13/2019 LMS Project Report

    66/101

    Publi%*er F rm

    C de , Publi%*er F rm

    K +ode o& u! isher *orm3'tion E4' i%it,im gh-

  • 8/13/2019 LMS Project Report

    67/101

    ,im rs'u! As Ne$ A,3,B.Re%ordset

    s7 sa(e se e%t u!Id &rom 'u! ishermaster $here 'u!id X t4t'u!Id.Te4t X

    rs'u!.3'en s7 sa(e# :ser+on# ad3'enStati%

    I& rs'u!.Re%ord+ount U D Then MsgBo4 ,u' i%ate Re%ord E4it Su!End I& I& t4t'u!Id.Te4t 3r t4t'u!&name.Te4t 3r t4t'u! name.Te4t 3rt4t'u!%it".Te4t Then MsgBo4 ease *i A In&o. # (!In&ormation# In%om' ete In&o. t4t'u!Id.Set*o%usE ses7 sa(e insert into 'u! ishermaster-'u!Id# X Q

    'u!&name#'u! name#'u!emai #'u!Te no# X Q 'u!add X K# 'u!%it" K X t4t'u!%it" X K# X Q 'u!te no X t4t'u!te no X $here 'u!Id X t4t'u!Id.Te4t X

    :ser+on.E4e%ute s7 u'date

    ,im s7 u As Strings7 u se e%t &rom 'u! ishermaster order !" 'u!Id*i grid * e4Grid u!# s7 u# C

    End Su!

    ri(ate Su! * e4Grid u!QSe +hange-

    6ith * e4Grid u!

    Page 67

  • 8/13/2019 LMS Project Report

    68/101

    t4t'u!Id .Te4tMatri4-.Ro$# D t4t'u!&name .Te4tMatri4-.Ro$# < t4t'u! name .Te4tMatri4-.Ro$# > t4t'u!emai .Te4tMatri4-.Ro$# ? t4t'u!add< .Te4tMatri4-.Ro$# @ t4t'u!add> .Te4tMatri4-.Ro$# t4t'u!%it" .Te4tMatri4-.Ro$# t4t'u!te no .Te4tMatri4-.Ro$# P

    End 6ith

    End Su!

    ri(ate Su! *ormQLoad-

    K+a Set:ser+on+a %mdne$Q+ i%k

    6ith * e4Grid u!K .+ ear .Te4tMatri4-D# D u!isherId ; .+o 6idth-D DD .Te4tMatri4-D# < *irst Name ; .+o 6idth-< < DD .Te4tMatri4-D# > Last Name ; .+o 6idth->

  • 8/13/2019 LMS Project Report

    69/101

    Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K End o& u! isher *orm

    S* /8ee/er 'atail F rm

    C de , S* /2ee/er F rm

    K +ode o& sho' *orm 3'tion E4' i%it,im gh-

  • 8/13/2019 LMS Project Report

    70/101

    t4tsho'emai .Te4t t4tsho'add

  • 8/13/2019 LMS Project Report

    71/101

    sho'add< K X t4tsho'add< X K# sho'add> K X t4tsho'add>.Te4t X K# X Q sho'%it" K X t4tsho'%it" X K $here sho'Id X t4tsho'Id

    :ser+on.E4e%ute s7 u'date

    ,im s7 u As Strings7 u se e%t &rom sho'master order !" sho'Id*i grid * e4Gridsho'# s7 u# C

    End Su!K

    K +ode &or Se e%t an" Re%ord in * e4grid and *i * e4gridri(ate Su! * e4Gridsho'QSe +hange-

    6ith * e4Gridsho' t4tsho'Id .Te4tMatri4-.Ro$# D

    t4tsho'name .Te4tMatri4-.Ro$# < t4tsho'&a4 .Te4tMatri4-.Ro$# > t4tsho'emai .Te4tMatri4-.Ro$# ? t4tsho'add< .Te4tMatri4-.Ro$# @ t4tsho'add> .Te4tMatri4-.Ro$# t4tsho'%it" .Te4tMatri4-.Ro$# t4tsho'te no .Te4tMatri4-.Ro$# P

    End 6ith

    End Su!K

    ri(ate Su! *ormQLoad-

    K+a Set:ser+on+a %mdne$Q+ i%k

    K Set /eading o& * e4gird6ith * e4Gridsho'K .+ ear .Te4tMatri4-D# D Sho' Id ; .+o 6idth-D

  • 8/13/2019 LMS Project Report

    72/101

    End Su!K

    K 3n " num!er (a ue enter in sho' &a4 no Te4t Bo4 ri(ate Su! t4tsho'&a4QFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K 3n " num!er (a ue enter in sho' Id Te4t Bo4 ri(ate Su! t4tsho'IdQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then

    Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K

    K 3n " num!er (a ue enter in sho' te no Te4t Bo4 ri(ate Su! t4tsho'te noQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter

    End I& End Su!K End o& Sho' *orm

    Page 72

  • 8/13/2019 LMS Project Report

    73/101

    0%er 'etail F rm

    C de , 0%er F rm

    K +ode o& :ser *orm3'tion E4' i%it

    ,im Ma4userId As Long

    KK . . . . . . . . . . . . . . . . . . . . . . .

    ri(ate Su! *ormQLoad-

    K +a Set:ser+on +a * e4Grid:ser/ead +a * e4Grid:ser*i K t4t:serI,.Te4t Ma4userId End Su!KK . . . . . . . . . . . . . . . . . . . . . . .

    ri(ate Su! *ormQFe",o$n-Fe"+ode As Integer# Shi&t As Integer I& Fe"+ode (!Fe"Es%a'e Then :n oad Me End I& End Su!

    ri(ate Su! %mdNe$:serQ+ i%k-KTo + ear the Te4t Bo4es t4t:serI, Ma4userId t4t:serName t4t ass$ord

    Page 73

  • 8/13/2019 LMS Project Report

    74/101

    %mdModi&":ser.Ena! ed *a se %md,e ete:ser.Ena! ed *a se t4t:serName.Set*o%usEnd Su!

    ri(ate Su! %mdSa(e:serQ+ i%k-

    ,im i As Integer ,im Sa(e:serRe% As String I& t4t:serI,.Te4t 3r t4t:serName.Te4t 3r t4t ass$ord.Te4t Then MsgBo4 Enter +om' ete In&ormation # (!In&ormation# Em't" *ie d E se

    6ith * e4Grid:ser *or i < To .Ro$s 2 < I& t4t:serI,.Te4t .Te4tMatri4-i# D Then MsgBo4 ,u' %ate Re%ord +a %mdNe$:serQ+ i%k

    E4it Su! End I& Ne4t

    Sa(e:serRe% insert into usermaster-:serId

  • 8/13/2019 LMS Project Report

    75/101

    t4t:serName.Lo%ked *a se t4t:serI,.Lo%ked *a seEnd Su!

    ri(ate Su! %md,e ete:serQ+ i%k-

    ,im Read:serRe% As Ne$ A,3,B.Re%ordset,im ,e :serRe% As String

    ,e :serRe% de ete &rom usermaster $here X Q userid< X * e4Grid:ser.Te4tMatri4-* e4Grid:ser.Ro$# D X

    6ith * e4Grid:ser I& .Ro$ U < Then Read:serRe%.3'en ,e :serRe%# :ser+on# ad3'en,"nami% :ser+on.E4e%ute ,e :serRe% .Remo(eItem .Ro$ End I&

    End 6ith +a %mdNe$:serQ+ i%k

    End Su!

    ri(ate Su! * e4Grid:serQSe %hange-

    6ith * e4Grid:ser I& .Ro$ < Then t4t:serName.Lo%ked True t4t:serName.Lo%ked True

    t4t:serI,.Te4t .Te4tMatri4-.Ro$# D

    t4t:serName.Te4t .Te4tMatri4-.Ro$# < t4t ass$ord.Te4t .Te4tMatri4-.Ro$# >

    %mdModi&":ser.Ena! ed True %md,e ete:ser.Ena! ed *a se End I&

    I& * e4Grid:ser.Ro$ U < Then %mdModi&":ser.Ena! ed True %md,e ete:ser.Ena! ed True t4t:serI, .Te4tMatri4-* e4Grid:ser.Ro$# D t4t:serName .Te4tMatri4-* e4Grid:ser.Ro$# < t4t ass$ord .Te4tMatri4-* e4Grid:ser.Ro$# > End I& End 6ith End Su!

    K End o& :ser *orm

    Page 75

  • 8/13/2019 LMS Project Report

    76/101

    T /i F rm

    C de , T /i F rm

    K +ode o& To'i% *orm3'tion E4' i%it

    ri(ate Su! %mdde Q+ i%k-

    :ser+on.E4e%ute de ete &rom To'i%master $here To'i%Id X t4tTo'i%Id.Te4t X

    * e4GridTo'i%.Remo(eItem -* e4GridTo'i%.Ro$

    End Su!

    ri(ate Su! %mdne$Q+ i%k-t4tTo'i%Id.Te4t t4tTo'i%.Te4t End Su!

    ri(ate Su! %mdsa(eQ+ i%k- ,im s7 sa(e As String ,im rsTo'i% As Ne$ A,3,B.Re%ordset

    s7 sa(e se e%t To'i%Id &rom To'i%master $here To'i%id X t4tTo'i%Id.Te4t X

    rsTo'i%.3'en s7 sa(e# :ser+on# ad3'enStati%

    I& rsTo'i%.Re%ord+ount U D Then MsgBo4 ,u' i%ate Re%ord E4it Su!End I&

    Page 76

  • 8/13/2019 LMS Project Report

    77/101

    I& t4tTo'i%Id.Te4t 3r t4tTo'i%.Te4t Then MsgBo4 ease *i A In&o. # (!In&ormation# In%om' ete In&o. t4tTo'i%Id.Set*o%usE ses7 sa(e insert into to'i%master-to'i%Id# X Q to'i% X Q (a ues- X t4tTo'i%Id X #K X t4tTo'i% X K :ser+on.E4e%ute s7 sa(e

    +a %mdne$Q+ i%k

    ,im s7 As Strings7 se e%t &rom To'i%master order !" To'i%Id*i grid * e4GridTo'i%# s7 # >

    End I& End Su!

    ri(ate Su! %mdu'dateQ+ i%k-,im s7 u'date As String

    s7 u'date u'date to'i%master set X Q to'i% K X t4tTo'i% X K $here to'i%Id X t4tTo'i%Id

    :ser+on.E4e%ute s7 u'date

    ,im s7 u As Strings7 u se e%t &rom To'i%master order !" To'i%Id*i grid * e4GridTo'i%# s7 u# >

    End Su!

    ri(ate Su! * e4GridTo'i%QSe +hange- 6ith * e4GridTo'i%

    t4tTo'i%Id .Te4tMatri4-.Ro$# D t4tTo'i% .Te4tMatri4-.Ro$# <

    End 6ithEnd Su!

    ri(ate Su! *ormQLoad-K+a Set:ser+on+a %mdne$Q+ i%k

    6ith * e4GridTo'i% .+ ear .Te4tMatri4-D# D To'i%Id ; .+o 6idth-D

  • 8/13/2019 LMS Project Report

    78/101

    End 6ith

    ,im s7 As String s7 se e%t &rom To'i%master order !" To'i%Id

    *i grid * e4GridTo'i%# s7 # > End Su!

    K 3n " num!er (a ue enter in to'i% id Te4t Bo4 ri(ate Su! t4tTo'i%IdQFe" ress-Fe"As%ii As Integer

    I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I&

    End Su!K End o& To'i% *orm

    Page 78

  • 8/13/2019 LMS Project Report

    79/101

  • 8/13/2019 LMS Project Report

    80/101

    s7 sa(e se e%t Enro ment &rom studentmaster $here Enro ment Xt4tstuderno.Te4t X rsStud.3'en s7 sa(e# :ser+on# ad3'enStati%

    I& rsStud.Re%ord+ount U D Then MsgBo4 ,u' i%ate Re%ord E4it Su!End I&

    I& t4tstuderno.Te4t 3r t4tstudname.Te4t 3r t4tstud&name.Te4t 3rt4tstud%it".Te4t Then MsgBo4 ease *i A In&o. # (!In&ormation# In%om' ete In&o. t4tstuderno.Set*o%usE ses7 sa(e insert into studentmaster-enro ment# X Q studname#stud&name#stud% ass#studse%tion#%autionmone"# X Q

    studadd#stud%it"#studte no X Q (a ues- X t4tstuderno X #K X t4tstudname X K#K X t4tstud&name X K#K X%m!% ass X K#K X %m!se%tion X K# X t4tstud%m X #K X t4tstudadd< X K#K Xt4tstudadd> X K#K X t4tstud%it" X K#K X t4tstudte no X K :ser+on.E4e%ute s7 sa(e+a %mdAddne$Q+ i%k

    ,im s7 s As Strings7 s se e%t &rom studentmaster order !" Enro ment*i grid * e4GridStud# s7 s#

  • 8/13/2019 LMS Project Report

    81/101

    t4tstuderno.Te4t .Te4tMatri4-.Ro$# D t4tstudname.Te4t .Te4tMatri4-.Ro$# < t4tstud&name.Te4t .Te4tMatri4-.Ro$# > %m!% ass.Te4t .Te4tMatri4-.Ro$# ? %m!se%tion.Te4t .Te4tMatri4-.Ro$# @ t4tstud%m.Te4t .Te4tMatri4-.Ro$# t4tstudadd.Te4t .Te4tMatri4-.Ro$# P t4tstud%it".Te4t .Te4tMatri4-.Ro$# C t4tstudte no.Te4t .Te4tMatri4-.Ro$#

    End 6ithEnd Su!

    ri(ate Su! *ormQLoad- K +a Set:ser+on +a %mdAddne$Q+ i%k

    6ith * e4GridStudK .+ ear .Te4tMatri4-D# D Enro ment No. ; .+o 6idth-D < DD .Te4tMatri4-D# < Student Name ; .+o 6idth-< < DD .Te4tMatri4-D# > *ather Name ; .+o 6idth->

  • 8/13/2019 LMS Project Report

    82/101

    End I& End Su!K 3n " num!er (a ue enter in te no Te4t Bo4

    ri(ate Su! t4tstudte noQFe" ress-Fe"As%ii As Integer I& Fe"As%ii U P 3r Fe"As%ii @C Then Fe"As%ii D MsgBo4 3n " Num!er 1a ue Enter End I& End Su!K End %ode o& student *orm

    Sear *in+ F rm

    C de , Sear *in+ F rmK +ode o& Sear%hing *orm

    3'tion E4' i%itri(ate Su! %mdSear%hQ+ i%k-

    ,im rsRe% As Ne$ A,3,B.Re%ordset,im s7 As String,im *indRe% As Boo ean,im +/eader As +o umn/eader K Sear%hing &or Book Name#Author Name# u! isherName#Edition#Re%k No. I& o'tBkName.1a ue True Then s7 se e%t Bookname# authorid# 'u!id# Re%kNo#edition"ear &rom!ookmaster $here !ookname K X t4tBookName.Te4t X K

    L1sear%h.+o umn/eaders.+ ear Set +/eader L1sear%h.+o umn/eaders.Add-

  • 8/13/2019 LMS Project Report

    83/101

    Set +/eader L1sear%h.+o umn/eaders.Add-># # Author # < DD Set +/eader L1sear%h.+o umn/eaders.Add-?# # u! isher # < DD Set +/eader L1sear%h.+o umn/eaders.Add-@# # Re%k No # # # Book Name # >>DDK K Sea%hing Book Name and Issue ,ate i& enter the Name o& Student

    E seI& o'tStudName.1a ue True Then s7 se e%t!ookmaster.!ookname#issuede'osit.issuedate#issuede'osit.enro ment &rom!ookmaster#issuede'osit $here issuede'osit.!ookid !ookmaster.!ookid andreturn &a se L1sear%h.+o umn/eaders.+ ear Set +/eader L1sear%h.+o umn/eaders.Add- DD Set +/eader L1sear%h.+o umn/eaders.Add-># # Issue ,ate # < DD Set +/eader L1sear%h.+o umn/eaders.Add-?# # Enro No # >>DDK

    Page 83

  • 8/13/2019 LMS Project Report

    84/101

    K Sear%hing ,etai o& Student i& enter Enro ment no o& Student E seI& o'tEnro ment.1a ue True Then

    s7 se e%t Studname# Stud&name# stud% ass#studse%tion#%autionmone"#studadd#stud%it"#studte no &romstudentmaster $here enro ment X t4tStudErno.Te4t X L1sear%h.+o umn/eaders.+ ear Set +/eader L1sear%h.+o umn/eaders.Add-DDD Set +/eader L1sear%h.+o umn/eaders.Add-?# # + ass # DD Set +/eader L1sear%h.+o umn/eaders.Add-@# # Se%tion # DD Set +/eader L1sear%h.+o umn/eaders.Add- # # +au.Mone" # DD Set +/eader L1sear%h.+o umn/eaders.Add- # # Address< # >DDD Set +/eader L1sear%h.+o umn/eaders.Add-P# # Address> # >DDD Set +/eader L1sear%h.+o umn/eaders.Add-C# # Stud+it" # < DD Set +/eader L1sear%h.+o umn/eaders.Add- # # hone No. # >DDD

    End I& K

    rsRe%.3'en s7 # :ser+on# ad3'enStati% I& rsRe%.Re%ord+ount U D Then *indRe% True E se *indRe% *a se

    I& *indRe% True Then rsRe%.+ ose

    *i L(Sear%h s7 E se MsgBo4 Re%ord Not *ound

    rsRe%.+ ose End I& End Su!K *u%tion &or &i List1ie$ Sea%hing Resu t

    u! i% Su! *i L(Sear%h-B"1a s7 As String ,im Re%Sear%h As Ne$ A,3,B.Re%ordset ,im i As Long# 0 As Long ,im LItem As ListItem Re%Sear%h.3'en s7 # :ser+on# ad3'enStati% L1sear%h.ListItems.+ ear *or i D To Re%Sear%h.Re%ord+ount 2 < Set LItem L1sear%h.ListItems.Add

    LItem.Te4t Re%Sear%h.*ie ds-D

    I& Re%Sear%h.*ie ds.+ount U < Then *or 0 < To Re%Sear%h.*ie ds.+ount 2 < LItem.Su!Items-0 Re%Sear%h.*ie ds-0 Ne4t End I& Ne4t Re%Sear%h.+ oseEnd Su!

    Page 84

  • 8/13/2019 LMS Project Report

    85/101

    K End o& *un%tion

    ri(ate Su! +ommand

  • 8/13/2019 LMS Project Report

    86/101

    REPORTS

    Re/ rt B 2% F rm

    C de , Re/ rt B 2% F rm

    K Re'ort A X To'i% $ise Book *orm3'tion E4' i%it

    ri(ate Su! %m!to'i%QLost*o%us- ! /eading.+a'tion %m!to'i%.Te4t X 6ISE LIST... End Su!

    ri(ate Su! %mdsear%hQ+ i%k-,im s7 As String ,im i As Long ,im rsRe% As Ne$ A,3,B.Re%ordset

    * e4GridBooksR't.+ ear 6ith * e4GridBooksR't

    .Te4tMatri4-D# D Book Name ; .+o 6idth-D >DDD .Te4tMatri4-D# < Book Id ; .+o 6idth-< CDD .Te4tMatri4-D# > Author Name ; .+o 6idth-> >>DD .Te4tMatri4-D# ? Edition Year ; .+o 6idth-?

  • 8/13/2019 LMS Project Report

    87/101

    .Te4tMatri4-D# To'i% Name ; .+o 6idth- > DD

    End 6ith

    I& 3'tto'i%.1a ue True Then s7 SELE+T !ookmaster.!ookname# !ookmaster.edition"ear#!ookmaster.medium# Authormaster.author&name# to'i%master.to'i% X Q *rom !ookmaster# Authormaster# to'i%master $here !ookmaster.authorid

    Authormaster.authorid And !ookmaster.to'i%id to'i%master.to'i%id

    E se s7 SELE+T !ookmaster.!ookname# !ookmaster.edition"ear#!ookmaster.medium# Authormaster.author&name# to'i%master.to'i% X Q *rom !ookmaster# Authormaster# to'i%master $here !ookmaster.authorid

    Authormaster.authorid And !ookmaster.to'i%id to'i%master.to'i%id End I&

    :ser+on.E4e%ute s7 rsRe%.3'en s7 # :ser+on# ad3'enStati%

    I& rsRe%.Re%ord+ount D Then E4it Su!

    * e4GridBooksR't.Ro$s rsRe%.Re%ord+ount V >

    6hi e Not rsRe%.E3*- i i V P Then:n oad MeEnd I&

    End Su!

    ri(ate Su! *ormQ,ea%ti(ate-:n oad MeEnd Su!

    ri(ate Su! *ormQLoad-

    Mo(e -S%reen.6idth 2 6idth Z ># --S%reen./eight 2 /eight Z > 2 CDD K%entre the&orm on the s%reenEnd Su!End Su!

    ri(ate Su! *ormQ aint-%md3kA!out.Set*o%usEnd Su!K End o& A!out *orm

    Page 94

  • 8/13/2019 LMS Project Report

    95/101

    Te%tin+Testing is the most im'ortant ste' in S,L+ . In testing # the s"stem !eha(ior is

    o!ser(ed. 6e %an o!ser(e a the &eatures o& the so&t$are. 6e %an a so %he%k that

    $hether a the modu es are $orking 'ro'er " or not# the out'uts are re ia! e or not.

    In this so&t$are I use modu ar testing in this a''roa%h I test e(er" modu e

    se'arate " !" in'utting the test data. A&ter su%%ess&u running ea%h modu e I %om!ine

    them and make sing e so&t$are . A&ter that I again test the $ho e 'ro0e%t !" in'utting test

    data.

    Te%tin+ Prin i/le%

    There are some testing 'rin%i' es# $hi%h ha(e !een used &or this 'ro0e%t.

    a A tests shou d !e tra%ea! e to %onsumer re7uirements.! Tests shou d !e ' anned ong !e&ore testing !egin.% Testing shou d !egin in a sma and 'rogress to$ards testing in a arge.d To !e most e&&e%ti(e# testing shou d !e %ondu%ted !" an inde'endent third 'art".

    O4erall Sy%tem Te%tin+

    It %an !e %ategori5ed as2

    A//li ati n Fun ti n Te%tin+ :5 The &un%tiona it" o& ea%h a'' i%ation is tested in

    standa one &ashion in an attem't to un%o(er errors in its a'' i%ation.

    'ataba%e Te%tin+ ;2 The a%%ura%" and integrit" o& data stored !" the s"stem is tested.

    Transa%tion 'ointed !" s"stem is e4amined to ensure that data are 'ro'er "

    stored# u'dated and retrie(ed.

    Tran%a ti n Te%tin+ :5 A series o& tests are %reated to ensure that ea%h % ass o&

    transa%tion is 'ro%essed a%%ording to the re7uirement.

    Page 95

  • 8/13/2019 LMS Project Report

    96/101

    Mo!+l T *$ n"

    As mentioned ear ier $ho e s"stem is designed in di&&erent modu es. So it is (er" mu%h

    easier to test ea%h modu e !e&ore o(era s"stem testing. The testing o& indi(idua

    modu es $as %om' eted during the de(e o'ment itse &.

    Mo!+l

    A module is a part of program for applications declaration and procedures that are

    started together as a unit .

    In a modu es di&&erent %he%k %arried out.

    6hether the entr" menu is o'ened is o'ened 'ro'er " or not.

    No B ank re%ord is sa(ed.

    No du' i%ate Re%ord is sa(ed.

    ro'er he ' messages are dis' a"ed &or the data in'ut.

    Are the %hanges made in the &orm re& e%ted in a the ta! e $hi e u'dating it.*un%tion ke"s are 'ro'er " or not.

    Though some sam' es data $ere made at the time o& testing indi(idua modu es# !ut this

    ma" not !e su&&i%ient &or &urther testing o& the s"stem as a $ho e. So ne$ data $ere

    %reated &or a 'ossi! e rea i&e situations.

    Page 96

  • 8/13/2019 LMS Project Report

    97/101

    S,*$ # S c+- $,

    As $e kno$ $e that 'rote%tion o& a s"stem is most " needed in mu ti2user

    en(ironment# $here a &i e is shared among se(era users. rote%tion me%hanism must

    'ro(ide %ontro ed a%%ess !" restri%ting the t"'es the &i e# $hi%h %an !e made. A%%ess is

    'ermitted or denied de'ending u'on se(era &a%tors# one o& $hi%h is the t"'e o& a%%ess

    re7uested.

    This is a mu ti2user 'ro0e%t that %an !e runs on the net$ork. So the s"stem

    se%urit" is (er" essentia thing &or 're(ent unauthori5ed a%%ess. This so&t$are has man"

    im'ortant se%urit" o'tions su%h as2 No!od" %an run the 'rogram $ithout ogin - :sername and 'ass$ord

    There are t$o %ategories o& ogin

    a Administrator

    ! :ser

    3n " the administrator has &u %ontro to a%%ess a in&ormation.

    Same user %an8t ogin simu taneous ".

    There are man" ,ata 1a idations &eatures in the so&t$are.

    Page 97

  • 8/13/2019 LMS Project Report

    98/101

    IMPLEMENTATION

    Im' ementation o& this s"stem re' a%es a manua s"stem $ith a ne$ %om'uteri5es"stem. This s"stem8s im' ementation is (er" eas" and e(er" !od" %an insta this

    so&t$are in their o$n s"stem i& he or she has a itt e &ami iar $ith %om'uter s"stem.

    E(er" 'erson $hi%h has a (er" itt e kno$ edge o& a %om'uter s"stem %an use this

    s"stem e&&e%ti(e and maintain the re%ords 'ro'osed in the s"stem easi " and e&&e%ti(e ".

    This s"stem %an !e insta ed at user8s site !" on " one % i%k o& mouse.

    Page 98

  • 8/13/2019 LMS Project Report

    99/101

    RECOVERY

    RECO!ERY

    The s"stem is a! e to take !a%ku' o& the data stored inside the s"stem in an e4trerna

    stoage media su%h as & o''" disk# 5i' media et%.

    In %ase o& an" &ai ure a user %an restore their data $ith the he ' o& restore &a%i it" 'ro(ide

    $ith !a%ku' and restore the ost data.

    This s"stem uses an e&&e%ti(e !a%ku' me%hanism in $hi%h a user %an see the !a%ku'

    detai s a%%ording to the date and time and he %an &ind out the e4a%t da" or time o& &ai ure

    o& the s"stem. And re%o(er his most re%ent data.

    S ,t&are E4 luti n

    Ernest Te o# a $e 2kno$n $riter in the &ie d o& arti&i%ia inte igen%e# %om'ared the

    e(o ution o& so&t$are# te%hno og" to the distin%t hase or La"erso& gro$th.

    The a"ers $ere !ui t one o(er the other in &our de%ades as sho$n !e o$;

    Ma *ine #an+ua+e

    A%%embly #an+ua+e

    Pr edure Oriented Pr +rammin+

    Ob6e t Oriented Pr +rammin+

    6ith ea%h La"er an im'ro(ement o(er the 're(ious one.

    A an Fe"# one o& the 'romoters o& the o!0e%t2oriented 'aradigm and designer o&

    sma Ta k# has said#As %om' e4it" in%reases# ar%hite%ture dominates the !asi%

    materia .To !ui d toda"8s %om' e4 so&t$are it is 0ust not enough to 'ut together se7uen%eo& 'rogramming statements sets o& 'ro%eduresa and modu es# $e need to in%or'orate

    sound %onstru%tion te%hni7ues X 'rogram stru%tures that are eas" to im' ement X

    modi&".

    33 is an a''roa%h to 'rogram organi5ation X de(e o'ment that attem'ts to

    E iminate some o& the 'it &a s o& %on(entiona 'rogramming methods !" in%or'orating

    The !est o& stru%tured 'rogramming &eatures $ith se(era 'o$er&u ne$ %on%e'ts.

    Page 99

  • 8/13/2019 LMS Project Report

    100/101

    Concl+* on

    Future En*an ementThis s"stem %an !e &urther enha%ed ater on $hene(er users need is %hanged or

    te%hno og" is u'dated or to satis&" the ne$ need o& the user.

    It %an !e easi " enhan%ed $ith the ne$ te%hno ogi%a %hanges and on demand o& user

    need.

    Pr 6e t #imitati n

    This s"stem is a! e to $ork on " to maintain re%ords o& some 'eriod o& time ike < to to

    "ear . I& $e $ant to use it &uther $e ha(e to make some %hanges in the s"stem and then

    $e %an use it e&&e%ti(e ".

    #imitati n

    It needs the min. resour%es s'e%i&ied in the s"stem re7uirements 'ara.

    Summary

    In !rie& this s"stem is a %om'uteri5ed (ersion o& a o&&i%e s"stem $here arge no. o&

    transa%tions are made da" to da" and $e ha(e to do ot o& 'a'er $ork $ith on " &e$

    imitation and in (er" o$ %ost !" %onsuming too mu%h ess %om'uter s"stem this s"stem

    'ro(ides the good &un%tiona it" to kee' re%ord o& an o&&i%e.

    ,e(e o'ing a so&t$are ' ro0e%t is the resu t o& 'h"si%a # inte e%tuaand emotiona streams $orking together in su%h a $a" that the resu tant$ork remains a sour%e o& ins ' iration &ore(er.

    Page 100

  • 8/13/2019 LMS Project Report

    101/101

    B l o"-' /,

    *undamenta s o& ,ata!ase S"stem -Rame5 E masri# Shamkant

    B.Na(athe

    ? S"stem Ana "sis and ,esign -E.M.A$ad

    @ So&t$are Engineering -R.S. ressman

    /e ' M.S. 3&&i%e # MS,N Li!rar"

    ,ataBase ,esign $ith MS2A++ESS >DDD