Documentation (Project Neha)
Documentation (Project Neha)
Documentation (Project Neha)
Diploma
To All Those
Bibliography………………………………………………………………………………………………
…….-121-
Thank you……… ………………………………………………………………..
…………………………….-122-
Neha Chauhan
(Head Of Department)
the user.
library and the most important of all, the proposal system is user
Introduction
The computerization of the information regarding number of
members, members name, address, member-id, number of
Hardware Requirements
& Printer.
Software Requirements
Access
Introduction to Problem
Providing quick and efficient services to the library user is the
basis of the problem and this can be achieved by a library worker
at present after sweating over the rigorous tasks of proper
maintenance and upkeep of the library records, updating of the
records for new arrivals and other miner details. Even if
services and for that matter in any other type of public services
This project work aims at this aspect with care. Realization of all
the attendant problems has made it possible to bring light the
concept of computerization of library services.
approach has
program. The “VB” is a high level language and is well suited for
looking.
“VB” are efficient and fast. This is due to its variety of data types
and powerful
object. Tables are objects that hold the data and all related
o Perform calculations
Non-Member
Student
Request Accepted or Rejected
Valid Member
Info
Info
Search /
Book Issue & Update
+ve /
-ve Return
ACK Process
Book Data Store
1.2
Fine Details
Update
Account
Fine
Maintaining
Process
Relationship)
Member ID
Name
Address
Ph.no
e-mail
add.
Member
Student
Pays
Issued
Returned To
By
Book ID
Title
Category
Fi n e Price
Amoun
t Copies
Books
s = s + 1
ElseIf s < 2 Then
lblload.Caption = "Loading StartScreen........"
s = s + 1
ElseIf s < 3 Then
lblload.Caption = "Loading AddBooksForm............"
s = s + 1
ElseIf s < 4 Then
lblload.Caption = "Loading DeleteBooksForm............."
s = s + 1
s = s + 1
Else If s < 6 Then
lblload.Caption = "Loading IssueBookForm.............."
s = s + 1
Else If s < 7 Then
lblload.Caption = "Loading Report.............."
s = s + 1
Else If s < 8 Then
s = s + 1
Else If s < 9 Then
s = 0
End If
End Sub
Myer:
MsgBox "ERROR:" & Err. Description, , "Progress
Bar"
c = c + 1
Else If c < 2 Then
Label1.ForeColor = RGB (0, 0, 250)
Label2.ForeColor = RGB (0, 250, 250)
Label3.ForeColor = RGB (200, 50, 0)
c = c + 1
Else If c < 3 Then
c = c + 1
Else If c < 4 Then
Label1.ForeColor = RGB (0, 0, 0)
Label2.ForeColor = RGB (30, 90, 0)
Label3.ForeColor = RGB (25, 300, 0)
c = c + 1
Else If c < 5 Then
Label1.ForeColor = RGB (0, 0, 0)
Label2.ForeColor = RGB (0, 0, 0)
Label3.ForeColor = RGB (0, 3, 0)
c = c + 1
Else If c < 6 Then
Label1.ForeColor = RGB (200, 0, 300)
Label2.ForeColor = RGB (0, 300, 300)
Label3.ForeColor = RGB (300, 300, 0)
‘Declaring variables
function ‘that
With con
.Open
End With
com.ActiveConnection = con
End Sub
new book), Delete book (to delete book), Update ‘book (to update
'Add Student (to add new member), Update Student (to search
'It also contains reports like Member report (to show details ‘of
Load fumbled
mnuDel.Enabled = False
End Sub
mnuDel2.Enabled = False
End Sub
End
End Sub
Load frmBAdd
mnuNew.Enabled = False
End Sub
Load frmCAdd
mnuNew2.Enabled = False
End Sub
frmRent.Show
mnuRent1.Enabled = False
End Sub
frmReport.Show
mnurep2.Enabled = False
End Sub
frmRet.Show
mnuRet2.Enabled = False
End Sub
Load frmBUpd
End Sub
Load forced
mnuUpd2.Enabled = False
End Sub
frmser.Show
ser.Enabled = False
End Sub
Dim X%, z%
'=======================================
End Sub
Dim I%
I=0
For Each Control In frmBAdd
If Type Of Control Is Textbox or Type Of Control Is Combo
Box Then
End If
End Sub
If Index = 3 Then
If Not ((Key ASCII >= 48 And Key ASCII <= 57) Or (Key ASCII
= 8)) Then
If Index = 4 Then
If Not ((Key ASCII >= 65 and Key ASCII <= 90) or (Key ASCII
>= 97 and Key ASCII <= 122) or (Key ASCII >= 48 and Key
ASCII <= 57) or Key ASCII = 8 or Key ASCII = 45) Then
Key ASCII = 0
End If
End If
If Index = 5 Then
If Not ((Key ASCII >= 48 and Key ASCII <= 57) or (Key ASCII
= 8)) Then
Key ASCII = 0
End If
End If
If Index = 6 Then
If Not ((Key ASCII >= 65 and Key ASCII <= 90) or (Key ASCII
>= 97 and Key ASCII <= 122) or Key ASCII = 8 or Key ASCII =
32 or Key ASCII = 13) Then
Key ASCII = 0
End If
End If
End If
End Sub
Dim i%
i = MsgBox ("Do you want to update current Record?",
vbYesNo, "Book Library")
If i = 6 Then
rs.Update
MsgBox "Record Updated", 0, "Book Library"
Else
rs.CancelUpdate
MsgBox "O.K", 0, "Book Library"
End If
Command4.Enabled = False
Command2.Enabled = True
Exit Sub
Myerr:
MsgBox "Data Type Mismatch"
Exit Sub
End Sub
adOpenKeyset
Set DataGrid1.DataSource = rs
DataGrid1.Visible = True
Command3.Caption = "HIDE ALL"
Else
Set DataGrid1.DataSource = Nothing
DataGrid1.Visible = False
Command3.Caption = "SHOW ALL BOOKS"
End If
End Sub
'============================================='’Th
is module is used for searching and deleting a book from "Book"
‘table of "Lib.mdb" a MSAccess database
End Sub
Show None
Command3.Enabled = True
Command4.Enabled = False
End Sub
End Function
Text8.Visible = False
For i = 1 to Label1.UBound
Label1 (i).Visible = False
Next i
Command3.Enabled = False
Command4.Enabled = False
End Sub
For i = 0 to Label1.UBound
Label1 (i).Height = Me.ScaleHeight / 22
Label1 (i).Left = Me.ScaleWidth / 11
Label1 (i).Top = Me.ScaleHeight / 40 * j
Next i
End Sub
End If
End Sub
Label3.Visible = True
Label4.Visible = True
Label5.Visible = True
Label6.Visible = True
Text2.Visible = True
Text3.Visible = True
Text4.Visible = True
Text5.Visible = True
Text6.Visible = True
Command4.Visible = True
Command5.Visible = True
End Sub
End Sub
Dim s%
s = MsgBox ("Are you sure?", vbYesNo, "Book Library")
If s = 6 Then
rs.Delete
MsgBox "Member Deleted", 0, "Book Library"
Command5_Click
Else
MsgBox "O.K", 0, "Book Library"
End If
End If
End Sub
Label6.Visible = False
Label7.Visible = False
Text2.Visible = False
Text3.Visible = False
Text4.Visible = False
Text5.Visible = False
Text6.Visible = False
Text7.Visible = False
Command4.Visible = False
Command5.Visible = False
End Sub
b = rs ("vStatus2")
If a = "A" And b = "A" Then
Check Status = 0
Else
Check Status = 1
End If
End Function
End Sub
com.ActiveConnection = con
rs.Open "select * from issue", con, adOpenDynamic,
adLockPessimistic
z = IssueAutoGen
Text1.Text = strRegNo
Text2 = Format (Date, "mm-day")
Text1.Enabled = False
Command2.Enabled = False
Command3.Enabled = False
Command5.Enabled = False
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
X=K+1
End If
IssueAutoGen = X
End Function
If i - j = 0 Then
MsgBox "No Copies Left", 0, "Book Library"
rs1.Close
Checkbook = 0
Exit Function
End If
Checkbook = 1
End Function
X=0
rs2 ("iTotAmt") = 5 + X
End If
rs.Update
rs1.Update
rs2.Update
rs.Close
rs1.Close
rs2.Close
MsgBox "Book Rent: Rs. 5", 0, "Book Library"
MsgBox "Fine: Rs. " & X, 0, "Book Library"
MsgBox "Total Amount: Rs. " & 5 + X, 0, "Book Library"
MsgBox "Book Returned, Data Updated", 0, "Book Library"
End Sub
Private Sub Command4_Click ()
Unload Me
End Sub
Web Surfing
1. http:\google.co.in
2. http:\altavista.com