Vous êtes sur la page 1sur 87

DK

COLLEGE MANAGEMENT PROJECT


A PROJ ECT REPORT
SUBMI TTED
TO
Punj ab Techni cal Uni versi t y
Jal andhar.
SUPERVISED BY:
r. Puneet Ta!!er
r. Su!h"ant sin#h
SUBITTED BY:
$ RUPI %DERP&' SI %()
RE(%*+,-.-/0-..-1
$ R&)U' S&2)DEV&
RE(%*+,-.-/0-../1
$R&SPI %DER SI %()
RE(%*+,-.-/0-..-.
$R&%I
RE(%*+,-.-/0-..03

DK
COLLEGE MANAGEMENT PROJECT
CERTIFICATE
T h i s i s t o c e r t i f y t h a t t h i s p r o j e c t e n t i t l e d
4 2*''E(E &%&(EE%T4 i s s ! "i t t e d t o t h e
De p a r t "e n t o f Co "p t e r Ap p l i c a t i o n # Baba Isher
Sin#h Institute 56 Science 7 Techn5l5#y 8(a#ra9 5#a f o r t h e
p a r t i a l f l f i l l "e n t o f Ba c h e l 5 r *6 25 :; u t e r
&; ; l i c a t i 5 n o f P u n j a b Te c h n i c a l Un i v e r s i t y i s
a p i e c e o f p r o j e c t $o r % c a r r i e d ! y
RUP I %DERP &'< R&)U'< R&S P I %DER 7 R&%I
n d e r "y & i d a n c e a n d s p e r ' i s i o n a n d n o p a r t
t h e r e o f h a s ! e e n s ! "i t t e d f o r a n y o t h e r d e & r e e
o r d i p l o "a #
Su;e r vi s 5r
Mr # Pne e t Ta %%e r
Mr # (%h$a nt (i n&h
) a ! a * s h e r ( i n & h * n s t i t t e ( c i e n c e +T e c h n o l o & y
Ga r & a , Mo & a -
DK
COLLEGE MANAGEMENT PROJECT
DECLARATION
* he r e !y de c l a r e t ha t t he pr oj e ct !e i n& s !"i t t e d
!y s e nt i t l e d . 2*''E(E &%&(EE%T= f or t he
pa r t i a l f l f i l l "e nt f or t he a $a r d of t he 4Bac he l 5r *6
25:;ut e r &;;l i c at i 5n= i s an at he nt i ca t e d r e c or d of
$or % c ar r i e d !y s i n t he f i nal ye ar of B. 2. & > s e s s i on
, /011- s !"i t t e d t o )a ! a * s h e r ( i n & h * n s t i t t e o f
( c i e n c e + T e c h n o l o & y , Ga & r a - Mo & a nde r t he
&i da nce and s pe r 'i s i on of Pune e t Ta!!e r 7
Su!h"ant Si n#h.

Rpinderpal (in&h
Rahl (achde'a#
Raspinder (in&h#
Rani#
DK
COLLEGE MANAGEMENT PROJECT
PREFACE
Pr o&r a ""i n& l a n&a &e s 2 pa r a di &"s and pr ac t i c e s
don3 t s t a nd s t i l l 'e r y l on&# * t of t e n s e e "s t ha t t he
"e t hods and t e chni 4e s $e a ppl i e d yes t e r day ar e ot
of da t e t oday of c or s e t hi s r a pi d r at e of c ha n&e i s
al s o one of t he t hi n&s t hat %e e p pr o&r a ""i n& e 5i s t i n&#
The r e i s al $ays s o"e t hi n& ne $ on t he hor i 6 on#
One c ha r ac t e r i s t i c t ha t i s c ons t a nt i n s of t $a r e i nds t r y
t oday i s t he .c ha n&e 7# Cha n&e i s one of t he "os t
cr i t i ca l a s pe ct s of s 8 $ de 'el op"e nt and "a na &e "e nt #
Ne $ t ool s and ne $ a ppr oa c he s a r e annonc e d a l "os t
e'e r yday# The i "pa ct of t he s e de 'e l op"e nt s i s of t e n
'e r y e 5t e ns i 'e# Mos t i "por t a nt a "on& t he " i s
"a i nt a i ni n& a!i l i t y2 r e s a !i l i t y2 por t a !i l i t y2 s ec r i t y2
and i nt e &r i t y a nd s e r f r i e ndl i ne s s #
To !i l d t oday3 s co"pl e 5 s 8 $ $e nee d t o $ond
cons t r c t i on t ec hni 4e s and pr o&r a " s t r ct r e s t hat
ar e e a s y t o c o"pr e he nd2 i "pl e "e nt and "odi f y i n $i de
'a r i et y of s i t a t i ons #

DK
COLLEGE MANAGEMENT PROJECT
I t # i v e s us i ::e ns e ;l e a s ur e t 5 e ? ;r e s s 5 ur
s i nc e r e a nd "h5 l e he a r t e d s e ns e 5 6 # r a t i t ude t 5 5ur
e s t e e :e d # ui de 56 r . Pune e t Ta !!e r 6 5 r t he i r
i nv al ua bl e a nd unt i r i n# # ui da nc e a nd s u;e r v i s i 5 n
t hr 5 u# h5 ut 5 ur s t udy .
@e t a !e t hi s 5 ;;5 r t uni t y t 5 e ?;r e s s 5 ur
s i nc e r e t ha n!s a nd 6 ul l a ;;r e c i a t i 5 n t 5 a l l t h5 s e
;e 5 ;l e "h5 e ?t e nde d t he i r "h5l e he a r t e d c 5 5 ;e r a t i 5 n<
:5 r a l s u;;5 r t a nd r e nde r i n# un# r ud#i n# a s s i s t a nc e
"he ne v e r a nd "he r e v e r ne e d a r 5 us e d. @e "i s h t he :
v e r y be s t i n t he i r l i 6 e .
*ur he a r t i e s t t ha n!s t 5 Pr i nc i ;a l Si r < Dr .
u!ht a y a r Si n# h Dhanj u< "h5 i ns t i l l e d c 5 n6 i de nc e i n
5 ur t 5 i :;r 5 v e 5 ur s !i l l s 6 5 r a c a de :i c a nd
;r 56 e s s i 5 na l ;ur s ui t s . &l l c a nn5t be :e nt i 5 ne d but
n5ne c a n be 6 5 r # 5 t t e n.
DK
COLLEGE MANAGEMENT PROJECT
CONTENTS
INTRODUCTION TOCOLLEGE
MANAGEMENT PROJECT
Introduction to the Computerized system:
Tools Used To Develop The PROJECT
9ARD:ARE;
(O<T:ARE;
INTRODUCTION TO Visual basic
Various Facilities Provided By Visual
Basic
MEN= )AR;
COMMON TERM*NOLOG>
DK
COLLEGE MANAGEMENT PROJECT
<ORM LA>O=T :*NDO: :
<ORM LA>O=T :*NDO:;
TOOL )O?;
<ORM DE(*GNER(;
CODE DE(*GNER(;
O)JECT(
MET9OD(
E@ENT(
@AR*A)LE(
PROJECT E?PLORER;
PROPERT*E( :*NDO:;
TOOL )O?
Features of Visual Basic
E@ENTADR*@EN PROGRAMM*NG LANG=AGE
G=* 8 :*NDO: EN@*RONMENT
*NTERNET )A(ED APPL*CAT*ON
VISUAL BASIC (FRONT END)
INTRODUCTION TO MICROSOFT ACCESS
DK
COLLEGE MANAGEMENT PROJECT
Hardware and software requirements of Access
Features of Ms-Access
COMPONENTS OF MS ACCESS
DATA)A(E
TA)LE
B=ER*E(
REPORT
MACRO(
MOD=LE(
CREATING DATABASE
(TEP( <OR CREAT*NG TA)LE
ADD*NG <*ELD( TO TA)LE( *N DE(*GN @*E:
Database Design
MS ACCESS (BACK END)
NEW SYSTEM
DK
COLLEGE MANAGEMENT PROJECT
SYSTEM DEVELOPMENT LIFE CYCLE
RECOGN*T*ON O< NEED
<EA(*)*L*T> (T=D>
ANAL>(*(
DE(*GN
PO(T *MPLEMENTAT*ON AND MA*NTENANCE#
EXISTING SYSTEM
PROPOSED SYSTEM
STRUCTURED ANALYSIS
DATA FLOW DIAGRAM
Data Flow Diagram Of The Banking
FEASIBILITY CONSIDERATIONS
SYSTEM ANALYSIS
EPILOUGE
SYSTEM DESIGN
DK
COLLEGE MANAGEMENT PROJECT
SYSTEM PERFORMANCE
DEFINITION
SYSTEM SECURITY
TESTING
SOFTWARE REQUIREMENT
SPECIFICATION
INTRODUCTION TO DATABASE
PROGRAMMING IN
VISUAL BASIC
CONNECT*NG :*T9 DATA)A(E =(*NG ACT*@E?
DATA O)JECT( ,ADO-
VISUALIZATION
VIEW WITH CODING
OF
DK
COLLEGE MANAGEMENT PROJECT
COLLEGE MANAGEMENT PROJECT

INTRODUCTION TOPROJECT

*n the "odern $orld of technolo&y2 co"pters are affectin& or
li'es in "ore $ays than $e pro!a!ly are a$are of# COMP=TER*(ED
MANAGEMENT2 "aintainin& infor"ation of an edcational instittes2
Colle&es2 other the list is endless#
This project specified all $or%in& that ta%en !y a Colle&e Mana&er C
*f "ana&er $ant necessary infor"ation he chec%s the infor"ation a!ot a
stdent2 staff2 $or%er etc#
DK
COLLEGE MANAGEMENT PROJECT
*t is difficlt to prepare the "anal $or% to store the infor"ation a!ot the all
stdents2 teachers as $ell as a!ot $or%ers#
(o this project helps to store those type of infor"ation sin& co"pteri6ed
syste"#
S5:e :5dules 56 c5lle#e :ana#e:ent.
stdent info# + stdent details
(taff info# + (taff details
$or%er info + $or%er details
Introduction to the Computerized system:
The i"pact of co"pters on or li'es today is pro!a!ly "ch
"ore than $e are actally %no$n to# Gettin& &ood infor"ation and
transfor"in& it 4ic%ly into prodcts than cons"ers $ant to !y is the
essential %ey to stayin& in !siness and this all is done no$adays sin&
Co"pters and Application (oft$are#
The soft$are helps Mana&ers to plan and control the
or&ani6ational operations and to respond to chan&in& "ar%et
DK
COLLEGE MANAGEMENT PROJECT
conditions# *t pro'ides a re&lar flo$ of infor"ation for "ana&erial
decisionD"a%in& and control#
There is &ro$in& concern a!ot the apparent $idespread failre
of Application (oft$are and infor"ation technolo&y ,*T- to deli'er
real or&ani6ational and !siness !enefits# (e'eral hi&h profile co"pter
syste" failres in the p!lic do"ain ha'e hi&hli&hted this pro!le"# A
lac% of nderstandin& a!ot the i"pact of A( and *T on e"ployees and
or&ani6ations has co"ponded the pro!le"# 9istorically2 the "ajority
of Application soft$are has !een de'eloped sin& a predo"inantly
technical perspecti'e# (yste" de'elopers ha'e atte"pted to "ini"i6e
the co"ple5ity srrondin& or&ani6ational chan&e !y concentratin&
pri"arily on a technical a&enda#
This paper atte"pts to sho$ that the "ajority of crrent
Application (oft$are de'elop"ent "ethodolo&ies focs on only a s!D
set of the or&ani6ational pro!le"s that can !e created !y
infor"ation syste"s# *t then contines !y hi&hli&htin& the need
for de'elop"ent "ethodolo&ies to ta%e a "ore .!sinessDled7
perspecti'e $hen sch syste"s are !ein& introdced into or&ani6ations#
SYSTEM:
(yste" that are co"!ination of so"e co"ponents parts#
*n $hich control all acti'ities of that are related to !an%in&
projects;
DK
COLLEGE MANAGEMENT PROJECT
Key!oard
Mose
Monitor
Printer
CP=
Tools Used To Develop The PROJECT
9ARD:ARE
(O<T:ARE
9ARD:ARE;
AMD (e "pr on#
Ra ndo" Ac c e s s Me "or y of / G)#
Me "or y Di s % (pa c e E0 M)#
DK
COLLEGE MANAGEMENT PROJECT
(O<T:ARE;
The s of t $a r e i s de 'e l ope d i n ACCE((
pe r s ona l e di t i on a s !a c %D e nd t ha t i s t o s t or e da t a #
The f r ont D e nd i s @i s a l )a s i c F# 0 # The @i s a l
)a s i c F# 0 i s 'e r y s t r on& pr o&r a ""i n& l a n&a &e #
The s of t $a r e de s i &n i n @i s a l )a s i c * s 'e r y s e r
f r i e ndl y t ha t i t c a n !e ope r a t e a nd "a i nt a i ne d
$i t h l i t t l e e 5pe r t i s e on t he c o"pt e r # The
t e c hni c a l s pe c i f i c a t i on of r e 4i r e "e nt s f or t he
(O<T:ARE *( A( <OLLO:(; D
a # DATA)A(E
! # @* (=AL )A(* C
c # M( :ORD
d # :* NDO:( ?P
DK
COLLEGE MANAGEMENT PROJECT

DK
COLLEGE MANAGEMENT PROJECT

INTRODUCTION TO Visual
basic
DK
COLLEGE MANAGEMENT PROJECT

@i s al !a s i c i s t he f a 'or i t e pr o&r a ""i n&
en'i r on"e nt of "a ny s e r s # :he n 'i s a l !a s i c $a s
or i &i nat e d2 i t cr ea t e d a r e 'ol t i on i n :i ndo$s
pr o&r a ""i n&2 and t hat r e 'ol t i on appea r s t o t hi s day#
:i ndo$s pr o&r a ""i n& $a s ne 'e r s o ea s y a s i t i s s i n&
'i s a l !a s i c# * t i s s o e a s y t ha t pr o&r a "s a r e "a de r i &ht
!e f or e t he eyes a nd a r e e5e c t e d#
@i s al )a s i c $a s de r i 'e d f r o" )A(* C2 and i s a n
e'e nt D dr i 'e n pr o&r a ""i n& l an&a &e# Pr o&r a ""i n& i n
'i s a l !a s i c i s done 'i s a l l y2 $hi c h "e a ns t ha t a s yo
de s i &n2 yo $i l l %no$ ho$ yor appl i c at i on $i l l l oo%
on e 5e c t i on# :e ca n t he r e f or e c ha n&e and e5pe r i "e nt
$i t h de s i &n t o "e et yor r e 4i r e "e nt # @i s a l )a s i c F# 0
ha s "a ny po$e r f l f ea t r e s t ha t 3 s ar e r e 4i r e d i n
t oday3 s pr o&r a ""i n& en'i r on"e nt @i s al !a s i c
i nt r odce d nhea r dD of e a s e t o $i ndo$s pr o&r a ""i n&
and c ha n&e d pr o&r a ""i n& f r o" a chor e t o s o"e t hi n&
'e r y f n# * n t i "e 2 @i s al !a s i c ha s &ot t e n "or e co"pl e 5
a s $el l a s "or e po$e r f l # @i s a l !a s i c i s s e d i n a
t a s %D or i e nt e d $a y2 $hi c h i s t he !e s t $a y t o $r i t e a!ot
pr o&r a ""i n&#
DK
COLLEGE MANAGEMENT PROJECT
Various Facilities Provided By Visual
Basic
@isal !asic *nte&rated De'elop"ent En'iron"ent ,*DE-2
$here ser spends "ost of the pro&ra""in& ti"e# @isal !asic *DE has
three distinct statesD
Desi&n
Rn
DE )=G
Th e c r r e n t s t a t e a p p e a r s i n t h e @i s a l ! a s i c t i t l e ! a r #
Th e * DE c o n s i s t s o f t h e f o l l o $i n & p a r t s ;
MEN= )AR
TOOL)AR
PROJ ECT E?PLORER
PROPERT* E( :* NDO:
<ORM LA>O=T :* NDO:
TOOL)O?
<ORM DE(* GNER(
CODE :* NDO:(
DK
COLLEGE MANAGEMENT PROJECT
E%U B&R:
Men )ar presents the @isal !asic "ens $here 'arios options
are pro'ided to perfor" 'arios tas%s# (o"e of the "ens are &i'en
!elo$;
<*LE; <ile handlin& and printin&G also sed to "a%e E?E files#
ED*T; (tandard editin& fnctions2 ndo2 searches#
@*E:; Displays or hides $indo$s and tool!ars#
PROJECT; (ets project properties2 add or re"o'es for"s and
"odles2 and adds or re"o'es references and co"ponents#
<ORMAT; Ali&ns or si6es controls#
DE)=G; (tarts a pro&ra" or co"piles and starts it#
TOOL(; Adds procedres2 starts the "en editor2 sets *DE
options#
ADDD*N(; AddDin "ana&er lists addDins li%e Application
:i6ard and AP* @ie$er#
:*NDO:; Arran&es or selects open $indo$s#
9ELP; 9andles 9elp and A!ot !o5#
<ollo$in& project types are spported !y @isal )asic :
(tandard $indo$s e5e pro&ra"s
Acti'e? e5e files
Acti'e? DLLs
Acti'e? controls
Pro&ra"s $ritten !y the @isal )asic application $i6ard
Data projects
**( ,the Microsoft internet infor"ation ser'er- applications
@isal )asic addDins
Acti'e? doc"ent DLLs
DK
COLLEGE MANAGEMENT PROJECT
Acti'e? doc"ent e5e files
D9TML applications
@) enterprise edition controls
A*R '&Y*UT @I %D*@:
<or" Layot $indo$ helps to position the for"s2 as ser $ants
to display the" first on the screen# To &i'e a for" ne$ location2 for"
is dra&&ed to the desired location in the <or" Layot $indo$#
T**' B*B:
Tool!o5 is the "ainstay of the 'isal !asic and indicates $hat so
e'er re'oltionary a!ot 'isal !asic in the first place# =sin& tool!o52
controls can !e added to the project# *t can !e loaded $ith the follo$in&
controlsDte5t !o5es2 chec% !o5es2 list !o5es2 i"a&e !o5 etc#
A*R DES I (%ERS :
The for" desi&ner displays the crrent for" nder desi&n# *t is
the $indo$ $here particlar for" appears# Controls can !e placed
o'er that for" sin& tool!o5#
2*DE DES I (%ERS :
Code $indo$ displays the code for the crrently selected ite"#
There are t$o dropDdo$n list !o5es at the top of the code $indo$; the
left list displays allo$s selectin& the procedre to add code to and the
ri&ht list allo$s selectin& the procedre to add#
DK
COLLEGE MANAGEMENT PROJECT
OBJECTS
*n @i sal )asi cs as appl i cat i on i s a co"!i nat i on of o!j ect s
l i %e <or "s and Cont rol s2 Procedres t hat respond t o e'ent s and
ot her &eneral Dprpose procedres# O!j ect s i n @i sal )asi cs are
!asi cal l y consi dered as a co"!i nat i on of code and dat a2 $hi ch
i s t reat ed and cont rol l ed as a ni t # Co""and !t t ons and ot her
cont rol s on a for " are o!j ect s# An o!j ect "ay cont ai n ot her
o!j ect s e# &# for" can cont ai n any n"!er of o!j ect s ACo""and
!t t ons2 a l a!el and a t e5t !o5 and $hen an o!j ect i s creat ed a
defal t na"e !ase i s assi &ned on i t s o!j ect t ype sch as <or" 1
et c#
METHODS
Met hods are procedres t hat operat e on t he o!j ect or t hat
t he o!j ect perfor"s on dat a2 Met hods case an o!j ect t o
perfor" an act i on or t as%#
Mo'e and set focs are co""on e5a"ples of "ethods#
Methods are a part of o!ject li%e that procedres and perfor" that
action yo $ant# Methods can !e called in se'eral $ays# The
synta5 sed for callin& a "ethod depends on $hether "ethod
retrns a 'ale and if that 'ale $ill !e sed !y yor application#
DK
COLLEGE MANAGEMENT PROJECT
EVENTS
An e'ent is an action reco&ni6ed !y a for" or control# Any
action perfor"ed !y pressin& a %ey on the %ey!oard or clic%in& a
"ose for $hich code can !e $ritten is an e'ent procedre that
rns $hene'er the e'ents occrs#
VARIABLES
A 'aria!le is an area that stores 'ale drin& pro&ra"s
e5ection# This area has a na"e i# e a 'aria!le na"e and a 'ale
that 'aries fro" ti "e to ti"e#
PR*JE2T EBP'*RER ;
This is the $indo$ that allo$s coordinatin& the parts of the
pro&ra" into folders for easy "aniplations as all the parts of that
project appear in a re'ie$# To pic% the re4ired part of the project2 find
that fro" the project e5plorer and do!le clic% on it2 yo $ill &et that#
*te"s sch as for"s can !e added or re"o'ed fro" in the project
e5plorer# The !ttons at the top allo$s the ser to s$itch !et$een the
different 'ie$s# The left !tton displays the o!ject code $indo$2 the
"iddle !tton displays the o!ject itself and the ri&ht !tton to&&les the
folder open and closed in the project e5plorer# (o2 project e5plorer
&i'es s a 'ala!le o'er'ie$ of or entire project2 $hich is 'ery sefl
$hen a project &ets too lar&e and contains "any co"ponents#
DK
COLLEGE MANAGEMENT PROJECT
PR*PERTI ES @I %D*@ ;
This is the $indo$ $here the properties of an o!ject can !e set#
:hen any o!ject is selected in 'isal !asic sin& "ose2 its properties
are displayed in the properties $indo$# Properties of an o!ject can !e
chan&ed in t$o $aysD either at desi&n ti"e or rnti"e# Properties
appear in the properties $indo$ are set at desi&n ti"e#

T**' B*B PR*PERTY @I%D*@

DK
COLLEGE MANAGEMENT PROJECT
Features of Visual Basic
:ritin& a &raphical ser interface pro&ra" is "ch easier in
@isal )asic# @isal )asic has a 'ery friendly en'iron"ent2 $hich
helps to create for"s2 add contacts to the for" and $rite code !ehind
the for"2 'ery 4ic%ly and easily# @isal !asic also has an online help
syste"# This Online help contains thosands of pro&ra""in&
e5a"ples# There are "any other featres in @isal )asic $hich are
discssed as follo$s;

EVE%TCDRIVE% PR*(R&I%( '&%(U&(E
E'ery thin& in @isal )asic is e'entDdri'en# =nli%e earlier
pro&ra""in& lan&a&es li%e CO)AL and Pascal in $hich control $as
$ith the application2 in @isal )asic ser is in the control of the
application# E'ery ti"e the ser clic%s a co""and !ttons or presses
the "ose2 an e'ent strea" is &enerated and coded that has !een $ritten
!ehind the e'ent is e5ected# After the e5ection of the code the control
a&ain co"es !ac% to the ser#
(UI D @I%D*@ E%VIR*%E%T
An application de'eloped in @isal )asic has the loo%s and feel
of $indo$s application de'elop"ent syste"# *t !eha'es li%e any other
:indo$s pro&ra" to $hich any ser is accsto"ed2 so2 for any ser it
is not ne$ and he feels 'ery co"forta!le $hile sin& an application
de'eloped in @isal )asic#
DK
COLLEGE MANAGEMENT PROJECT

I%TER%ET B&SED &PP'I2&TI*%
@isal )asic can !e sed to $rite *nternet pro&ra"s# @isal !asic can
!e e5tended to other application !y the se of Acti'e ? controls2
Dyna"ically Lin%ed Li!raries ,DLL3s-2 and AddD*ns#
VISUAL BASIC (FRONT END)
DK
COLLEGE MANAGEMENT PROJECT
*n this project * se 'isal !asic F#0 as pro&ra""in& lan&a&e
$hich is an application de'elop"ent tool as $ell as a relational data
!ase "ana&e"ent syste" $hich se client8 ser'er architectre * ha'e
ta%en front end tools as 'isal !asic F#0 and oracleHi has ta%en as !ac%
end tools to store data in the for" of relational the 'isal !asic "a%es
the project interacti'e 2 ths helpin& the operator to se the Application
pro&ra""er con'eniently 'isal !asic is $indo$ !ased lan&a&e for
"a%in& ad'ance $indo$ pro&ra"s# As the "ore s&&est a !i& portion
of the pro&ra""in& is analyses 'isally #This "eans drin& desi&n this
one cold !e a!le to see ho$ the pro&ra""ed $ill loo% drin& desi&n
ti"e# This is &reat ad'anta&e o'er the other pro&ra""in& lan&a&es
!ecase $e are a!le to chan&e and practice $ith or desi&n2 color2 si6e2
screen etc# $hich are inclded in pro&ra""atic follo$s the standard
synta5 of !asic e5cept that so"e ne$ lan&a&e featre ha'e also !een
added to &i'e fle5i!ility to the pro&ra""er# @*(=AL )A(*C reali6e
'ery hea'ily on the $indo$ ser interface# Therefore the only
prere4isite to the $or% in the 'isal !asic en'iron"ent to ha'e fir"
nderstandin& of ho$ to se "ose2 $indo$s2 pll do$n "ens and
dialo& !o5es#
DK
COLLEGE MANAGEMENT PROJECT






DK
COLLEGE MANAGEMENT PROJECT

INTRODUCTION TO MICROSOFT
ACCESS
Microsoft access is a Relational Data!ase Mana&e"ent (yste"
,RD)M(- sed to store and "aniplate lar&e collection of infor"ation
of any %ind# 9ere RD)M( refers to the or&ani6ation of data in series of
ro$s and col"ns in sch a "anner that any specific piece of
infor"ation is a'aila!le $ith the clic% of "ose and fe$ %eystro%es#
M(DAccess has tools2 $hich are easy to se and pro'ide po$erfl
de'elop"ent en'iron"ent2 "a%in& it an appropriate choice for no'ices
as $ell as professionals# <or e5a"ple2 M( access can !e sed to enter
and "aintain stdent records2 telephone n"!ers# Once the records are
stored any type of 4eries can !e as%ed2 reports can !e created and data
entry for"s can !e desi&ned# At an ad'anced le'el2 access can !e sed
for de'eloped csto" data!ase application !y e"ployin& access and a
distri!tion %it for co"pilin& applications#
9ard$are and soft$are re4ire"ents of Access
Access2 a part of Microsoft office2 is $indo$s !ased application
soft$are# *t can rn on M( :indo$ IE8IH8ME8?P8NT8/000# A
Co"pter "ay ha'e H0JHF2 H0KHF or Penti" !ased processor $ith
"ini"" H M) RAM2@GA &raphics display adapter and a "ose#

DK
COLLEGE MANAGEMENT PROJECT

Features of Ms-Access
M(DAccess pro'ides a data!ase en&ine and stores all the
application data ta!les2 inde5es2 for"s reports in M( data!ase file
,#"d!- file# The en&ine also pro'ides ad'anced capa!ilities2 sch as
data 'alidation2 concrrently control sin& loc%s2 4ery opti"i6ation#
*t pro'ides a pro&ra""in& lan&a&e called access !asic# *t can !e
sed for de'elopin& csto" data!ase applications#
*t pro'ides the data!ase de'eloper $ith hyperlin%s as a nati'e
data type 2 e5tendin& the fnctionality of data!ase $ith the a!ility to
share infor"ation on internet#
*t pro'ides the facility to specify the adhoc 4eries &raphically
o'er an oracle data!ase stored in =N*? ser'er #Also the for"s and
reports can !e "ade &raphically#
*t pro'ides the facility se acti'e? data o!jects,ado- to access and
"aniplate data in data!ase ser'er thro&h any OLE data!ase
pro'ider #*t spports "ltiDser operations !y "a%in& an application
a'aila!le on a net$or% ser'er# <or concrrent pdates2 loc%in& is
pro'ided# M(DACCE(( "aintains an LD) file that contains crrent
loc%in& infor"ation #The loc%in& property can !e set for a &i'en for"
#*t helps to inpt and e5port fro" the access data!ase to other
Data!ase soft$are# <or e5a"ple Aaccess can i"port ta!le fro" oracle.
DK
COLLEGE MANAGEMENT PROJECT
COMPONENTS OF MS ACCESS
The co"ponents of M(DAccess are the o!jects2 $hich can !e seen
in data!ase $indo$# The Data!ase $indo$ is opened $hene'er $e
create a ne$ data!ase or open an e5istin& data!ase# The 'arios o!jects
sho$n in a data!ase $indo$ are Ta!les2 <or"s2 Reports2 Macro2
Modles etc #All o!ject are "ana&ed thro&h the data!ase $indo$ and
all o!jects of a data!ase $indo$ and all o!jects of a data!ase are stored
in a sin&le file#
Database
A data!ase is a collection of infor"ation related to a particlar
s!ject or prpose sch as trac%in& csto"er orders or "aintainin& a
"sic collection# =sin& Microsoft access2 yo can "ana&e all yor
infor"ation fro" a sin&le data!ase file# :ith the file2 data is di'ided
into separate stora&e containers called ta!les2 'ie$s# One "ay add2 and
pdate ta!le data sin& online for"s2 find and retrie'e jst the data yo
$ant sin& 4eries2 and analy6e or data in a specific layot sin&
reports#
To store yor data2 create one ta!le for each type of infor"ation
yo trac%# To !rin& the data fro" "ltiple ta!les to&ether in a 4ery2
fro"2 or report2 yo ha'e defined relationship !et$een the ta!les# To
find and retrie'e jst the data the "eets conditions yo specify2
incldin& data fro" "ltiple ta!les2 create a 4ery# A 4ery can also
DK
COLLEGE MANAGEMENT PROJECT
pdate or delete "ltiple records at the sa"e ti"e2 and perfor" !iltD in
or csto" calclations on yor data2
To easily 'ie$2 enter and chan&e data directly in a ta!le create a
for"# :hen yo open a for"2 Microsoft access retrie'es the data fro"
one or "ore ta!le
And ta!les and displays it on screen sin& the layot chosen in
the for" $i6ard or sin& a layot that yo created fro" scratch#
&DV&%T&(E *A D&T&B&SE
1# The stored infor"ation can !e 'ie$ed2 stored "aniplated2 retrie'ed
and printed as per re4ire"ent#
/# The data can !e o!tained in "ltiple for"ats#
J# The infor"ation in Access if "ore and interrelated can !e retrie'ed
4ic%ly and accrately#
DATABASE
The Database use in table the names are following as :-
1# (T=DENT
/# (TA<<
J#:ORKER
DK
COLLEGE MANAGEMENT PROJECT
The pictre has !een follo$in& are;D
T&B'ES *A PR*JE2T:>
I. STUDE%T
DK
COLLEGE MANAGEMENT PROJECT
AIE'D %&E D&T&TYPE SIEE
RE( %*. %UBER 1F
2*URSE TEBT 1F
%&E TEBT 1F
A&T)ER %&E TEBT 1F
*T)ER %&E TEBT 1F
DISTT TEBT 1F
II. TE&2)ER
%&E TEBT SIEE
A&T)ER %&E TEBT 1F
*T)ER %&E TEBT 1F
GU&'IAI2&TI*% TEBT 1F
P)*%E %*. %UBER '*%( I%TE(ER
III. @*RHER
AIE'D %&E D&T&TYPE SIEE
RE( %* %UBER '*%( I%TE(ER
%&E TEBT 1F
A&T)ER %&E TEBT 1F
2ITY TEBT 1F
P)*%EI%* %UBER '*%( I%TE(ER
DK
COLLEGE MANAGEMENT PROJECT
Database Design
Desi&nin& a data!ase is "ch li%e desi&nin& any thin& else a !ildin&2 a car2 or a
road$ay thro&h a city# Care "st to ta%e to desi&n a plan# Many approaches can
!e ta%en to e5plain data!ase desi&n# *t can !e de!ated indefinitely $hat to
inclde2 $hat not !e inclde2 and in $hat order to present the "aterial#
)efore a desi&n effort can !e precede fll speed ahead2 the desi&ner "st first
ta%e ti"e to nderstand the !siness# =nderstandin& the !siness in'ol'es
nderstandin& the entities2 data and rles $ith in an or&ani6ation and then
con'ertin& these attri!tes of !siness into a !siness "odel #Then the desi&ner
"st ha'e a solid co"prehension of proposed data!ase "odel# <inally2 the
desi&ner $ill con'ert the !siness "odel into a data!ase "odel2 sin& a desi&n
"ethodolo&y2 $hether ato"ated or a "anal process#
DK
COLLEGE MANAGEMENT PROJECT
MS ACCESS (BACK END)
M( Access is a hi&h perfor"ance2 distri!ted relational data!ase "ana&e"ent
syste" se for de'elopin& applications it can spport hndreds of si"ltaneos
sersG handle hi&h transaction data !ases that ran&es in si6e se'eral hndred
"e&a!ytes in access data is portioned in to ta!les "ade p ro$s and col"ns
and the relation !et$een the different ta!les need not to !e predefined2 ths
"a%in& na'i&ation $ithin ta!le easier access is spported on platfor"s li%e
NO@ALL Net$are2 =N*? 2 :*NDO: NT 2 its i"portant featres are as
follo$s;
DK
COLLEGE MANAGEMENT PROJECT
NEW SYSTEM
De'elop"ent of an ne$ syste" ta%es place in a series of steps2 $hich is
often referred to as (yste" De'elop"ent Life cycle# The analyst !e&ins !y
creatin& the "odel of reality ,facts2 procedres2 relationships etc - $ith $hich the
syste" is concerned# The process of (yste" De'elop"ent is ai"ed at pro'idin& a
syste" that not only satisfies ser3s de"ands and re4ire"ents2 !t also acts as a
sefl and efficient "eans of 4ality decisionD"a%in&#
E'ery syste" has a life cycle and syste" analysis and desi&n are %eyed into this
cycle# @arios phases e5ist in the cycle2 $hich on co"pletion pro'ides a flly
de'eloped syste"#
SYSTEM DEVELOPMENT LIFE CYCLE
,(DLC-
The syste" de'elop"ent life cycle in'ol'es the follo$in& steps;
RECOGN*T*ON O< NEED
<EA(*)*L*T> (T=D>
ANAL>(*(
DE(*GN
PO(T *MPLEMENTAT*ON AND MA*NTENANCE#
DK
COLLEGE MANAGEMENT PROJECT
RECOGNITION OF NEED
To "a%e project first step is to clearly define the pro!le" that is reco&nition of
need one "st %no$ $hat pro!le" is !efore it can !e sol'ed# This !asis for the
candidate syste" is reco&nition of need for i"pro'in& an infor"ation syste" or a
procedre# To reco&ni6e a need there are "any technical points that are ta%en in
"ind this need leads to deter"ine $hether an alternati'e syste" can sol'e the
pro!le"#
The $hole tas% depends on the capa!ility of syste" analyst# (yste" analyst is a
person $ho can define pro!le" 'ery accrately# The analyst first tal% is to
prepare a syste" specify the scope and o!jecti'e of the pro!le"# Desi&nin& and
i"ple"entin& syste" to sit or&ani6ation need "e the fnction of analyst# The
or&ani6ation of need is deal hea'ily $ith people2 procedre and technolo&y so
reco&nition need is one of the "ajor steps in the syste" de'elop"ent life cycle#

FEASIBILITY STUDY
The directory "eanin& of feasi!ility is .The :or% (tdy2 :e need to consider
ths econo"ic2 technical and !eha'ioral factors in the syste" de'elop"ent#
<easi!ility stdy is procedre that identifies2 descri!ed and e'alates candidate
syste" and its select the !est syste" for the jo!#
Dependin& on the reslt of initial in'esti&ation2 the sr'ey is e5panded to "ore
feasi!ility stdy# A <easi!ility stdy is test of syste" proposal accordin& to its
DK
COLLEGE MANAGEMENT PROJECT
$or%a!le i"pact on the or&ani6ation2 a!ility to "eet ser needs2 and effecti'e se
of resorces#
IT FOCUSES ON THREE MAJOR QUESTIONS:
What are the user demonstra!e needs and ho" #and$date
s%stem meets them&
What resour#es are a'a$!a!e (or the #and$date s%stem& Is
the )ro!em "orth so!'$n*&
What are !$+e!% $m)a#ts o( the #and$date s%stem on the
or*an$,at$on&
DESIGN
Most create and challen&in& of the syste" life cycle is syste" desi&n descri!e the
final syste" and the process !y $hich it is de'eloped# *t refers to the technical
specification that $ill !e applied to i"ple"ent the candidate syste"# (yste"
desi&n is di'ided in to t$o sta&es;
System Design
Detailed Design
DK
COLLEGE MANAGEMENT PROJECT
S%stem des$*n- . *n syste" desi&n 'arios "odles2 $hich are to !e sed
in the syste" de'elop"ent2 are selected#
Deta$!ed Des$*n-.:hen the syste" desi&n is co"plete and 'arios
"odles ha'e !een selected then $e ha'e to set p
An inter "odle relationship and $e ha'e select the 'arios data strctre
are to !e sed drin& the codin& phase#
IMPLEMENTATION
After doin& the syste" analysis and desi&n the ne5t step is syste"
i"ple"entation that is to practically install the syste"# The i"ple"entation
phases are less creati'e than syste" desi&n# This phase is pri"arily
concerned $ith ser trainin&2 site preparation2 and file conser'ation#
Drin& the final testin& ser acceptance is tested follo$ed !y ser trainin&#
=ser trainin& is an essential part of this phaseG the $ay of trainin& shold
desi&n so that the ser can nderstand the $hole candidate syste"# E'ery
candidate syste" "st pro'ide !ilt in featres for secrity and inte&rity of
data# (pecial steps are ta%en drin& this phase in pro'ide secrity to the
syste"# There fore i"ple"entation is 'ery i"portant sta&e of syste"
de'elop"ent life cycle#
DK
COLLEGE MANAGEMENT PROJECT
POST IMPLEMENTATION
&
MAINTAINENCE
After the installation phase is co"plete and ser staff is adjsted to the
chan&es created !y candidate syste"2 e'alation and "aintain !e&ins# Li%e
any syste" there is an a&in& process that re4ires periodical of hard$are
and soft$are# *f the ne$ infor"ation is in consistent $ith the desi&n
specification $hen chan&es ha'e to !e "ade# The i"portant of it is to !rin&
ne$ syste" to standards# This is the last step in the syste" de'elop"ent
life cycle#
EXISTING SYSTEM
:hene'er $e i"ple"ent ne$ syste" it is de'eloped to re"o'e the
shortco"in&s of an e5istin& syste"# The co"pteri6ed has "ore
Ed&e o'er the "anal syste"# As $e are doin& a project on
.COLLEGE MANAGEMENT7# (o firstly $e $ill introdce the e5istin&
syste"2 the e5istin& syste" is !ased on "anal syste"2 $hich ta%es lot of
ti"e to &et perfor"ance of the test# *t has the follo$in& disad'anta&es;
DK
COLLEGE MANAGEMENT PROJECT
Wasta*e o( t$me- DAs the test is condcted "anally it ta%es lot of
ti"e to atte"pt 4estion of that particlar test.
Ina##ura#% - D:hile condctin& the test papers "anally it can
happen that 4estions papers are not printed properly2 in accracy
can also ta%e place $hile chec%in& the ans$er sheets and the teachers
"ay "ista%e $hile calclatin& "ar%s# All the a!o'e leads to the
pro!le" of inaccracy#
Late de#!arat$on o( resu!t-.*n the e5istin& syste" ans$er sheets are
chec%ed "anally so it ta%es a lot of ti"e $hile chec%in& the ans$er
sheets# (o the reslt is declared late#
Wasta*e o( mone%- .:hile chec%in& the different ans$er sheets
different professor is hired# (o it re4ires a lot of "oney a&ainst the
chec%in& of ans$er sheets#
Chan#es o( Part$a!$t%;D*n the e5istin& syste" there are chances of
partiality $hile chec%in& the ans$er sheet of particlar stdent# This
is !ecase so"e professor "ay !e !iased to$ards so"e stdent# (o
there are chances of partiality #De to all the a!o'e pro!le" of
"anal syste" the ne$ co"pteri6ed syste" is de'eloped#
PROPOSED SYSTEM
:e ha'e de'eloped ne$ syste"2 $hich is !ased on co"pter in
$hich the stdent sed to &i'e test on the co"pter !y si"ply
clic%in& the ans$ers# *t is "ost relia!le + ti"e sa'in& syste" $hile
condctin& so"e entrances test#
DK
COLLEGE MANAGEMENT PROJECT
T$me Sa'$n*-.As the test is condcted on co"pter it ta%es 'ery
less ti"e for the stdent to atte"pt the 4estion !y si"ply clic%in&
on the ans$er $hich they thin%s to !e ri&ht#
A##ura#% ;D=nli%e the "anal syste" there is no in accracy $hile
chec%in& the ans$er of a 4estion# (ince it does not "a%e any
calclation "ista%e $hile at the sa"e ti"e of chec%in&#
/u$#+ De#!arat$on o( Resu!t-.*n the co"pteri6ed syste" the
reslts are declared in less ti"e i#e# $ith in the fraction of "intes#
(o $e can say that in co"pter syste" are "ore efficient then the
e5istin& syste" fro" the point of 'ie$ of declarin& the reslt
Mone% Sa'$n*;D=nli%e the e5istin& the co"pteri6ed syste" does
not re4ire the any professor to chec% the ans$er sheet so this sa'es
the lot of "oney#
Redu#es The Chan#es O( Part$a!$t%-.As the ans$er s is chec%ed
!y the co"pter it self so there are no chances of partiality $hile
chec%in& the ans$ers#
STR0CT0RED ANALYSIS
(trctred analysis is the set of techni4es and &raphical tool that
allo$ the analyst to de'elop a ne$ %ind of syste" specification that are
easily nderstanda!le to the sers# *t $ay to on fnction rather than
physical i"ple"entation# The traditional approach focses on cost and
!enefit analysis2 feasi!ility analysis2 project "ana&e"ent2 hard$are and
soft$are section and personal consideration in contrast2 strctred
DK
COLLEGE MANAGEMENT PROJECT
considers ne$ &oals and strctred tools for analysis# There are different
tools strctred syste" analysesG so"e of the" are as follo$s;
DATA FLOW DIAGRAM
DATA DICTIONARY
STR0CT0RED ANALYSIS
DECISION TREE
DATA FLOW DIAGRAM
The D<D $as first de'eloped !y Larry Constantine as a $ay of
e5pressin& syste" re4ire"ent in a &raphical for"# A D<D also
%no$n as !!!le chart has a prpose of clarifyin& syste"
re4ire"ent and identifyin& "ajor transfor"ation that $ill !eco"e
the pro&ra" in the syste" desi&n#
DFD SYMBOL:-
S1uare- DA s4are defines a sorce or destination of syste" data#
DK
COLLEGE MANAGEMENT PROJECT
Arro"-.An arro$ identifies data or data in "otion2 it is a pipeline
thro&h $hich infor"ation flo$s#
C$r#!e or Bu!e ;D*t represents a process transfor"s in co"in& in
data flo$ in to ot &oin& data flo$#
O)en re#tan*!e-.*t is data store or data at rest#
DK
COLLEGE MANAGEMENT PROJECT
D&T& A'*@ DI &(R& *A T)E
2*''E(E &%&(EE%T PR*JE2T
TEAC9ER(
(T=DENT(
:ORKER(
MANAGER
Delivery nte
*N<O
Order
Dispatch
*N<O
COLLEGE3( DATA)A(E
DK
COLLEGE MANAGEMENT PROJECT
FEASIBILITY CONSIDERATIONS
There are three essential considerations that are in'ol'ed in
feasi!ility analysis ;
23 Te#hn$#a! Feas$$!$t%
43 Beha'$ora! (eas$$!$t%
53 E#onom$# (eas$$!$t%
1- Te#hn$#a! (eas$$!$t% -.Technical feasi!ility centers on the e5istin&
co"pter syste" ,hard$are2 soft$are etc#- and to $hat e5tent# *t can
spport the proposed addition for e5a"ple2 if the crrent ids
operatin& H0L capacity and ar!itrary ceilin& then rnnin& another
application cold o'erload the syste" or re4ired additional
DK
COLLEGE MANAGEMENT PROJECT
hard$are# This in'ol'es financial consideration to acco""odate
technical enhance"ent #*f the !d&et is a serios constraint2 $hen the
project is not feasi!le# The prpose syste" $as fond to !e
technically feasi!le in all respect#
/- E#onom$#a! Feas$$!$t% ;DEcono"ic analysis is "ost fre4ent
"ethod sed for e'alatin& the effecti'eness of candidate syste"#
More co""only %no$n as cost and !enefit analysis2 the procedres
is to deter"ine the !enefits and sa'in& that are e5pected fro" a
candidate syste" and
Co"pare then $ith the cost# The prposed syste" is econo"ically feasi!le
and flfill all the re4ire"ent of the e5istin& $ith "ch "ore accracy lots
of paper $or% $ill !e redced and ti"e cons"ed $ill !eco"e "ini""#
*n short it $ill o'er $ei&h the e5istin& syste" in cost co"pared to !enefit#
J- Beha'$ora! (eas$$!$t% -.People are inherently resistant to chan&e2
and co"pters ha'e !een no$ to facilitate chan&e #An esti"ate
shold !e "ade !e ho$ stron& is ser staff is li%ely to ha'e to$ards
the de'elop"ent of co"pteri6ed syste"#

Ste;s in 6easibility analysis:
*t in'ol'es the se'en steps;D
DK
COLLEGE MANAGEMENT PROJECT
!" <ro" a project tea" appoints a project leader#
#" Prepare syste" flo$ chart#
$" En"erate potential candidate syste"#
%" Descri!e the identity characteristics of candidate syste"#
&" Deter"ine the e'alate perfor"ance and cost effecti'eness of
each candidate syste"#
'" :ei&h syste" perfor"ance and cost data#
(" (elect the !est candidate syste"#
SYSTEM ANALYSIS
)efore $e start stdyin& the syste" $e are to %no$ $ith the ter" syste"#
:hat is syste"M The ter" syste" is deri'ed fro" Gree% $ord syste" a2
$hich "eans an or&ani6ed relationship a"on& fnctionin& nits or
co"ponents# A syste" e5its !ecase it is desi&ned to achie'e one or "ore
o!jecti'es# The ter" syste" refers to an orderly &ropin& of interdependent
co"ponents lin%ed to&ether accordin& to plan to achie'e a specific
o!jecti'e the idea of syste" !eco"e "ore practical and necessary in
conceptali6in& the interrelationship and inte&ration of operation especially
$hen sin& co"pter# A stdy of syste" concept has three !asic
i"plications; A syste" "st !e desi&ned to achie'e a predeter"ined
o!jecti'e# *nterrelationship and interdependence "st e5ist a"on& the
co"ponent# The o!jecti'e of or&ani6ation as a $hole has hi&her priority
then the o!jecti'e of its s! syste" in the present stdy syste" is an
DK
COLLEGE MANAGEMENT PROJECT
inte&rated collection of data files# The co"!ination of all these pro&ra"s
and data!ase "ade this syste"# The process of desi&nin& a syste" is not
done in one phase# *t consist of "any phases can !e seen co"prisin& of
for phases#
Analysis is detail stdy of 'arios operations perfor"ed !y the syste" and
their relationship $ithin and otside the syste"2 otside factor also place
"ajor role in the syste" li%e &o't# 'endor2 csto"er etc#
Drin& analysis2 data are collected on a'aila!le files2 decision points and
transactions entered !y the present syste"#
SYSTEM DESIGN
(yste" Desi&n is a soltion2 ho$ to approach to creation of a ne$ syste"#
This i"portant phase is co"posed of se'eral steps# *t pro'ides the
nderstandin& and procedral details for i"ple"entin& the syste"
reco""ended infeasi!ility stdy# (tress in on translatin& perfor"ance
re4ire"ent into desi&n specification desi&n &oes thro&h lo&ical physical
sta&es of de'elop"ent# Lo&ical desi&n re'ie$s the present physical2
prepare inpt and otpt specification# These steps are as follo$;
23 Pro!em de($n$t$on.
43 In)ut out)ut s)e#$($#at$on.
53 Data ased des$*ned.
63 Modu!ar )ro*ram des$*n.
DK
COLLEGE MANAGEMENT PROJECT
73 Pre)arat$on o( sour#e #ode.
83 Test$n* and deu*
TESTING
Testin& is the "ajor 4ality control "easre e"ployed drin& soft$are
de'elop"ent# Testin& is the process of e5ectin& $ith intent of findin& the
error# No peace of code is co"pletely ready nless it has !een flly tested#
NEED FOR TESTIN9-.Testin& is the 'ital to the sccess of the
syste"# Testin& "a%es a lo&ical ass"ption that if all parts of the syste"
are correct2 the &oal $ill !e sccessflly achie'ed in ade4ate testin& and
nonDtestin& leads to error that "ay not appear ntil "onth later# <inally2
testin& leads to soft$are relia!ility# *dentifyin& and re"o'in& falts2 drin&
testin& can "a%e the soft$are "ore relia!le#
The !asic le'el of testin& is;
2. 0n$t test$n*
4. Inte*rat$on test$n*
5. S%stem test$n*
6. A##e)tan#e test$n*.

INTROD0CTION TO DATABASE
PRO9RAMMIN9 IN
DK
COLLEGE MANAGEMENT PROJECT
VIS0AL BASIC
A data!ase is a collection of related data that $or% to&ether to for" a
co"plete dataD"ana&e"ent syste"# Data!ase are created !y 'arios
data!ase syste"s2 sch M(DAccess2 <o5Pro2 d!ase etc# *n @isal )asic
yor application co""nicates $ith these data!ase sin& special data!ase
controls and "ethods#
DATA ACCESS MEC:ANISMS IN VIS0AL BASIC
@isal )asic access the data!ase yo create $ithin the data!ase syste"
sin& there Microsoft data!ase pro&ra""in& o!jectsD DAO,Data Access
O!jects-2 RDO,Re"ote Data O!jects- and ADO,Acti'e? Data O!jects-#
DAO ;Data A##ess O<e#ts3 . At first2 @isal )asic only spported
DAO $hich $as connected to the Microsoft Jet data!ase en&ine ,the
data!ase en&ine in M(DAccess- and allo$ed @isal )asic de'eloper
directly connect to Access ta!lesD as $ell as other data!ase A thro&h
OD)C# >o can say that the root of Microsoft data!ase pro&ra""in&
o!jects !ein&s $ith DAO2 and Microsoft contines to de'elop and enhance
DAO#
RDO ;Remote Data O<e#ts3 A A cople of 'ersions a&o2 Microsoft
introdced RDO for other data!ase types a'aila!le# Microsoft created the
DK
COLLEGE MANAGEMENT PROJECT
OD)C ,Open Data )ase Connecti'ity- standard and spported OD)C $ith
RDO# RDO is li"ited2 in that it doesn3t access Microsoft Jet data!ase and
*(AM ,a dri'er that allo$s access to e5ternal data!ase for"ats sch as
d)ase2 Microsoft E5cel2 and Parado5- data!ase 'ery $ell#
ADO ;A#t$'e= Data O<e#ts3 > <inally Microsoft introdced ADO as
its ne$ data access "ethod to choice# ADO allo$s connection on the sa"e
co"pter2 o'er net$or%s and thro&h the $e!2 and is intended to spersede
OD)C#:e se the ADO Control to connect $ith M(DAccess#
CONNECTIN9 WIT: DATABASE 0SIN9
ACTIVE= DATA OB?ECTS ;ADO3-.
ADOs are the latest Microsoft3s set of data access o!jects# ADO pro'ides
all the featres of DAOs and RDOs# Additionally it also incldes the
Re"ote Data (er'ices ,RD(-2 $ith $hich yo can "o'e data fro" a ser'er
to a client application or :e! pa&e2 "aniplate the data on the client and
retrn pdates to the ser'er in one rond A trip#
The &D* Data 25ntr5l: > The ADO Data Control is si"ilar to a Data
Control and Re"ote Data Control# The ADO Data Control is desi&ned to
create a connection to a data!ase sin& Microsoft Acti'e? Data O!jects
,ADO-#
Addin& a ADO Data Control To a Pro&ra"
To add a ne$ ADO control to yor pro&ra" follo$s these steps ;
1# (elect Project N Co"ponents
DK
COLLEGE MANAGEMENT PROJECT
/# Clic% Microsoft ADO Control F#0 ,OLED)- fro" co"ponents
dialo& !o5#
J# Clic% O% to close the co"ponents dialo& !o5#
This adds the ADO data control to the tool !o5# No$ yo can add this
DK
COLLEGE MANAGEMENT PROJECT
ADO data control to yor for"#
The start $n VIS0AL BASIC 8.@ has (o!!o"$n* $n ste)s are-.
.. 2lic! the start :enu
/. 2lic! the Pr5#ra:s
0. 2lic! the S Visual Studi5 J.F
-. 2lic! the S Visual Basic J.F
DK
COLLEGE MANAGEMENT PROJECT
DK
COLLEGE MANAGEMENT PROJECT
DK
COLLEGE MANAGEMENT PROJECT
'*(I% A*R
The Lo*$n (orm )$#ture has een (o!!o"$n* as-.

DK
COLLEGE MANAGEMENT PROJECT
2*DI%( *A '*(I% A*R
The LO*$n (orm has #od$n* as-.
Private Sub c:dE?itI2lic!89
End
End Sub
Private Sub 25::and.I2lic!8Inde? &s Inte#er9
I6 Te?t..Te?t + K2*''E(E &%&(EE%TK &nd Te?t/.Te?t +
KRRRRK &nd 25:b5..Te?t + KSTUDE%TK Then
DI..Sh5"
Unl5ad e
Else
Res;5nse + s#B5?8KInc5rrect userna:e and
;ass"5rdK<vbRetry2ancel L vb2ritical< K&ccess DeniedK9
End I6
End Sub
Private Sub A5r: '5ad89
DK
COLLEGE MANAGEMENT PROJECT
25:b5..&ddIte: KSTUDE%TK
25:b5..&ddIte: K'E2TUR&RK
End Sub
DI A*R
The MDI (orm )$#ture has een (o!!o"$n* as-.
DK
COLLEGE MANAGEMENT PROJECT
2*DI%( *A DI A*R
End Sub
Private Sub &B*UTIUSI2lic!8Inde? &s Inte#er9
65r:J.Sh5"
End Sub
Private Sub 2)&IR&%I2lic!8Inde? &s Inte#er9
A5r:0.Sh5"
End Sub
Private Sub 25::and1I2lic!8Inde? &s Inte#er9
A5r:-.Sh5"
End Sub
Private Sub 25::andJI2lic!8Inde? &s Inte#er9
65r:J.Sh5"
End Sub
Private Sub 25::andM/I2lic!8Inde? &s Inte#er9
A5r:3.Sh5"
End Sub
DK
COLLEGE MANAGEMENT PROJECT
Private Sub 2*%TE2TIUSI2lic!8Inde? &s Inte#er9
A5r:-.Sh5"
End Sub
Private Sub DIRE2T*RI2lic!8Inde? &s Inte#er9
A5r:/.Sh5"
End Sub
Private Sub P)*T*I(&''&RY2lic!89
A5r:3.Sh5"
End Sub
Private Sub EBITI2lic!8Inde? &s Inte#er9
End
End Sub
Private Sub DIA5r:I'5ad89
End Sub
Private Sub P)*T*I(&''&RYI2lic!8Inde? &s Inte#er9
A5r:3.Sh5"
End Sub
DK
COLLEGE MANAGEMENT PROJECT
Private Sub SI(%I*UTI2lic!8Inde? &s Inte#er9
A5r:..Sh5"
Unl5ad e
End Sub
Private Sub STUDE%TI2lic!8Inde? &s Inte#er9
A5r:.F.Sh5"
End Sub
Private Sub STUDE%TSI2lic!8Inde? &s Inte#er9
A5r:,.Sh5"
End Sub
Private Sub TE&2)ERI2lic!8Inde? &s Inte#er9
A5r:1.Sh5"
End Sub
Private Sub TE&2)ERSI2lic!8Inde? &s Inte#er9
A5r:.0.Sh5"
End Sub
Private Sub VI2EI2)&IR&%I2lic!89
A5r:...Sh5"
DK
COLLEGE MANAGEMENT PROJECT
End Sub
Private Sub @*RHERI2lic!8Inde? &s Inte#er9
A5r:./.Sh5"
End Sub
Private Sub @*RHERSI2lic!8Inde? &s Inte#er9
A5r:M.Sh5"
End Sub
DK
COLLEGE MANAGEMENT PROJECT
%E@ E%TRY A*R *A
STUDE%T
The student (orm )$#ture has een (o!!o"$n* as-.
DK
COLLEGE MANAGEMENT PROJECT
2*DI%( *A %E@ E%TRY
A*R *A STUDE%T
Private Sub c:dIdra66tIaddI2lic!89
&d5dc..Rec5rdset.&dd%e"
End Sub
Private Sub c:dIdra66tIdeleteI2lic!89
&d5dc..Rec5rdset.Delete
s#B5? K Y*UR RE2*RD IS DE'ETEK
End Sub
Private Sub c:dIdra66tIe?itI2lic!89
End
End Sub
Private Sub c:dIdra66tIsaveI2lic!89
&d5dc..Rec5rdset.U;date
s#B5? KY*UR RE2*RD IS S&VEDK
End Sub
Private Sub 25::and0I2lic!89
End
End Sub
Private Sub 25::and1I2lic!8Inde? &s Inte#er9
DI..Sh5"
Unl5ad e
End Sub
Private Sub A5r:I'5ad89
25:b5..&ddIte: K&'EK
25:b5..&ddIte: KAE&'EK
25:b5/.&ddIte: KB2&K
25:b5/.&ddIte: K2&K
25:b5/.&ddIte: KBS2 ITK
DK
COLLEGE MANAGEMENT PROJECT
25:b5/.&ddIte: KS2 ITK
25:b5/.&ddIte: KB.TE2)K
25:b50.&ddIte: KPU%J&BK
25:b50.&ddIte: K)&RY&%&K
25:b50.&ddIte: K)I&2)&' PR&DES)K
25:b50.&ddIte: KR&J&ST)&%K
25:b50.&ddIte: KUTT&R PR&DES)K
25:b50.&ddIte: KJ&U 7 H&S)IRK
25:b5-.&ddIte: K&RITS&RK
25:b5-.&ddIte: KB&T)I%D&K
25:b5-.&ddIte: KAER*EEPURK
25:b5-.&ddIte: KA&EI'H&K
25:b5-.&ddIte: KJ&'&%D)&RK
25:b5-.&ddIte: K*(&K
25:b5-.&ddIte: KUHTS&RK
End Sub
%E@ E%TRY A*R *A
DK
COLLEGE MANAGEMENT PROJECT
TE&2)ERS
The tea#hers (orm )$#ture has een (o!!o"$n* as-.
2*DI%( *A %E@ E%TRY
A*R *A TE&2)ERS
The ST&AA 65r: is c5din# as:>
Private Sub c:dIdra66tIaddI2lic!89
&d5dc..Rec5rdset.&dd%e"
s#B5? Kenter ne" entryK
End Sub
Private Sub c:dIdra66tIdeleteI2lic!89
&d5dc..Rec5rdset.Delete
s#B5? K Y*UR RE2*RD IS DE'ETEK
End Sub
DK
COLLEGE MANAGEMENT PROJECT
Private Sub c:dIdra66tIe?itI2lic!89
End
End Sub
Private Sub c:dIdra66tIsaveI2lic!89
&d5dc..Rec5rdset.U;date
s#B5? KY*UR RE2*RD IS S&VEDK
End Sub
Private Sub 25::and0I2lic!89
End
End Sub
Private Sub 25::andJI2lic!8Inde? &s Inte#er9
DI..Sh5"
Unl5ad e
End Sub
Private Sub A5r:I'5ad89
End Sub
DK
COLLEGE MANAGEMENT PROJECT
%E@ E%TRY A*R *A
@*RHERS
The ne" entr% (orm o( "or+ers )$#ture has een (o!!o"$n*
as-.
DK
COLLEGE MANAGEMENT PROJECT
2*DI%( *A %E@ E%TRY
A*R *A @*RHERS
The ne" entr% (orm o( "or+ers #od$n* as-.
Private Sub c:dIdra66tIaddI2lic!89
&d5dc..Rec5rdset.&dd%e"
s#B5? KE%TER T)E %E@ RE2*RDK
End Sub
Private Sub c:dIdra66tIdeleteI2lic!89
&d5dc..Rec5rdset.Delete
s#B5? K Y*UR RE2*RD IS DE'ETEK
End Sub
Private Sub c:dIdra66tIe?itI2lic!89
End
End Sub
Private Sub c:dIdra66tIsaveI2lic!89
&d5dc..Rec5rdset.U;date
s#B5? KY*UR RE2*RD IS S&VEK
End Sub
Private Sub 25::and0I2lic!89
End
End Sub
Private Sub 25::andMI2lic!8Inde? &s Inte#er9
DI..Sh5"
Unl5ad e
End Sub
Private Sub A5r:I'5ad89
End Sub
DK
COLLEGE MANAGEMENT PROJECT
STUDE%T A*R
The student (orm )$#ture has een (o!!o"$n* as-.

2*DI%( *A STUDE%T A*R
The student (orm $s #od$n* as:>
Private Sub c:dIdar66tI;revi5usI2lic!89
I6 &d5dc..Rec5rdset.B*A Then
&d5dc..Rec5rdset.5ve'ast
Else
&d5dc..Rec5rdset.5vePrevi5us
End I6
DK
COLLEGE MANAGEMENT PROJECT
End Sub
Private Sub c:dIdra66tIdeleteI2lic!89
&d5dc..Rec5rdset.Delete
s#B5? K RE2*RD IS DE'ETEK
End Sub
Private Sub 25::and0I2lic!89
DI..Sh5"
Unl5ad e
End Sub
Private Sub c:dIdra66tIe?itI2lic!89
End
End Sub
Private Sub c:dIdra6tI6irstI2lic!89
&d5dc..Rec5rdset.5veAirst
End Sub
Private Sub c:dIdra6tIlastI2lic!89
&d5dc..Rec5rdset.5ve'ast
End Sub
Private Sub c:dIdra6tIne?tI2lic!89
I6 &d5dc..Rec5rdset.E*A Then
&d5dc..Rec5rdset.5veAirst
Else
&d5dc..Rec5rdset.5ve%e?t
End I6
End Sub
Private Sub 25::and-I2lic!8Inde? &s Inte#er9
DI..Sh5"
Unl5ad e
End Sub
Private Sub labI2lic!8Inde? &s Inte#er9
DK
COLLEGE MANAGEMENT PROJECT
End Sub
Private Sub A5r:I'5ad89
End Sub
TE&2)ER A*R
The tea#her (orm )$#ture has een (o!!o"$n* as-.
2*DI%( *A TE&2)ER A*R
DK
COLLEGE MANAGEMENT PROJECT
The DEPOSIT (orm $s #od$n* as:>
Private Sub c:dIdar66tI;revi5usI2lic!89
I6 &d5dc..Rec5rdset.B*A Then
&d5dc..Rec5rdset.5ve'ast
Else
&d5dc..Rec5rdset.5vePrevi5us
End I6
End Sub
Private Sub c:dIdra66tIdeleteI2lic!89
&d5dc..Rec5rdset.Delete
s#B5? K RE2*RD IS DE'ETEK
End Sub
Private Sub c:dIdra66tIe?itI2lic!89
End
End Sub
Private Sub c:dIdra6tI6irstI2lic!89
&d5dc..Rec5rdset.5veAirst
End Sub
Private Sub c:dIdra6tIlastI2lic!89
&d5dc..Rec5rdset.5ve'ast
End Sub
Private Sub c:dIdra6tIne?tI2lic!89
I6 &d5dc..Rec5rdset.E*A Then
&d5dc..Rec5rdset.5veAirst
Else
&d5dc..Rec5rdset.5ve%e?t
End I6
End Sub
DK
COLLEGE MANAGEMENT PROJECT
@*RHER A*R
The "or+er (orm )$#ture has een (o!!o"$n* as-.
2*DI%( *A @*RHER A*R
The WIT:DRAW (orm $s #od$n* as:>
Private Sub c:dIdar66tI;revi5usI2lic!89
I6 &d5dc..Rec5rdset.B*A Then
&d5dc..Rec5rdset.5ve'ast
Else
&d5dc..Rec5rdset.5vePrevi5us
End I6
End Sub
Private Sub c:dIdra66tIdeleteI2lic!89
DK
COLLEGE MANAGEMENT PROJECT
&d5dc..Rec5rdset.Delete
s#B5? K RE2*RD IS DE'ETEK
End Sub
Private Sub c:dIdra66tIe?itI2lic!89
End
End Sub
Private Sub c:dIdra6tI6irstI2lic!89
&d5dc..Rec5rdset.5veAirst
End Sub
Private Sub c:dIdra6tIlastI2lic!89
&d5dc..Rec5rdset.5ve'ast
End Sub
Private Sub c:dIdra6tIne?tI2lic!89
I6 &d5dc..Rec5rdset.E*A Then
&d5dc..Rec5rdset.5veAirst
Else
&d5dc..Rec5rdset.5ve%e?t
End I6
End Sub
Private Sub 25::and- 2lic!8Inde? &s Inte#er9
DI..Sh5"
Unl5ad e
End Sub
Private Sub A5r:I'5ad89
End Sub
&B*UT US
DK
COLLEGE MANAGEMENT PROJECT
2*DI%( *A &B*UT US A*R
Private Sub c:dIban!Ie?itI2lic!89
End
End Sub
Private Sub 25::and-I2lic!8Inde? &s Inte#er9
DI..Sh5"
Unl5ad e
End Sub
Private Sub A5r:I'5ad89
e.)ei#ht + J-,1
e.@idth + MJFF
End Sub
DK
COLLEGE MANAGEMENT PROJECT
Private Sub Ti:er.ITi:er89
I6 Picture..T5; N+ >/JFF Then Picture..T5; + /3/F
Picture..T5; + Picture..T5; > .1
End Sub
2)&IR&% A*R
2*DI%( *A
2)&IR&% A*R
Private Sub 25::and.FJI2lic!8Inde? &s Inte#er9
A5r:..Sh5"
DK
COLLEGE MANAGEMENT PROJECT
Unl5ad e
End Sub
Private Sub 25::and0FI2lic!8Inde? &s Inte#er9
End
End Sub
Private Sub 25::and-I2lic!89
DI..Sh5"
Unl5ad e
End Sub
DIRE2T*R A*R
DK
COLLEGE MANAGEMENT PROJECT
2*DI%( *A
DIRE2T*R A*R
Private Sub 25::and.F1I2lic!8Inde? &s Inte#er9
A5r:..Sh5"
Unl5ad e
End Sub
Private Sub 25::and0FI2lic!8Inde? &s Inte#er9
End
End Sub
Private Sub 25::and-I2lic!89
DI..Sh5"
Unl5ad e
End Sub
DK
COLLEGE MANAGEMENT PROJECT
VI2E 2)&IR&% A*R
2*DI%( *A VI2E
2)&IR&% A*R
Private Sub 25::and.FJI2lic!8Inde? &s Inte#er9
A5r:..Sh5"
Unl5ad e
End Sub
Private Sub 25::and0FI2lic!8Inde? &s Inte#er9
End
End Sub
Private Sub 25::and-I2lic!89
DI..Sh5"
DK
COLLEGE MANAGEMENT PROJECT
Unl5ad e
End Sub
2*%TE2T US A*R
2*DI%( *A 2*%TE2T US
A*R
Di: B &s B55lean
Private Sub 25::and.I2lic!89
A5r:..Sh5"
Unl5ad e
End Sub
Private Sub 25::and0FI2lic!8Inde? &s Inte#er9
End
End Sub
DK
COLLEGE MANAGEMENT PROJECT
Private Sub 25::and-I2lic!89
DI..Sh5"
Unl5ad e
End Sub
Private Sub 25::andJI2lic!8Inde? &s Inte#er9
65r:J.Sh5"
Unl5ad e
End Sub
Private Sub A5r:I'5ad89
End Sub
Private Sub 'abel.I2lic!89
B + True
End Sub
Private Sub Ti:er.ITi:er89
I6 B + True Then
'abel..A5re25l5r + vbBlac!
B + %5t B
Else
'abel..A5re25l5r + vbBlue
B + %5t B
End I6
End Sub
P)*T* (&''ERY A*R
DK
COLLEGE MANAGEMENT PROJECT
2*DI%( *A P)*T*
(&''ERY A*R
Di: B &s B55lean
Private Sub 25::and.I2lic!89
A5r:..Sh5"
Unl5ad e
End Sub
Private Sub 25::and0-I2lic!8Inde? &s Inte#er9
End
End Sub
Private Sub 25::and-I2lic!89
DK
COLLEGE MANAGEMENT PROJECT
DI..Sh5"
Unl5ad e
End Sub
Private Sub 25::and1I2lic!8Inde? &s Inte#er9
A5r:-.Sh5"
Unl5ad e
End Sub
Private Sub 25::andJI2lic!8Inde? &s Inte#er9
65r:J.Sh5"
Unl5ad e
End Sub
Private Sub A5r:I'5ad89
End Sub
Private Sub 'abel.I2lic!89
B + True
End Sub
Private Sub Ti:er.ITi:er89
I6 B + True Then
DK
COLLEGE MANAGEMENT PROJECT

Vous aimerez peut-être aussi