Professional Documents
Culture Documents
Nishank Documentation
Nishank Documentation
Nishank Documentation
Nishank M M (17P4SB7023)
A 5th Semester Project Report submitted in partial fulfilment of the requirements for the
award of Degree in
Mr. Hidayatullah
UNDERTAKING
I Nishank M M studying in 5th Semester BCA, hereby undertake that the
This Project report has not formed the basis for the award of the
Degree of Bangalore University.
Signature of Students :
Date :
INDO ASIAN ACADEMY DEGREE COLLEGE
Bangalore – 560043
CERTIFICATE
HOD
Mr. Hidayatullah
(Dept. of Computer Science)
INDO ASIAN ACADEMY DEGREE COLLEGE
Bangalore – 560043
CERTIFICATE
Examiner
Name :
Signature :
ACKNOWLEDGEMENT
Last but never the least we would like to thanks our friends, staff and
all other who have directly and indirectly helped us in the successful
completion of this project.
TEAM MEMBERS
Preethi R Y (17p4sb7025)
Aishwarya R (17p4sb7006)
Nishank M M (17p4sb7023)
VIDEO LIBRARY MANAGEMENT SYSTEM
1. Introduction
1.1 Overview of the Project
1.2 System Specification
1.2.1 Hardware Requirements
1.2.2 Software Requirements
2. System Study
2.1 Introduction
2.2 Initial Investigation
2.3 Proposed system
2.4 About Operation System
4. Software Description
4.1 Microsoft Visual Basic 6.0
4.2 Starting Visual Basic
4.3 Parts of Visual Basic Project
4.4 Parts of the Visual Basic Programs
4.4.1 Main Window
4.4.2 Form Window
4.4.3 Properties
4.4.4 Form Events
4.45 Toolbox Window
4.5 Features of Visual Basic
4.6 SQL Plus
5. Database Design
6. Coding
7. Outputs
8. Conclusion
9. Bibliography
CHAPTER 1
INTRODUCTION
INTRODUCTION
Using current Video Library Management System customers can find
their CD by checking their names, singers etc manually. This video
library management system may sometimes make customers
unhappy by not finding their products. Managers or working
employees cannot find the sales details of particular CD and thus
cannot categorize then properly. Under one store there are various
types of CD sold and their managers find difficulties to maintain the
records of their vendors. It also creates difficulties in generating
reports and analyzes market situations as per customer demands
and requirements.
To help user in finding their products easily and thus saving time. To
eliminate manual process of storing information by using the
concept of database as backend and providing graphical user
interface by using Visual Basic as front end. Eliminating file keeping
system and implementing the use of data backup options to save
their precious data.
Overview of Project
This video library management system will help their customers to
find their products as per their query in less time. User can search
any particular video cd using their year of release, any particular
song name, artist, details, film name etc. Thus saving their time and
eliminating the process of searching manually by using video library
management system.
Admin only will have the authority to add records, delete records,
modify any existing records, giving permission to any employee.
Admin can generate report as per their requirement. Admin will also
be able to add vendor details from where they purchased along with
video CD name, price of CD and date of purchase records by using
information stored in the database.
OS : MS WINDOWS XP SP2
Front End : Visual Basic 6.0
Back End : SQL +
CHAPTER 2
SYSTEM STUDY
2. SYSTEM STUDY
2.1 INTRODUCTION
The goal of any system development is to develop and implement
the system cost effectively user-friendly and most suited to the
user's analysis is the heart of the process. Analysis is the study of
the various operations performed by the system and their
relationship within and outside of the system. During analysis,
data collected on the files, decision points and transactions
handled by the present system. Different kinds of tools are used in
analysis of which interview is a common one.
Over time you'll find your own way of writing programs that works
best for you. Nevertheless,
You’ll generally follow these standard set of steps when creating your
Visual Basic programs:
1. Decide what your application is to do by creating an overall design.
2. Create the visual portion of your application (the screens and
menus that your users will interact with).
3. Add Visual Basic programming language code to tie the visual
elements together and to automate the program.
4. Test your application to locate and remove any bugs you find.
5. Compile your tested application and distribute the compiled
application to your users.
Bugs are not the only reason that you will work on a program after
you think you're completely done with it. Program maintenance is
necessary because requirements change, companies change, and laws
change. You must also change the programs you write so that they
remain viable programs; you will need to update your program
periodically to reflect changes that impact the program. In addition,
users will think of new things that they want the program to do.
Program maintenance is the term used for the updating of a program
after the program is put into use. This update may be a result of a
user's request or a change in the way the program needs to operate.
It is said that a program is written once and modified many times. The
more program maintenance you perform, the more likely that your
program will be up-to-date and in use. You may want to release new
versions of your program so that users can, with a different version
number on the opening screen that you place there, keep track of the
latest version installed on their system.
4.1.8 Label
Label control allows the user to display text on a form, which does
not change. For example
Label1.caption=”Name;”
Generally labels are used to print captions for other controls. Text
printed on labels cannot be edited during runtime.
SetLength: Returns the length of the selected text. The most common
use of these properties is to select a piece of text at runtime to select
the text in a textbox.
Text1.selstart=1
Text1.selLength=Len (Text1)
Click: Click event is called when the text box is clicked with the
mouse.
Key press: Occurs every time a key is pressed and stores the ASCII
code of the key pressed in keyascii (an integer type). This event can
be used to restrict the user to type only certain characters.
Controls are elements you can use when designing a user interface.
Visual Basic controls enable you to add features to your programs
without you having to be involved in the details of how these features
work. For example, receiving input from a user of your program is as
simple as drawing a control that accepts input. This is a great
advantage of visual programming languages—you can concentrate on
what you want your program to do, not how to get the programming
language to do it.
Here are the possible values for the Lock Type argument:
Table:
Tables are the main units of data storage in a database. A table is a
collection of data about a specific topic; it is made up of one of more
fields.
Data type:
Data types are the properties of each field. A field only has one
data type, such as Character, Number or Date.
Design View:
It provides the tools for creating fields in a table.
Datasheet View:
It allows you to update, edit, and delete information from a table.
Chapter 5
DATABASE
DESIGN
DATABASE DESIGN
DIRECTOR YEAR
------------------------- ----------
Kazembe 2003
Raju 2003
Table Name: RETURNVIDEO
CHAPTER 6
CODING
MDI FORM
End Sub
Case "keyVideos"
Call mnuVideos_Click
Case "keyRent"
Call mnuRentVideos_Click
Case "keyReturn"
Call mnuReceiveRentedVideos_Click
Case "keyCustomersReport"
Call mnuCustomerMaster_Click
Case "keyVideosReport"
Call mnuVideosMaster_Click
Case "keyRentReport"
Call mnuRentedVideos_Click
End Select
End Sub
VIDEO MASTER
RETURN VIDEO
Private Sub cboRefNumber_Change ()
On Error Resume Next
Me.AdoRentedVideos.Recordset.MoveFirst
Me.AdoRentedVideos.Recordset.Find "RefNo = '" &
Me.cboRefNumber.Text & "'"
Me.txtVideoCode.Text =
Me.AdoRentedVideos.Recordset!VideoCode
Me.txtVideoName.Text =
Me.AdoRentedVideos.Recordset!VideoName
Me.txtCustomerID.Text =
Me.AdoRentedVideos.Recordset!CustomerID
Me.txtCustomerName.Text =
Me.AdoRentedVideos.Recordset!CustomerName
Me.AdoVideos.Recordset.MoveFirst
Me.AdoVideos.Recordset.Find "VideoCode = '" &
Me.AdoRentedVideos.Recordset!VideoCode & "'"
End Sub
Me.AdoVideos.Recordset!Available = 0
Me.AdoVideos.Recordset.Update
Me.AdoVideos.Refresh
Me.cboCustomerID.Text = ""
Me.cboCustomerName.Text = ""
Me.cboVideoCode.Text = ""
Me.cboVideoName.Text = ""
Me.txtAddress.Text = ""
Me.txtCategory.Text = ""
Me.txtDays.Text = ""
Me.txtPrice.Text = ""
Me.txtTotalAmountDue.Text = ""
Else
MsgBox "invalid username and password"
End If
End Sub
CUSTOMER
Private Sub cmdAddNew_Click ()
On Error Resume Next
Me.AdoCustomers.Recordset.AddNew
Me.cmdFirst.Enabled = False
Me.cmdLast.Enabled = False
Me.cmdNext.Enabled = False
Me.cmdPrev.Enabled = False
Me.cmdDel.Enabled = False
Me.txtCustomerID.SetFocus
End Sub