Beruflich Dokumente
Kultur Dokumente
TO
STORE
MANAGEMENT
SYSTEM
Developed by: - Ramveer Singh Rajput
Here in this Project that has been allocated to me, I learn efficient
handling of programs in Visual- Basic.
Discipline
Firm Determination
Taking interest on his job
Like as it is well known fact that these facts play an important role to
become the successful in any private firm or in government sector.
I am also thankful to all employees and software engineers, who
help me to understood critical problems.
INDEX
STORE MANAGEMENT SYSTEM 6
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
SUBJECT PAGE No.
Certificate………………………………………………...10
Introduction………………………………………………12
Introduction of VB……………………………………….16
Introduction of MS Access……………………………....20
Coding…………………………………………………......49
This is to
STORE MANAGEMENT SYSTEM 8
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
certify that the Project entitled, STORE MANAGEMENT SYSTEM IS a work
done by Mr.RAMVEER SINGH RAJPUT in A partial fulfillment of
Diploma in Computer science & Engg. An award
of BOARD OF TECHNICAL EDUCATION (U.P.) and has been carried
out under my direct supervision and guidance.
This report or a similar report on the topic has not been submitted
for any other examination and does not form part of any other course
This work is not a high profile one and my main aim of making of this
project work was to have an understanding of the VB and to get well
acquainted with the efforts and hard work that are required for a major
project work in the same language.
The project is very flexible and it can be modified if the need arises. I
hope the user will find this project work quite pleasing in its output as simple
designing has been done to enhance the view and simple programming
statements and command have been used, so that the user have no problem in
understanding the listing of the project. The application makes use of a MS
Access Database to store the data so as to provide fast and easy retrieval.
The natural evolution of BASIC was Visual Basic, which was created by
STORE MANAGEMENT SYSTEM 14
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
Microsoft Corporation in 1991. Visual Basic greatly simplifies windows
applications development. The object-oriented features in VB allow
programmers to build programs with clarity, extensibility and ease of
maintenance. The addition of new features has transformed VB from a
language that currently facilitates top-down, structured design, to one that
provides object-oriented design.
VISUAL BASIC:-
Visual Basic is not just a language, it’s an interrelated development
environmental in which you can develop, run test and debugging of your
can be created like standard Exe, DLL, etc Active Control – You can build
Controls:-
Design
Execution and
Break.
Visual Basic is a very popular language it allows rapid development of
Windows based application Visual Basic is commonly used for creating font
ends or interfaces of applications. It is an easy to learn and easy to
understand programming language. It supports many wizards, which make
complex tasks easier.
Visual basic is effectively used for developing the prototypes of large
software. Here are the features of Visual Basic.
STORE MANAGEMENT
SYSTEM:-
In this age of computer, after the introduction of programming language,
most of the companies started to find out software, which can facilitate their
requirement of making management of the store for maintaining the stock of
items and sale records.
The following store management system has been built using the visual
basic language. There are four main transactions in this store management
system.
Item Name:-
STORE MANAGEMENT SYSTEM 18
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
Items are specified by their name.
Company name:-
This is another entry in which we enter the name of company.
Item Stock:-
This is the third entry in which we enter the total number of items of
stock.
Lower Limit:-
This is the entry in which we enter the lower limit of items. If we
want a massage about the shortage of items, Lower limit is required. When
the number of items in stock is less then or equal to lower limit, then user
finds massage.
Actual Amount:-
This is the entry in which we enter the actual amount of items.
Sale Rate:-
This is the entry in which we enter the sale rate of items.
SALE RECORDS:-
In the option “Sale records” we have to fill up the following entries.
1. Date
2. Customer Name
3. Item name
4. Company Name
STORE MANAGEMENT SYSTEM 19
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
5. Quantity
7. Discount/Unit (%)
8. Total Price
Date:-
In this option we select the current date, month and year.
Customer Name:-
This is the entry in which we specify the name of the customer.
Item Name:-
This is the entry which is used for specifying the name of particular
item which is purchased by the customer.
Company Name:-
In this option we enter the company name of item which is
purchased.
Quantity:-
STORE MANAGEMENT SYSTEM 20
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
In this option, book issues and deposit we handles the operation
related to the book such as book issues and book deposit.
Discount/Unit (%):-
This is the entry in which we specify the discount.
Total Price:-
Total price is the price of item, is given by the customer.
TABLES:-
Access stores information in the form of a table. The table consists of
rows and columns. Every column pas a field name, data type (text, number,
memo, currency, AutoNumber, yes/no, OLE object, hyperlink, lookup
wizard).
KEYS:-
The retrieval of data from a database can be faster with primary key. A
Primary Key is a field that uniquely identifies each record in a table. Primary
key field of one table appearing as a normal field in some another table is
called a Foreign Key.
To cascade updating and deletion of related fields, we enforce the referential
integrity .Referential Integrity means that for every foreign key a primary
key has to exist. Whenever a change is made to primary key Access
automatically makes those changes in the foreign key.
RELATIONSHIPS:-
When two tables have single common field, they are said to be
"related". The types of relationships, which the tables in Access can have,
are:
One- to-one
FEASIBILITY STUDY:-
A quick but comprehensive study reveals that there is no generic
software available to meet the in-house requirements of the Admission
dealer. A comprehensive preliminary analysis shows that a better option
would be to design customized software to meet the user requirement,
keeping in mind the existing time and budgetary constraints.
Economical Feasibility
Technical Feasibility
Operational Feasibility
Schedule Feasibility
ECONOMICAL FEASIBILITY:-
The proposed system is a computer implementation with many
enhancements in order to improve the efficiency. When the College
Admission Systemis computerized, the paper work will be minimized and
STORE MANAGEMENT SYSTEM 23
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
more timely information will be provided. Thus the proposed system is
economically feasible. It is normal for every organization to choose a system
development only if there is a reduction with respect to the time and cost
overheads.
To be judged feasible, a proposal for the specific project must pass all
these tests. Otherwise, it is not considered as a feasible project. Besides
improving processing accuracy, organizations seek to improve processing
economy. A system suffers from the problem of economy when existing
methods of transmitting, processing, and storing information are very costly.
An organization might discover that the cost of handling the paperwork
associated with each purchase order is Rs. 25. This cost is determined to be a
problem of economy. After the installation of a new method of processing,
the cost per purchase is substantially reduced – from Rs. 25 per order or Rs.
8 per order.
TECHNICAL FEASIBILITY:-
College Admission Systems more secure than the paper work system.
The employee of the College Admission System can update the data time to
time in the computerized system. The existing method of manually doing of
work was less efficient on the basis of this point.
OPERATIONAL FEASIBILITY:-
SCHEDULE FEASIBILITY:-
Schedule feasibility evaluates the time taken in the development of
project. The time schedule required for the development of this project is
very important since more developing time will have effects on machine
time, cost and delays the development of other systems. So the project needs
to be completed within a fixed scheduled time as far as the client is
concerned. The project management team to assess the content reliability and
the project status received the overall feasibility study first. At the
culmination of the feasibility study a feasibility report was submitted to the
management. They evaluated the impact of the proposed changes and after
their approval the system design was initiated.
MAINTAINBILITY:-
Software maintenance accounts for more effort than any other software
engineering activity. Maintainability is the ease with which a program can be
corrected if an error is encountered, adapted if its environment changes, or
enhanced if the customer desires a change in requirements.
“The ease with which repair may be made to the software as indicated by the
following sub attributes: analyzability, changeability, stability, testability”
Lower SYSTEM
STORE MANAGEMENT 27
limit
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
Company
Name
Actual Amount
Name Item Stock
Sale rate
Store
Manage SYTEM
OPERATOR
Item ment
Forms:-
In Forms the data can be displayed as per the user requirements. The
records are generally displayed one at a time. The fields can be arranged as
STORE MANAGEMENT SYSTEM 28
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
the user them to be. Picture can be added to from. The display and contents
of the form is controlled fully by the user.
Reports:-
Reports are a collection of data selected from fields of either same
table or different tables. Reports are meant for printed or hard copy.
Macros:-
Many a times it happens that we have to perform some actions
repeatedly; certain amount of time and energy is wasted in doing so.
Creating macros can ease this out. Macro is basically a group of actions
performed, which is recorded and can be executed by using a single
command.
ActiveX components:-
An ActiveX Component is an executable (EXE) or dynamic link library
(DLL) that contains one or more class modules. Properties, methods and
events defined in a class module in an ActiveX project are exposed at the
STORE MANAGEMENT SYSTEM 29
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
global level. ActiveX components are stand-alone units of executable codes
that can be used by any application that supports ActiveX technology .An
ActiveX component can contain one or more class modules. ActiveX
Components lets you access the same code from more than one application
like class modules. When an ActiveX component is modified, the changes
are immediately available to all the applications that use it.
I have used ActiveX Data Object to connect Visual basic with MS-
Access data source.
Features of ADO:-
ADO supports key features for building client/server and web based
applications including the following.
ADO provider and the driver can also be used to access the data in the
database, although it is efficient as going directly from the OLEDB provider
to database. OLEDB Provider can access data that ODBC drivers access.
With OLEDB, for example, data can be accessed in the form of e-mail,
spreadsheets and word processing documents.
OLEDB:-
Form No:-1
Form No:-2
Coding:-
Private Sub Command1_Click()
Unload Me
End Sub
Private Sub Form_Load()
Menu.Show
End Sub
Form No.:-3
Form No.:-3
Coding:-
Private Sub about_Click()
application.Show
End Sub
Form No:-4
Coding:-
Private Sub Command1_Click()
Unload Me
add.Show
End Sub
Private Sub Command2_Click()
Unload Me
modi_1.Show
End Sub
Private Sub Command3_Click()
delete.Show
End Sub
Private Sub Command4_Click()
Unload Me
End Sub
Private Sub Command5_Click()
Unload Me
Sale.Show
End Sub
Private Sub Command6_Click()
Unload Me
Customer_record.Show
End Sub
Private Sub Form_Activate()
Static k As Integer
If (k = 0) Then
Dim St As String
St = ""
Do
If (Val(Data1.Recordset.Fields(3).Value) <= Val(Data1.Recordset.Fields(4).Value))
Form No:-5
Coding:-
Form No.:-6
Coding:-
Dim i As Integer
Private Sub Command1_Click()
If Text1.Text = "" Then
MsgBox "Please enter the serial no."
ElseIf Text1.Text = 0 Or Text1.Text > i Then
MsgBox "This is not valid serial number"
Else
Unload Me
modify.Show
serial = Val(Text1.Text)
End If
Text1.Text = ""
End Sub
Form no.:-7
Coding:-
Form No.:-8
Coding:-
Coding:-
Form No.:-9
Coding:-
Private Sub Command1_Click()
Form no.:-1
Coding:-
Private Sub add_Click()
Data1.Recordset.AddNew
Data1.Recordset.Fields(0).Value = Label9.Caption
Data1.Recordset.Fields(1).Value = Label10.Caption
Data1.Recordset.Fields(2).Value = Label11.Caption
Data1.Recordset.Fields(3).Value = Label12.Caption
Data1.Recordset.Fields(4).Value = Label13.Caption
Data1.Recordset.Fields(5).Value = Label14.Caption
Data1.Recordset.Fields(6).Value = Label15.Caption
Data1.Recordset.Fields(7).Value = Label16.Caption
Data1.UpdateRecord
End Sub
Private Sub Command1_Click(Index As Integer)
Unload Me
Customer_record.Show
End Sub
Private Sub Command2_Click(Index As Integer)
Unload Me
Sale.Show
End Sub
Private Sub Command3_Click(Index As Integer)
STORE MANAGEMENT SYSTEM 53
Project Report
FINAL YEAR COMPUTER SCIENCE AND ENGINEERING
SESSION (2007-2008)
Dim beginpage, numcopies, orientation, i
CommonDialog1.CancelError = True
On Error GoTo errhandler
CommonDialog1.ShowPrinter
beginpage = CommonDialog1.FromPage
endpage = CommonDialog1.ToPage
numcopies = CommonDialog1.Copies
orientation = CommonDialog1.orientation
For i = 1 To numcopies
Next
Exit Sub
errhandler:
Exit Sub
End Sub
Private Sub Form_Activate()
Label10.Caption = Sale.Text1.Text
Label11.Caption = Sale.Text3.Text
Label14.Caption = Sale.Text4.Text
Label13.Caption = Sale.Text2.Text
Label12.Caption = Sale.Text5.Text
Label15.Caption = Sale.Text7.Text
Label16.Caption = Sale.Text6.Text
Label9.Caption = Sale.Combo1.Text + Sale.Combo2.Text + Sale.Combo3.Text
End Sub
Form No.:-11
Form No.:-12
Form No.:-13
Coding:-
Form No.:-1
Coding:-
]
Books Author
OPERATOR
ENTERS THE
OPERA NEW RECORD
TOR
NEW RECORD
LOG ON
SAVED IN
TO THE
THE
SYSTEM
DATBASE
DATABASE
RECORDS
CAN BE
GENERATION VIEWED
DETAILS OF
ITEM STOCK