Академический Документы
Профессиональный Документы
Культура Документы
CLASS DIAGRAM
ACTIVITY DIAGRAM
SEQUENCE DIAGRAM
COLLABRATION DIAGRAM
1: Login 3: Getdetail 6: Look for course 8: Select 10: Register Student 1 : !rint System
*: Resut 1": +alidate 1#: +alidation ": validate #: $uery %: &'date 11: ()eck
COMPONENT DIAGRAM
Register
Student
+ie-
,dminist rator
(atalog
Databas e
DEPLOYMENT DIAGRAM
,ccess Database
(ourse Reserv...
,dminis trator
Student
IMPLEMENTATION Form1
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!course$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Students$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(1) And 'e0t1.'e0t ! rs(1)) '&en a ! 'rue "orm2.S&ow "orm1.3ide -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *serName and Password$) -nd /, -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub
Form2
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!Course$ rs.ActiveConnection ! cn /, ('e0t2.'e0t ! 'e0t5.'e0t) '&en %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Students$ -nd %it& %it& rs .AddNew ."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t1.'e0t ."ields(1) ! 'e0t2.'e0t /, (O#tion1 ! 'rue) '&en ."ields(2) ! O#tion1.Ca#tion -nd /, /, (O#tion1 ! 'rue) '&en ."ields(2) ! O#tion1.Ca#tion -nd /, ."ields(5) ! 7al('e0t8.'e0t) ."ields(8) ! 'e0t9.'e0t ."ields(9) ! 'e0t:.'e0t
."ields(:) ! 'e0t;.'e0t ."ields(;) ! 'e0t<.'e0t .*#date .s4Bo0 ($ e4istration Success. Please )o4in$) "orm1.S&ow *nload .e -nd %it& -lse .s4Bo0 ($Password doesn=t matc&$) -nd /, -nd Sub Private Sub Command1_Click() *nload .e -nd Sub Public Sub calCuto,,() 'e0t<.'e0t ! 7al('e0t9.'e0t) > 5 ? 7al('e0t:.'e0t) > 5 ? 7al('e0t;.'e0t) > 1 -nd Sub Private Sub 'e0t9_C&an4e() calCuto,, -nd Sub Private Sub 'e0t:_C&an4e() calCuto,, -nd Sub Private Sub 'e0t;_C&an4e() calCuto,, -nd Sub Form3
Private Sub Command1_Click() "orm2.S&ow *nload .e -nd Sub Private Sub 'e0t1_C&an4e() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!course$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Colle4es$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en 'e0t1.'e0t ! rs(1) 'e0t2.'e0t ! rs(1) 'e0t5.'e0t ! rs(2) 'e0t8.'e0t ! rs(5)
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!Course$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom eservations$ -nd %it& %it& rs .AddNew ."ields(6) ! "orm1.'e0t1.'e0t ."ields(1) ! 'e0t1.'e0t ."ields(1) ! 'e0t1.'e0t .*#date .s4Bo0 ($ esrvation Success$) -nd %it& -nd Sub Private Sub Command1_Click() *nload .e -nd Sub
CLASS DIAGRAM :-
ACTIVITY DIAGRAM :-
INTERACTION DIAGRAM @A
COLLABRATION DIAGRAM
1: Login to -ebsite #: Look for train details 6: c)eck for availability for seats 8: c)oose a s'ecific seats 10: 'ay via credit1debit 1": cancellation 'rocess 1#: confirm cancellation 16: Logout !assenger 1: 'ass 3: ,ckno-ledged t)e login : 'rovide corres'onding train details *: Dis'lay available seats %: Dis'lay t)e 'rice sc)eme 11: ,ckno-ledged 'ay 13: ,sk confirmation of cancellation ": ()eck login details 1 : u'data database (lient /nd system:system
COMPONENT DIAGRAM
(ancellat ion
!asseng er
Databas e
,dminist rator
Reservati on
DEPLOYMENT DIAGRAM
,ccess Database
/2 0icketi...
,dminis trator
!assen ger
IMPLEMENTATION Form1
Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Private Sub Command1_Click() "orm2.S&ow *nload .e -nd Sub Private Sub Command2_Click() "orm5.S&ow *nload .e
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!'icket$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom eservations$ -nd %it& %it& rs .AddNew ."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t2.'e0t ."ields(2) ! 7al('e0t5.'e0t) .*#date .s4Bo0 ($ eservation Success.$) 'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ 'e0t2.'e0t ! $$ 'e0t5.'e0t ! $$ -nd %it&
-nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub "orm2 Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!'icket$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom eservations$ -nd %it& rs..ove"irst %&ile (Not rs.-O") /, (rs(6) ! 7al('e0t1.'e0t)) '&en rs.Delete rs.*#date -nd /, %end -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Form4 Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!ticket$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom 'rains$
-nd %it&
rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(1) And 'e0t1.'e0t ! rs(2)) '&en 'e0t2.'e0t ! 'e0t2.'e0t ? StrB(rs(6)) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $. $ a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct Details$) -nd /, -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub
Login
(ustomer
0ransaction
3ank Database
De'osit
4it)dra-
3alance /n5uiry
CLASS DIAGRAM
3ank 3ank6ame : String 3ank(ity : String de'osit89 -it)dra-89 c)eckbal89
ACTIVITY DIAGRAM
Login
4it)dra-
De'osit
3alnce /n5uiry
Logout
SEQUENCE DIAGRAM
(ustomer (redit System 3ank Database
COLLABRATION DIAGRAM
1: Login : 0ransaction %: !in ()ange (ustomer #: Login Success 8: 0ransaction Success 1": !in ()ange Success (redit System
3: +alidation Success *: 0ransaction +alidated 11: Details &'dated ": +alidate Details 6: +alidate 0ransaction 10: &'date Details
3ank Database
COMPONENT DIAGRAM
(ustomer (redit (ard
Databas e
3ank
DEPLOYMENT DIAGRAM
(ustomer (redit (ard !rocessi... ,ccess Database
IMPLEMENTATION Form1
Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Private Sub Command1_Click() "orm2.S&ow *nload .e -nd Sub Private Sub Command2_Click() *nload .e -nd Sub Form2
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!credit$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient
.)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Admin$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(1) And 'e0t1.'e0t ! rs(1)) '&en a ! 'rue "orm:.S&ow *nload .e -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *serName and Password$) -nd /, -nd Sub Form3
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!credit$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Customers$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(1) And 'e0t1.'e0t ! rs(1)) '&en a ! 'rue
"orm5.S&ow "orm2.3ide -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *serName and Password$) -nd /, -nd Sub Form4
Private Sub Command1_Click() "orm8.S&ow *nload .e -nd Sub Private Sub Command1_Click() "orm9.S&ow *nload .e -nd Sub Private Sub "orm_)oad() "orm5.'e0t1 ! "orm2.'e0t1.'e0t -nd Sub Form5
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!credit$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Customers$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (rs(1) ! "orm2.'e0t1.'e0t) '&en /, (O#tion1 ! 'rue) '&en rs(2) ! rs(2) ? 7al('e0t1.'e0t) .s4Bo0 ($'ransaction Com#lete$) -nd /, /, (O#tion1 ! 'rue) '&en /, ((rs(2) ? 86666) D 7al('e0t1.'e0t)) '&en rs(2) ! rs(2) A 7al('e0t1.'e0t) .s4Bo0 ($'ransaction Com#lete$) -lse .s4Bo0 ($Credit Amount -0ceeds$) -nd /, -nd /, -nd /, rs..oveNe0t %end 'e0t1.'e0t ! $$ -nd Sub Private Sub Command1_Click() "orm5.S&ow *nload .e -nd Sub Form
Private Sub Command1_Click() "orm5.S&ow *nload .e -nd Sub Private Sub "orm_)oad() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!credit$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Customers$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (rs(1) ! "orm2.'e0t1.'e0t) '&en 'e0t1.'e0t ! rs(2) -nd /, rs..oveNe0t %end -nd Sub Form!
Private Sub Command1_Click() "orm;.S&ow *nload .e -nd Sub Private Sub Command1_Click() *nload .e -nd Sub "orm; Private Sub Command1_Click() Dim cn As New ADODB.Connection
Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!Credit$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Customers$ -nd %it&
rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en 'e0t1.'e0t ! rs(1) 'e0t2.'e0t ! rs(2) 'e0t5.'e0t ! rs(5) a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct /D$) -nd /, -nd Sub Private Sub Command1_Click() "orm:.S&ow *nload .e -nd Sub
USECASE DIAGRAM
Login
:R
Searc) an /ntry
+ie- an /ntry
CLASS DIAGRAM
!ersonnel 7d : 7nteger 6ame : String Gender : String ,ge : 7nteger Desig : Designation /2;ail : String ne-!ersonnel89 edit!ersonnel89
ACTIVITY DIAGRAM
Login
+ie- /ntry
Searc) /ntry
3y 7d
3y Designation
Logout
SEQUENCE DIAGRAM
:R Login
S!; System
S!; Database
/ntry /dited
COLLABRATION DIAGRAM
1: Login : ,dd 6e- /ntry %: /dit /ntry 13: Searc) /ntry :R #: Login Success 8: /ntry ,dded 1": /ntry /dited 16: Return Details 3: +alidation Success *: Details ,dded 11: Details &'dated 1 : Return Data S!; System
": +alidate Details 6: ,dd Details 10: &'date Details 1#: Retrive Data
S!; Database
COMPONENT DIAGRAM
:R !ersonnel Designation
DEPLOYMENT DIAGRAM
:R
S!; System
,ccess Database
IMPLEMENTATION Form1
Private Sub Command1_Click() Dim a As Boolean a ! "alse /, ('e0t1.'e0t ! $admin$ And 'e0t1.'e0t ! $admin$) '&en a ! 'rue "orm1.S&ow *nload .e -nd /, /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *sername and Password$) -nd /, -nd Sub Form2
Private Sub Command1_Click() "orm2.S&ow *nload .e -nd Sub Private Sub Command1_Click()
"orm5.S&ow *nload .e -nd Sub Private Sub Command2_Click() "orm8.S&ow *nload .e -nd Sub Private Sub Command5_Click() *nload .e -nd Sub Form3
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!So,tware$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic
.O#en $select + ,rom Details$ -nd %it& %it& rs .AddNew ."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t1.'e0t /, (O#tion1 ! 'rue) '&en ."ields(1) ! O#tion1.Ca#tion -nd /, /, (O#tion1 ! 'rue) '&en ."ields(1) ! O#tion1.Ca#tion -nd /, ."ields(2) ! 7al('e0t2.'e0t) ."ields(5) ! 'e0t5.'e0t ."ields(8) ! 'e0t8.'e0t ."ields(9) ! 'e0t9.'e0t .*#date -nd %it& 'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ 'e0t2.'e0t ! $$ 'e0t5.'e0t ! $$ 'e0t8.'e0t ! $$ 'e0t9.'e0t ! $$ O#tion1 ! "alse O#tion1 ! "alse -nd Sub Form4
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean
a ! "alse cn.O#en $dsn!so,tware$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Details$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? StrB(rs(2)) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(5) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(8) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(9) ? $C $ a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct -m#lo(ee /D$) -nd /, 'e0t1.'e0t ! $$ -nd Sub Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!so,tware$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Details$ -nd %it& rs..ove"irst
%&ile Not rs.-O" /, ('e0t1.'e0t ! rs(5)) '&en 'e0t2.'e0t ! 'e0t2.'e0t ? StrB(rs(6)) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? StrB(rs(2)) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(8) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(9) ? $. $ a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct Desi4nation$) -nd /, 'e0t1.'e0t ! $$ -nd Sub Private Sub Command2_Click() "orm1.S&ow *nload .e -nd Sub Form5
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset
Dim a As Boolean a ! "alse cn.O#en $dsn!so,tware$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Details$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en 'e0t1.'e0t ! rs(1) 'e0t2.'e0t ! rs(1) 'e0t5.'e0t ! rs(2) 'e0t8.'e0t ! rs(5) 'e0t9.'e0t ! rs(8) 'e0t:.'e0t ! rs(9) a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct /D$) -nd /, -nd Sub
USECASE DIAGRAM
/?7S076G &S/R
7SS&/
S0=R/
R/0&R6
CLASS DIAGRAM
Data3ase 3ook issue 3ook Return &ser information 3ook 7nformation ;ain89 +alidate user89
3ook Searc) 3ook name ,ut)or ,vailable books Regno 3ook Searc)89
&ser name Regno ,vailable books fine 6e- user89 /<isting &ser89
ACTIVITY DIAGRAM
start Login
6o
>es
/<isting user
3ook searc)
Return 3ook
,vailable 3ooks
@ine
7ssue book
/nd
SEQUENCE DIAGRAM
user 1: ne- user ": save system data base
: dis'lay information
6: issue *: u'date 8: close %: save 10: return 11: u'date 1": close 13: save
COLLABORATION DIAGRAM 1: ne- user 3: e<isting user 6: issue 8: close 10: return 1": close user system
COMPONENT DIAGRAM
&ser
3ookSearc)
Database
DEPLOYMENT DIAGRAM
&ser
3ook 3ank
,ccess Database
IMPLEMENTATION Form1
Private Sub Command1_Click() Dim a As Boolean a ! "alse /, ('e0t1.'e0t ! $admin$ And 'e0t1.'e0t ! $admin$) '&en a ! 'rue "orm1.S&ow *nload .e -nd /, /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *sername and Password$) -nd /, -nd Sub Form2
Private Sub Command1_Click() "orm2.S&ow *nload .e -nd Sub Private Sub Command1_Click() "orm5.S&ow
*nload .e -nd Sub Private Sub Command2_Click() "orm8.S&ow *nload .e -nd Sub Private Sub Command5_Click() "orm9.S&ow *nload .e -nd Sub Private Sub Command8_Click() *nload .e -nd Sub Form3
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!BookBank$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Students$ -nd %it& %it& rs .AddNew ."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t1.'e0t .*#date -nd %it& 'e0t1.'e0t ! $$ -nd Sub
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!BookBank$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Books$ -nd %it& %it& rs .AddNew ."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t1.'e0t ."ields(1) ! 7al('e0t2.'e0t) .*#date -nd %it& 'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ 'e0t2.'e0t ! $$ -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub
Form5
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs1 As New ADODB. ecordset Dim rs1 As New ADODB. ecordset Dim a As Boolean Dim b As Boolean a ! "alse b ! "alse cn.O#en $dsn!BookBank$ rs1.ActiveConnection ! cn rs1.ActiveConnection ! cn %it& rs1 .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Students$ -nd %it& %it& rs1 .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Books$ -nd %it& rs1..ove"irst %&ile Not rs1.-O" /, (7al('e0t1.'e0t) ! rs1(6)) '&en a ! 'rue rs1..ove"irst %&ile Not rs1.-O" /, (7al('e0t1.'e0t) ! rs1(6)) '&en b ! 'rue /, (rs1(1) D 6) '&en rs1(1) ! rs1(1) A 1 rs1.*#date .s4Bo0 $Book is /ssued$ -lse .s4Bo0 $No co#ies o, books is avilable$ -nd /,
-nd /, rs1..oveNe0t %end -nd /, rs1..oveNe0t %end 'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ /, (a ! "alse) '&en .s4Bo0 ($-nter correct Student /D$) -nd /, /, (a ! 'rue And b ! "alse) '&en .s4Bo0 ($-nter correct Book /D$) -nd /, -nd Sub Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs1 As New ADODB. ecordset Dim rs1 As New ADODB. ecordset Dim a As Boolean Dim b As Boolean a ! "alse b ! "alse cn.O#en $dsn!BookBank$ rs1.ActiveConnection ! cn rs1.ActiveConnection ! cn %it& rs1 .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Students$ -nd %it& %it& rs1 .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Books$ -nd %it& rs1..ove"irst %&ile Not rs1.-O" /, (7al('e0t1.'e0t) ! rs1(6)) '&en a ! 'rue rs1..ove"irst %&ile Not rs1.-O" /, (7al('e0t1.'e0t) ! rs1(6)) '&en b ! 'rue /, (rs1(1) D 16) '&en .s4Bo0 $Book is enewed$ -lse
.s4Bo0 $Please return t&e Book.$ -nd /, -nd /, rs1..oveNe0t %end -nd /, rs1..oveNe0t %end 'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ /, (a ! "alse) '&en .s4Bo0 ($-nter correct Student /D$) -nd /, /, (a ! 'rue And b ! "alse) '&en .s4Bo0 ($-nter correct Book /D$) -nd /, -nd Sub Private Sub Command2_Click() "orm1.S&ow *nload .e -nd Sub Form
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs1 As New ADODB. ecordset Dim rs1 As New ADODB. ecordset Dim a As Boolean Dim b As Boolean a ! "alse b ! "alse cn.O#en $dsn!BookBank$ rs1.ActiveConnection ! cn rs1.ActiveConnection ! cn %it& rs1
.Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Students$ -nd %it& %it& rs1 .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Books$ -nd %it& rs1..ove"irst %&ile Not rs1.-O" /, (7al('e0t1.'e0t) ! rs1(6)) '&en a ! 'rue rs1..ove"irst %&ile Not rs1.-O" /, (7al('e0t1.'e0t) ! rs1(6)) '&en b ! 'rue rs1(1) ! rs1(1) ? 1 .s4Bo0 ($Book is eturned$) -nd /, rs1..oveNe0t %end -nd /, rs1..oveNe0t 'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct Student /D$) -nd /, /, (a ! 'rue And b ! "alse) '&en .s4Bo0 ($-nter correct Book /D$) -nd /, -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub
USECASE DIAGRAM:
student
8from actor9
databse
8from actor9
CLASS DIAGRAM:
student name id address ')one number subAect name select t)e subAect89 a''ly89 cancel89 modify89 e<am database id name address ')one number subAect u'date89 modify89 select89 dis'lay id89
ACTIVITY DIAGRAM:
cancel regisrtation
modify databse
SEQUENCE DIAGRAM:
student enter t)e datas e<am registration databse
generation of registration id
note id
modify databse
COLLABRATION DIAGRAM:
student 1: enter t)e datas ": select t)e subAect 3: a''ly for t)e e<am
e<am registration
#:
databse
COMPONENT DIAGRAM:
DEPLOYMENT DIAGRAM:
student e<am regis tration
Dat abs e
IMPLEMENTATION Form1
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!e0am$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Students$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(1) And 'e0t1.'e0t ! rs(1)) '&en a ! 'rue "orm2.S&ow "orm1.3ide -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *serName and Password$) -nd /, -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub
Form2
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!-0am$ rs.ActiveConnection ! cn /, ('e0t2.'e0t ! 'e0t5.'e0t) '&en %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Students$ -nd %it& %it& rs .AddNew ."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t1.'e0t ."ields(1) ! 'e0t2.'e0t /, (O#tion1 ! 'rue) '&en ."ields(2) ! O#tion1.Ca#tion -nd /, /, (O#tion1 ! 'rue) '&en ."ields(2) ! O#tion1.Ca#tion -nd /, ."ields(5) ! 7al('e0t8.'e0t) ."ields(8) ! 'e0t9.'e0t ."ields(9) ! 'e0t:.'e0t ."ields(:) ! 'e0t;.'e0t .*#date .s4Bo0 ($ e4istration Success. Please )o4in$) "orm1.S&ow *nload .e
-nd %it& -lse .s4Bo0 ($Password doesn=t matc&$) -nd /, -nd Sub Private Sub Command1_Click() *nload .e -nd Sub Form3
Private Sub Command1_Click() "orm5.S&ow *nload .e -nd Sub Private Sub Command1_Click() "orm8.S&ow *nload .e -nd Sub Private Sub Command2_Click() *nload .e -nd Sub Form4 Private Sub Command1_Click() "orm2.S&ow *nload .e -nd Sub Private Sub 'e0t1_C&an4e() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset
%it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom -0ams$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en 'e0t1.'e0t ! rs(1) 'e0t2.'e0t ! rs(1) 'e0t5.'e0t ! rs(2) -nd /, rs..oveNe0t %end -nd Sub Form5
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!-0am$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom -0ams$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en rs(5) ! rs(5) ? $C $ ? "orm1.'e0t1.'e0t rs.*#date a ! 'rue .s4Bo0 $-0am A##lied$ -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct -0am /D$) -nd /, -nd Sub Private Sub Command1_Click() *nload .e -nd Sub
USECASE DIAGRAM:
!urc)ase
Sales
!R=D&(/R
!rice1item
D/,L/R
!rice17tem
S:=! B//!/R
7tems ordered
7tems ordered
0otal 'rice
0otal 'rice
CLASS DIAGRAM:
;,6&@,(0&R/R ;anufacturer 6ame (om'any 6ame Date of ;anufactured ,ddress (ontact 6umber !rice !urc)ase89 Sales89
D//L/R Dealer 6ame Date of 7tems Received ,ddress (ontact 6umber !rice 6o of 7tems =rdered 6o of 7tems Sold !urc)ase89 Sales89 S)o- stock Details89 S:=!B//!/R S)o'Bee'er 6ame ,ddress (ontact 6umber !rice 6o of 7tems =rdered !urc)ase89 Sales89
ACTIVITY DIAGRAM:
!urc)ase
Sales
Stock
/<it
6o of 7tems ordered
0otal !rice
SEQUENCE DIAGRAM:
!R=D&(/R 1.!&R(:,S/ D/,L/R S:=!B//!/R
COLLABORATION DIAGRAM:
: 3.!R7(/170/; %: .0=0,L !R7(/ !R=D&( /R 1: 1.!&R(:,S/ 3: ".(=;!,6> 6,;/ *: #.6= =@ 70/;S =RD/R/D #: ".(=;!,6> 6,;/ 8: #.6= =@ 70/;S =RD/R/D 10: .(:/(B76G 470: ,+,7L,37L70> ": 1.S,L/S 6: 3.!R7(/170/; 11: 6.70/;S 76S&@@7(7/6010=0,L !R7(/ D/,L/R
S:=!B// !/R
COMPONENT DIAGRAM:
S)o'Bee'er Dealer ;anufacturer
DEPLOYMENT DIAGRAM:
S)o'Be e'er Stock ;aint... ,ccess Database
IMPLEMENTATION: Form1
Private Sub Command1_Click() Dim a As Boolean a ! "alse /, ('e0t1.'e0t ! $admin$ And 'e0t1.'e0t ! $admin$) '&en a ! 'rue "orm1.S&ow *nload .e -nd /, /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *sername and Password$) -nd /, -nd Sub Form2
Private Sub Command1_Click() "orm2.S&ow *nload .e -nd Sub Private Sub Command1_Click() "orm5.S&ow *nload .e -nd Sub
Private Sub Command2_Click() "orm8.S&ow *nload .e -nd Sub Private Sub Command5_Click() *nload .e -nd Sub Form3
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!Stock$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Stock$ -nd %it& %it& rs .AddNew ."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t1.'e0t ."ields(1) ! 'e0t2.'e0t ."ields(2) ! 7al('e0t5.'e0t) .*#date -nd %it&
.s4Bo0 ($New ecord Added$) 'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ 'e0t2.'e0t ! $$ 'e0t5.'e0t ! $$ -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Form4
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!Stock$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Stock$ -nd %it& rs..ove"irst %&ile Not rs.-O"
/, (7al('e0t1.'e0t) ! rs(6)) '&en 'e0t1.'e0t ! rs(1) 'e0t2.'e0t ! rs(1) 'e0t5.'e0t ! rs(2) a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct /D$) -nd /, -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Form5
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!Stock$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient
.)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Stock$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en %it& rs ."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t1.'e0t ."ields(1) ! 'e0t2.'e0t ."ields(2) ! 7al('e0t5.'e0t) .*#date -nd %it& .s4Bo0 ($ ecord *#dated$) -nd /, rs..oveNe0t %end 'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ 'e0t2.'e0t ! $$ 'e0t5.'e0t ! $$ -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Private Sub 'e0t1_C&an4e() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!Stock$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Stock$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en 'e0t1.'e0t ! rs(1)
'e0t2.'e0t ! rs(1) 'e0t5.'e0t ! rs(2) a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct /D$) -nd /, -nd Sub
USECASE DIAGRAM
Database
CLASS DIAGRAM
3ook 3ook 7d : 7nteger 3ook 6ame : String ,ut)or : String !ublication : String +ie-3ook89 /dit3ook89 Searc)3ook89
ACTIVITY DIAGRAM
Login
3y !ublication
3y ,ut)or
SEQUENCE DIAGRAM
System
Database
7nsert Details
Searc) Details
Retrive Details Send Details Send Details
COLLABORATION DIAGRAM
1: ,dd 3ook Details : Searc) Details %: /dit Details &ser #: Details ,dded 8: Send Details 1": /dition Success 3: Successfully 7nserted *: Send Details 11: &date Success ": 7nsert Details 6: Retrive Details 10: &'date Details System
Database
COMPONENT DIAGRAM
&ser
3ook
Database
DEPLOYMENT DIAGRAM
&ser
/23ook ;anageme...
,ccess Database
IMPLEMENTATION
Form1
Private Sub Command1_Click() Dim a As Boolean a ! "alse /, ('e0t1.'e0t ! $admin$ And 'e0t1.'e0t ! $admin$) '&en a ! 'rue "orm1.S&ow *nload .e -nd /, /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *sername and Password$) -nd /, -nd Sub Form2
Private Sub Command1_Click() "orm2.S&ow *nload .e -nd Sub Private Sub Command1_Click() "orm5.S&ow
*nload .e -nd Sub Private Sub Command2_Click() "orm8.S&ow *nload .e -nd Sub Private Sub Command5_Click() *nload .e -nd Sub Form3
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!ebook$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Details$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en 'e0t1.'e0t ! rs(1) 'e0t2.'e0t ! rs(1)
'e0t5.'e0t ! rs(2) a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct /D$) -nd /, -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Form4
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!-Book$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Details$ -nd %it& %it& rs .AddNew
."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t1.'e0t ."ields(1) ! 'e0t2.'e0t ."ields(2) ! 'e0t5.'e0t .*#date -nd %it& 'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ 'e0t2.'e0t ! $$ 'e0t5.'e0t ! $$ -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Form5
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!ebook$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic
.O#en $select + ,rom Details$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(1)) '&en 'e0t2.'e0t ! 'e0t2.'e0t ? StrB(rs(6)) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(2) ? $. $ a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct Aut&or Name$) -nd /, -nd Sub Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!ebook$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Details$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(2)) '&en 'e0t2.'e0t ! 'e0t2.'e0t ? StrB(rs(6)) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $. $ a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct Publis&er Name$)
-nd /, -nd Sub Private Sub Command2_Click() "orm1.S&ow *nload .e -nd Sub
USECASE DIAGRAM:
Login
Register
Database
,''ly Dobs
CLASS DIAGRAM:
/m'loyee 6ame : String ,ge : 7nteger Gender : Se< ,ddress : String Login89 Register89
ACTIVITY DIAGRAM:
Login
Searc) Aobs
,''ly Dobs
/dit Details
Logout
SEQUENCE DIAGRAM
&ser Login
Database
S)o- Details
COLLABORATION DIAGRAM:
1: Login : Searc) Dobs %: ,''ly Dobs 13: /dit Details &ser #: Login sucess 8: S)o- Details 1": Dob ,''lied 16: Details /dited 3: +alid user *: Send Details 11: /ntry Successful 1 : &'dation Success ": +alidate details 6: Retrive Details 10: ;ake /ntry 1#: &'date Details Recruitment Syste
Database
COMPONENT DIAGRAM:
&ser
,''lication
/m'loyer
DEPLOYMENT DIAGRAM:
/m'loyee
Recruitment System
,ccess Databe
IMPLEMENTATION: Form1:
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!recruit$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom A##licants$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(1) And 'e0t1.'e0t ! rs(1)) '&en a ! 'rue "orm2.S&ow "orm1.3ide -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *serName and Password$) -nd /, -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub
Form2
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn! ecruit$ rs.ActiveConnection ! cn /, ('e0t2.'e0t ! 'e0t5.'e0t) '&en %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom A##licants$ -nd %it& %it& rs .AddNew ."ields(6) ! 7al('e0t1.'e0t) ."ields(1) ! 'e0t1.'e0t ."ields(1) ! 'e0t2.'e0t /, (O#tion1 ! 'rue) '&en ."ields(2) ! O#tion1.Ca#tion -nd /,
/, (O#tion1 ! 'rue) '&en ."ields(2) ! O#tion1.Ca#tion -nd /, ."ields(5) ! 7al('e0t8.'e0t) ."ields(8) ! 'e0t9.'e0t ."ields(9) ! 'e0t:.'e0t .*#date .s4Bo0 ($ e4istration Success. Please )o4in$) "orm1.S&ow *nload .e -nd %it& -lse .s4Bo0 ($Password doesn=t matc&$) -nd /, -nd Sub Private Sub Command1_Click() *nload .e -nd Sub Form3
Private Sub Command1_Click() "orm5.S&ow *nload .e -nd Sub Private Sub Command1_Click() "orm8.S&ow *nload .e -nd Sub Private Sub "orm_)oad() 'e0t1.'e0t ! "orm1.'e0t1.'e0t -nd Sub Form4
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!recruit$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Eobs$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(1)) '&en 'e0t2.'e0t ! 'e0t2.'e0t ? StrB(rs(6)) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(2) ? $. $ a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct Com#an( Name$) -nd /, -nd Sub Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset
Dim a As Boolean a ! "alse cn.O#en $dsn!recruit$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Eobs$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, ('e0t1.'e0t ! rs(1)) '&en 'e0t2.'e0t ! 'e0t2.'e0t ? StrB(rs(6)) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(1) ? $C $ 'e0t2.'e0t ! 'e0t2.'e0t ? rs(2) ? $. $ a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct Com#an( Name$) -nd /, -nd Sub Private Sub Command2_Click() "orm2.S&ow *nload .e -nd Sub Form5
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset
Dim a As Boolean a ! "alse cn.O#en $dsn!recruit$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Eobs$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en rs(5) ! rs(5) ? $C $ ? "orm1.'e0t1.'e0t rs.*#date a ! 'rue .s4Bo0 $Eob A##lied$ -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct Com#an( Name$) -nd /, -nd Sub
USECASE DIAGRAM
CLASS DIAGRAM
ACTIVITY DIAGRAM
!ayroll
/m'loyee Detail
Salary
/m' 'ayroll
=fficial detail
3asic
!@
=t)er
SEQUENCE DIAGRAM
/m'loyee Login +alid /nter /m'loyee Details Store 7n Database Return Details Dis'lay details System /m'loyee Database
,sk @or Salary Sli' ,sk @or 3asic !ayE!@ Return Details
/<it
COLLABRATION DIAGRAM
1: Login 3: /nter /m'loyee Details *: ,sk @or Salary Sli' /m'loyee ": +alid 6: Dis'lay details 10: (alculate F Dis'lay Salary 11: /<it : Return Details %: Return Details System
/m'loyee Database
COMPONENT DIAGRAM
/m'loyee
!ayRoll
Database
DEPLOYMENT DIAGRAM:
/m'loyee
!ayRoll System
,ccess Databe
IMPLEMENTATION: Form1:
Private Sub Command1_Click() Dim a As Boolean a ! "alse /, ('e0t1.'e0t ! $admin$ And 'e0t1.'e0t ! $admin$) '&en a ! 'rue "orm1.S&ow *nload .e -nd /, /, (a ! "alse) '&en .s4Bo0 ($-nter Correct *sername and Password$) -nd /, -nd Sub Form2
Private Sub Command1_Click() "orm5.S&ow *nload .e -nd Sub Private Sub Command2_Click() "orm8.S&ow *nload .e -nd Sub Private Sub Command5_Click() *nload .e -nd Sub Form3
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!#a(roll$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient
.)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Details$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en 'e0t1.'e0t ! rs(1) 'e0t2.'e0t ! rs(1) 'e0t5.'e0t ! rs(2) 'e0t8.'e0t ! rs(5) 'e0t9.'e0t ! rs(8) 'e0t:.'e0t ! rs(9) 'e0t;.'e0t ! rs(:) a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct /D$) -nd /, -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Private Sub Command2_Click() *nload .e -nd Sub Form4 Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset cn.O#en $dsn!#a(roll$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Details$ -nd %it& %it& rs .AddNew ."ields(6) ! 'e0t1.'e0t ."ields(1) ! 'e0t1.'e0t ."ields(1) ! 'e0t2.'e0t
."ields(2) ! 7al('e0t5.'e0t) ."ields(5) ! 7al('e0t8.'e0t) ."ields(8) ! 7al('e0t9.'e0t) ."ields(9) ! 7al('e0t:.'e0t) ."ields(:) ! 7al('e0t;.'e0t) .*#date -nd %it&
'e0t1.'e0t ! $$ 'e0t1.'e0t ! $$ 'e0t2.'e0t ! $$ 'e0t5.'e0t ! $$ 'e0t8.'e0t ! $$ 'e0t9.'e0t ! $$ 'e0t:.'e0t ! $$ 'e0t;.'e0t ! $$ -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Private Sub Command2_Click() *nload .e -nd Sub Private Sub 'e0t2_C&an4e() 'e0t5.'e0t ! 7al('e0t2.'e0t) + 6.18 'e0t8.'e0t ! 7al('e0t2.'e0t) + 6.1 'e0t9.'e0t ! 7al('e0t2.'e0t) + 6.11 'e0t;.'e0t ! 7al('e0t2.'e0t) ? 7al('e0t5.'e0t) ? 7al('e0t8.'e0t) A 7al('e0t9.'e0t) ? 7al('e0t:.'e0t)
Private Sub Command1_Click() Dim cn As New ADODB.Connection Dim rs As New ADODB. ecordset Dim a As Boolean a ! "alse cn.O#en $dsn!#a(roll$ rs.ActiveConnection ! cn %it& rs .Cursor'(#e ! adO#enStatic .Cursor)ocation ! ad*seClient .)ock'(#e ! ad)ockO#timistic .O#en $select + ,rom Details$ -nd %it& rs..ove"irst %&ile Not rs.-O" /, (7al('e0t1.'e0t) ! rs(6)) '&en rs.Delete rs.*#date a ! 'rue -nd /, rs..oveNe0t %end /, (a ! "alse) '&en .s4Bo0 ($-nter correct /D$) -nd /, -nd Sub Private Sub Command1_Click() "orm1.S&ow *nload .e -nd Sub Private Sub Command2_Click() *nload .e -nd Sub