SlideShare une entreprise Scribd logo
1  sur  64
Télécharger pour lire hors ligne
ON
Submitted in the partial fulfillment for the requirement for
the award of Degree
M.Sc (Comp Sc)
(Session : 2019-21)
Submitted to: Submitted by:
]
Dr. Balkishan Singhal Neha
Assistant Professor Roll No : 19130
Reg No 191890007
M.Sc (Comp Sc)
DEPARTMENT OF COMPUTER SCIENCE& APPLICATION
MAHARASHI DAYANAND UNIVERSITY, ROHTAK
Dr. Nasib Gill
Professor & Head
CERTIFICATE CUM DECLARATION
I Pinki hereby declared that the work being represented in this Project
entitled “SPORTS SYSTEM” and submitted to Department of Computer
Science & Application, M.D. University, Rohtak partially fulfillment of the
requirement for the award of Degree of Master of Computer Science &
Application is an authentic record of my work carried out during the final
semester from April to July 2021.
Further I also undertake that matter embodied in this project report in my
own work and has not being submitted by me or any other candidate for
the award of any other degree anywhere else.
Countersigned by Internal Supervisor
Dr. Balkishan Singhal (Assistant Professor)
Dept. of Computer Science & Application
Neha
Roll No. 19130
M.Sc (4th Sem)
Acknowledgement
A Study such as this cannot be the work of a single person.
I hereby express deep gratitude to all those who helped me
directly or indirectly in completing this Project Report inspired
me all through the Project. It is my duty and privilege to express
my regards to Dr. Balkishan Singhal (Asstt. Prof) Dept of
Computer Science & Application, MDU Rohtak, for his
cooperation and tell me the write direction in preparing this
project. His able guidance and valuable suggestion led me
through the difficult period of the preparation of this file.
I acknowledge the help and co-operation received from my
classmates.
TABLE OF CONTENTS
 Acknowledgement
 Introduction to Visual Basic
 System Configuration
 Project Selection
 Existing System
 Proposed System
 System Analysis
 System Design
o Input Design
o Output Design
 Coding
 System Testing
 Output
 System Implementation
 Maintenance
 Conclusion
 Bibliography
INTRODUCTION TO VISUAL BASIC
Visual Basic is an ideal programming language for developing
sophisticated professional application for Microsoft windows. It makes
use of Graphical user interface uses illustrations for text, which feature
makes it easier to comprehend things in a quicker and easier way.
Coding in GUI environment is quite a transition to traditional linear path of
execution and is limited to a small set of operations. In a GUI
environment, the number of options to the user is much greater. Allowing
more Visual Basic is an ideal programming language for developing
sophisticated professional application for Microsoft windows. It makes
use of Graphical user Interface for creating robust and powerful
applications. The Graphical User Interface uses illustrations for text,
which enables user to interact with an application. This feature makes it
easier to comprehend things in a quicker and easier way.
Coding in GUI environment is quite a transition to traditional linear
programming methods where the user is guided through a linear path of
execution and is limited to a small set of operations. In a GUI
Environment, the number of options to the user is much greater, allowing
more freedom to the user and developer features such as easier
comprehension, user frieandliness, faster application development and
many other aspects such as introduced to Active technology and internet
features makes Visual Basic is an interesting tool to work with.
One of the most significant changes in Visual Basic 6.0 is the Integrated
Development Environment (IDE) IDE is term commonly used in the
programming world to describe the interface and environment that we
use to create out applications. It is called integrated because we can
access virtually all of the development tools that we need form one
screen called an interface. The IDE is commonly referred to as the
design environment of the program.
The Visual Basic IDE is made up of a no of components. These are :-
1) Menu Bar.
2) Tool Bar
3) Project Explorer
4) Properties Windows.
5) Form layout Windows.
6) Form Designer
7) Tool Box
8) Object Browser
In the previous version of Visual Basic, The IDE was designed as a
Single Document Interface (SDI). In a Single Document interface, each
window is a free floating window i.e contained within a main window and
can move anywhere on the screen as long as VB is the current
application. But in VB 6.0 the IDE is an Multiple document Interface (MDI)
format. In this format, the windows associated with the project will stay
within a single container known as the parent. Code and form based
windows will stay with in the main container form.
INTRODUCTION TO VISUAL PROGRAMMING:
 Character based systems use text as the medium of information
exchange.
 In graphical user interfaces use graphics as the medium of
information.
 Rapid Application Development (RAD) tools helps us to create
applications in a shorter time as compared to conventional
languages and with fewer errors.
 A visual programming environment provides all features that are
required to develop a graphical user interface as ready to use
components.
 The components commonly uses in visual programming are
 Window :- The base for a user interface of the application. All the
components that make up the user interface are placed in the window.
 Buttons:- Used to initiate an action.
 Text Boxes:- Used to accept information from the user.
 List Boxes:- Used to present the user with the possible options.
 The characteristics of the components are referred to as its
properties.
 A method is code that is built into the component and can be
executed as required.
 An event is any user action directed at the application
 Variables store values required for performing calculations.
 The data type of a variable determines how the values in a variable
are stored in the computer’s memory.
 The loop structures that Visual Basic supports.
For…… next :- Repeats a group of statements for a specified
number of times.
While ….. Wend:- Executes a series of statements as long as a
given condition is true
 The conditional statements supported by Visual Basic are:
If….then……else:- Allows decisions to be taken on the basis
of a condition.
 Select case :- Executes a group of statements checking the test
conditions only once.
MORE ABOUT VISUAL BASIC CONTROLS :-
 The form is the main part of a user interface. The frequently used
properties. Methods and events of form are:-
Properties (Caption, Name)
Methods (Move, Show, Hide)
Events (Load, Activate, Mouse down, Mouseup)
 List boxed display long lists options from which users can choose.
Properties (List index, Sorted, Multi select, listcount, list, Selected
Methods (Additem, Remove Item, Selected, Setfocus)
Events (Click, Scroll)
 A combo box control combines the features of a text box and a list
box. It allows the user to select an item either by typing text or from
the list.
Properties (Style, locked, Index, Listcount, Sorted)
Methods (Add Item, Remove Item)
Events (Click, Scroll, Change, Dropdown)
 The option button are used when the user can select one and only
one of the multiple options.
Properties (Caption, Value)
Methods (Move)
Events (Click)
 A frame control provides an identifiable grouping for controls.
Properties (Caption)
Methods (Move, Drag)
Events (Click)
 A check box indicated whether a particular condition is on or off.
Properties (Caption, Value)
Methods (Move, Resize)
Events (Click)
 Scroll bars provide easy navigation though a large amount of
information.
Properties (Min,Max, Value)
Methods (Move)
Events (Scroll,Change)
 A text box is used to display text or to accept user input.
Properties (Text, Multiline, Maxlength, Password Char, Locked)
Methods (Move, Drag, Setfocus)
Events (Change, Click, Lostfocus, Keypress)
 A button is a control which allows the user to click on it to perform an
action.
Properties (Caption, Picture, Enabled)
Methods (Move)
Events (Click)
 The label is the control used to place text in a form.
Properties (Caption, Autosize,Wordwrap)
Methods (Move, Drag)
Events (Click, Change, Dbiclick)
 The user interface is the most important part of an application
 Designing of an interface includes such factors as :
Positioning of controls
Uniformity of elements
Simplicity of design.
MENUS:-
 Menus allows an application to present the user with a means of
intiating different actions.
 A menu comprises of :
A menu bar that displays the main menu options.
There can be a list of options attached to each menu option. This referred
to as a sub-menu.
 Toolbars provide shortcut to menu actions.
An application can have multiple toolbars.
Display tool tips, which are tiny popup windows containing a short text
description of a tool bar button’s purpose.
 Status bar is used to display information for the user.
An application can have only one status bar.
 Dialog boxes.
Special type of window used to flash messages or accept information
from the user during the course of execution of the application.
 Common dialogs are ready to use dialogs actions.
 Custom dialogs are designed by the user keeping in mind the needs
of the application.
 A Model dialog box does not let the user perform any action while it is
on display
 Modeless dialog boxes let the user shift the attention between the
dialog box and another form without having to close the dialog box.
DATA ACCESS IN VISUAL BASIC:-
 Procedures are a named sequence of statements executed as a unit.
 Sub procedures and function are the types of procedures.
 In Visual Basic code is stored in modules. There are three kinds of
modules:
Form.
Standard
Class
 The scope of a variable defines which part of the code is aware of its
existence.
 Variables are classified on the basis of scope as:
Procedure – level
Module – level
 Procedure level variables are recognised only in the procedure in
which they are declared
 Variables declared using the Public statement are available to all
procedures in the applications.
 A variable passed to a procedure is called an argument
 Passing an argument by value gives a procedure only a copy of the
variable.
 Passing arguments by reference gives a procedure access to the
original value of the variable in its memory location.
 A client/server application is split into a front-end client component
and a back-end server component.
 The client is the portion of the application that presents data to the
user.
 The role of the server is to processing or information to the client.
 A visual basic database application has three parts
User Interface
Database Engine
Data store
 The data controls allows us to access and manipulate databases
 Controls that can work with the data control to access data are said to
be data-aware.
 The process of attaching a data-aware control to a data control is
called binding.
SYSTEM CONFIGURATION
System: Core2duo
Components:
1.Central Processor
2.Monitor
3.Keyboard
4.Printer
Central Processor:->
Intel Pentium 11.366MHz types chip
Main memory of 2 GB
One hard disk of 250GB
One CD-ROM drive
Monitor:->
SVGA colored monitor
Size:80*25 character display
Keyboard:->
Keyboard of 104 keys
Multimedia keyboard
Printer:->
Laser Jet
Operating System:->
WINDOWS 7
USED (V.B.6)
PROJECT SELECTION
This project report is submitted in the partial fulfillment of the
requirements for M.Sc The project work is a golden opportunity for us to
apply the theoretically learn tips, for practically e.g. how collect the
information and design the system, the best possible solution to the
problem, write efficient programs etc. and other minute things which
matter a lot in the professional life?
It provides us a unique opportunity to work on computer while working in
the field. I gain valuable experience in handling the professional level
programming and job more or less independently.
The course provides a chance for self analysis efficiently. The task was
to develop software.
EXISTING SYSTEM
The existing system depends upon manual operations, that is all the
records were kept in simple files and thus the data are maintained. But,
any small mistake may lead to a big problem.
For example, for the proper maintenance of data, several
registers like Stock register, and their loans and other allowances records
are kept.. It becomes difficult to handle such detailed information. This
may also lead to some accuracy problems in various data files.
Disadvantages of existing system :
1. Searching of a particular record within the collected data becomes a
very difficult task.
2. To maintain the data, that is, to add a new record, deletion of an old
record is a complex task to be performed.
3. Due to mathematical calculations involved in the preparation of
statements, it is very time consuming.
4. Department has to keep a lot of files for the records. So, it is very
difficult to maintain all those files. Moreover, special rooms or
cupboards are thus needed for the task to be performed.
5. A large staff is needed for the proper maintenance of data.
6. Incorrect entry of records also becomes an obstacle in the
maintenance of data.
7. All the records are prepared occasionally. So, the manual work done
is not always correct and becomes too late.
PROPOSED SYSTEM
As we have recognized the problems in our old manual system and we
make a proposed system means, we have made changes in the old
system so as to make improvements.
I have completed this project to much extent and has included all the
things but still then I have not made all the queries and all the possibilities
of data that user can enter. That’s why I can’t say that my project is
versatile.
Some of the limitations in my project are as:
1.I have just taken two or three queries and there result while there can
be much more.
2.There are a few reports in my project but there can be much more.
3.As in computers, there may be virus due to which sometime system
may get fail.
4.Computerised systems are difficult to install and very expensive.
5.Much knowledge is required to manpower for handling it.
So, these are some limitations in my project but these can be removed if
my project is studied again and any person want to enhance it.
System Design
The most creative & challenging phase of the system development life
cycle is “SYSTEM DESIGN”. The term design described a final system
and the process by which it is developed. It refers to the technical
specification that will be applied in implementing the candidate system. A
system analysis phase defines What a system must do and System
design states HOW to do it. A design must provides:-
 Mechanisms for translating the analysis model into design
representations.
 Notations for representing functional components and their
interfaces.
 Scope for refinement
 Guidelines for quality assessment
The design process is a set of iterative steps that allow the designer to
describe all the aspects of the software to be built based on user
specifications .The general tasks involve in the design process are:-
 Designing the overall system processes
 Segmenting the system into smaller, compact workable modules
 Designing the database structure
 Specifying the details of the program to be created to achieve the
desired functionality
 Designing the input and output documents
 Designing controls for the system
 Documenting the system design
 System reviews
We have defined the problems in the existing system, then we analyze
the problems found and proposed a candidate system that can do the
work that was not done in old system. After analyzing the problem we
have to make design for them.
INPUT DESIGNING
A major step in input design is the preparation of input & the design of
output reports in a form acceptable to the user. Inaccurate input is most
common cause of errors in data processing. Errors entered by data entry
operator can be controlled by input design. Input design is the process of
originated inputs to a computer based format. In system design phase
the data flow diagram identifies logical data flow chart specifies master
file , transaction files & computer programmers. Input data are organized
into group of similar data. Once identified approximate input media are
selected for processing
Output Design
Computer output is the most important and direct source of information to
the user. Efficient, intelligible output design should improve the system’s
relationships with the user and help in decision making. A major form of
output is a hard copy from the printer. Printouts should be designed
around the output requirements of the user. The output devices to
consider depend on factors such as compatibility of the device with the
system, response time requirements, expected print quality, and number
of copies needed. The following media devices are available for providing
computerized output:-
1.MICR readers.
2.Line,matrix,and daisy wheel printers.
3.Computer output microfilm(COM).
4.CRT screen display
5.Graph plotters.
6.Audio response.
System Testing
The testing of project is a means of assessing or measuring the
project to determine its quality. Testing can be defined as the process of
executing the project in a controlled manner, in order to answer the
question “Does the project behave as specified?”. It also is the only
way of finding out whether or not there are any errors in a system.
Therefore, testing is an important part of SDLC.
Like all other stages of the SDLC, testing too needs time and
proper resource to become a meaningful activity. Testing is vital to the
success of the system. Testing makes a logical assumption that if all
parts of the system are correct, the goal will be successfully achieved.
TYPES OF TESTING
Unit testing:-Each component or part of the program is tested
individually to verify that the detailed design for unit has been correctly
implemented.
Module testing:-In larger system a module may be a group of several
programs or functions or sub-modules testing.
Integration testing:-It is carried out to find problems in the interfaces
between assembled units/modules in a system.
System testing:-It is executing a program to check logic changes made
in it and with the intention of finding errors.
Acceptance testing:-It is running the system with live data by the actual
user. Testing the users accept or reject the system. Implementation
phase of the project starts only if the user accept the system.
Volume testing:-determines whether or not the system will be able to
handle a large volume of data. The volume should be a representation of
the real life volume with some provision for future growth.
Performance testing:-this is a corollary to volume testing. This testing
focuses on the performance of the system under large volumes and not
just on the ability to handle it.
Stress testing:-Every system can experience a period of stress, which,
usually lasts for a short period. Although this is not a normal condition,
the system must be capable of handling it.
Regression testing:-When a system is changed in one part, it is
possible that this change could have affected the behavior of an
unchanged part of the system..
Interface testing:-whenever two or more modules handle common data
particularly write or update or use it as part of a calculation, then it
become a case for interface testing.
Security testing:- This attempts to verify that the protection mechanisms
built into a system, actually protect the system from unauthorized access.
SYSTEM ANALYSIS
The process of system development starts with System Analysis. It is
known that “A system is a collection of interrelated components that work
together to achieve some common objective” and system is required to
do “.
System Analysis is an important activity that takes place when new
information systems are being built or existing onces are being changed.
These specifications states:-
 Goals and objectives of the proposed system.
 Fundamental actions that must take place in the software.
 Outputs to be produced.
 Inputs to be used.
 Processes to be performed.
 Interfaces to be provided.
 Performance requirement to be met.
 Organizational and other constraints to be met.
System analysis is conducted with the following objectives in mind:-
 Identification and analysis of customer needs.
 System evaluation for feasibility.
 Performing economic and technical analysis
 Allocating functions to manpower ,database, hardware, software
and other system elements
 Establishing cost and schedule constraints.
 Creating a system definition that forms a foundation for all
subsequent development activities.
 System analysis is an art, and needs a lot of patience backed by
years of experience in order to get the desired system functionality
and performance.
In short, systems analysis then, is the process of totally understanding
the current systems by gathering and interpreting facts, diagnosing
problems, and using the facts to improve the current system. This is the
job of the system analyst.
Before we proceed to the next phase that is “SYTEM DESIGN” ,we must
know a little more about the tools used during system analysis.
TOOLS USED IN SYSTEM ANALYSIS:-
As already mentioned, once the information is collected, it must be
analyzed for the development team to ascertain user needs and write
requirements specifications. As a large amount of information is
collected, system analysts need tools to record ,store and manipulate this
information during the analysis process.
Implementation
Meaning
Implementation is used to mean the process of converting a new or a
revised system design into an operational one. There are some kinds of
standard activities to be performed during the Implementation process
,they are:-
1. Creation of a Installation Plan
2. Implementation of Physical Procedures
3. Data Preparation and Conversion
4. Conducting User Training
5. Running the system
1) The Installation Plan includes schedules for:-
a) Purchase of hardware
b) Preparation of site
c) Purchase of Environmental software
d) Installation of hardware and Environmental software
e) Training
2) Physical Procedures:- Physical Procedures are the procedures that an
organization will follow side by side of the automated system and
which
will complement its functioning.
3)Data Preparation and Conversion
a)Data Preparation is normally the most consuming and tedious task
in the implementation of most systems. During the implementation of
a new system, all data has to be transcribed to fit into the new
formats and coding schemes, and errors are rigorously checked to
ensure no loss of information
b)Data Conversion is the process of converting data from the old
system into a format required by the new, automated system.
4)Training:-A Training Need Analysis has to be done for each of these
groups to find out what kind of training is required for each. Training
Need Analysis can be consider as the process of determining individual
or group training needs for an organization. There usually are several
types of users within an organization and all types of users don’t need all
kind of training.
5) Running of the system:-
“Parallel Run” signifies the running of two systems together:-the old and
the new.
METHODS OF IMPLEMENTATION
1)Parallel Run:-In the parallel method of conversion the old system is
operated along with the new system for a while till all the teething
problems of the new system are sorted out and users are confident of
operating the new system.
Advantages:-
 It offers great security .
 Minimize loss of data
 It is the safest method of converting from an old system to a new
one.
 It inspires user confidence when user sees that results of the new
way of processing are the same as that of the manual system.
Disadvantage:-
It doubles operating costs for a while .So long as the old system
continues to run along with the new one the latter does not get a fair
chance of trial.
2)Direct Cutover:-The direct method of implementation means that the
old system is replaced with the new one and form the beginning itself the
organization relies on the new system.
Advantage:-
Its main advantage is that the organization immediately starts to see the
benefits of the new methods and controls that have been included in the
new system.
Disadvantage:-
Its disadvantage is that there is no other system to fall back on, if a
problem arises in he new system. Because of this the new system has to
be planned, developed and Implemented with utmost care.
3)Phased Approach:-The phased method of conversion installs a new
system throughout an organization in phases. It is best suited to system
that are modular and a module at a time
Advantage:-
Training can be designed for users keeping the function in mind
Disadvantage:-
Log phase in period causes unnecessary problems
4)Pilot approach:-The pilot method of conversion means introducing a
new system in one part of the organization –a single department or
function. based on the feedback received changes are made to the
system before it can be installed in all parts of the organization.
Advantage:-
It provides for live testing before implementation.
Disadvantage:-
If conversion is not handled well and takes too long to be implemented in
the whole organization then the user may get the impression that the new
system is not sound and full of errors.
CODING
After the problem has been defined, it is analyzed, corresponding to that
designing is done and then coding is to translate the design of the system
produced during the design phase into code in a given programming
language, that can be executed by the computer and that performs the
computation specified by the design. As only after this phase our project
can come in the running phase.
This coding affects both testing and maintenance. Coding has much less
cost in the system development but testing and maintenance cost a lot of
money. It is due to the less time spent in coding or coding is not done
with attention. So, the goal should not be to simplify the job of
programmer but to simplify the job of tester and maintainer.
It should be kept in mind that programs should not be easy to write or we
should not give more attention towards easy writing, but our coding
should be easy to read and understand.
In coding there are many different approaches to code our design.
The programming practices used in our coding are:
1.Top-Down and Bottom-Up
2.Structured Programming
3.Informaton Hiding
4.Programming Style
5.Internal Documentation
Splash Screen
Private Sub Timer1_Timer ()
Load SPORTS
SPORTS. Show
Unload Me
End Sub
MDI FORM
Private Sub additem_Click()
Load ADDITION
ADDITION.Show
End Sub
Private Sub allitem_Click()
Load form7
form7.Show
End Sub
Private Sub customer_Click()
Load form9
form9.Show
End Sub
Private Sub exit_Click()
End
End Sub
Private Sub modifyitem_Click()
Load MODIFICATION
MODIFICATION.Show
End Sub
Private Sub removeitem_Click()
Load DELETION
DELETION.Show
End Sub
Private Sub sale_Click()
Load SALES
SALES.Show
End Sub
Private Sub salesreport_Click()
Load form8
form8.Show
End Sub
Private Sub SREP_Click()
DataReport2.Show
End Sub
Private Sub SRREPORT_Click()
DataReport1.Show
End Sub
Private Sub stockitem_Click()
Load form4
form4.Show
End Sub
ADDITION FORM
Private Sub Command1_Click()
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text1.SetFocus
Command2.Enabled = True
End Sub
Private Sub Command2_Click()
Data1.Recordset.AddNew
Data1.Recordset.Fields("No").Value = Val(Text1.Text)
Data1.Recordset.Fields("Name").Value = Text2.Text
Data1.Recordset.Fields("Company").Value = Text3.Text
Data1.Recordset.Fields("Date_Purchase").Value = CDate(Text4.Text)
Data1.Recordset.Fields("Price").Value = Val(Text5.Text)
Data1.Recordset.Update
MsgBox ("Stock is saved")
Command2.Enabled = False
End Sub
Private Sub Command3_Click()
Unload ADDITION
End Sub
Private Sub Form_Load()
Text1.Enabled = False
Text2.Enabled = False
Text3.Enabled = False
Text4.Enabled = False
Text5.Enabled = False
Command2.Enabled = False
End Sub
DELITION FORM
Private Sub Command1_Click()
ab = MsgBox("do you want to delete this", vbCritical + vbYesNo, ("Delete
warning"))
If ab = vbYes Then
Data1.Recordset.Delete
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Else
MsgBox ("record is not deleted")
End If
End Sub
Private Sub Command3_Click()
Unload DELETION
End Sub
Private Sub Command4_Click()
Data1.Recordset.MoveFirst
While Data1.Recordset.EOF = False
If Data1.Recordset.Fields("no").Value = Val(Text1.Text) Then
With Data1.Recordset
Text2.Text = .Fields("name").Value
Text3.Text = .Fields("company").Value
Tet4.Text = .Fields("date_purchase").Value
Text5.Text = .Fields("price").Value
End With
Else
If Data1.Recordset.EOF = True Then
MsgBox "Record not found", vbOKOnly
End If
End If
Data1.Recordset.MoveNext
Wend
End Sub
FORM 4
Private Sub CMDEXIT_Click()
Unload form4
End Sub
Private Sub CMDFIND_Click()
Dim NUM As Integer
NUM = Val(Text3.Text)
ADODC1.Recordset.MoveFirst
ADODC1.Recordset.FIND "NO=" & NUM
If Not ADODC1.Recordset.EOF Then
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
Else
MsgBox " NOT FOUND"
End If
End Sub
Private Sub CMDFIRST_Click()
ADODC1.Recordset.MoveFirst
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End Sub
Private Sub CMDLAST_Click()
ADODC1.Recordset.MoveLast
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End Sub
Private Sub CMDNEXT_Click()
If ADODC1.Recordset.AbsolutePosition < ADODC1.Recordset.RecordCount - 1
Then
ADODC1.Recordset.MoveNext
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End If
End Sub
Private Sub CMDPREV_Click()
If ADODC1.Recordset.AbsolutePosition > 1 Then
ADODC1.Recordset.MovePreviousText1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End If
End Sub
End Sub
Private Sub Command6_Click()
End Sub
Private Sub CMDPRE_Click()
If ADODC1.Recordset.AbsolutePosition > 1 Then
ADODC1.Recordset.MovePrevious
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End If
End Sub
Private Sub CMDTOTAL_Click()
MsgBox "TOTAL ENTERY ARE = " & ADODC1.Recordset.RecordCount
End Sub
Private Sub Form_Activate()
ADODC1.Recordset.MoveNext
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End Sub
FORM 7
Private Sub CMDEXIT_Click()
Unload form7
End Sub
Private Sub CMDFIND_Click()
Dim NUM As Integer
NUM = Val(Text3.Text)
ADODC1.Recordset.MoveFirst
ADODC1.Recordset.FIND "NO=" & NUM
If Not ADODC1.Recordset.EOF Then
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
Else
MsgBox " NOT FOUND"
End If
End Sub
Private Sub CMDFIRST_Click()
ADODC1.Recordset.MoveFirst
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End Sub
Private Sub CMDLAST_Click()
ADODC1.Recordset.MoveLast
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End Sub
Private Sub CMDNEXT_Click()
If ADODC1.Recordset.AbsolutePosition < ADODC1.Recordset.RecordCount - 1
Then
ADODC1.Recordset.MoveNext
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
Else
End If
End Sub
Private Sub CMDPREV_Click()
If ADODC1.Recordset.AbsolutePosition > 1 Then
ADODC1.Recordset.MovePrevious
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End If
End Sub
Private Sub CMDPRE_Click()
If ADODC1.Recordset.AbsolutePosition > 1 Then
ADODC1.Recordset.MovePrevious
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End If
End Sub
Private Sub CMDTOTAL_Click()
MsgBox "TOTAL SALES ARE = " & ADODC1.Recordset.RecordCount
End Sub
Private Sub Form_Activate()
ADODC1.Recordset.MoveNext
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!Name
Text3.Text = ADODC1.Recordset!Company
Text4.Text = ADODC1.Recordset!Date_Purchase
Text5.Text = ADODC1.Recordset!Price
End Sub
FORM 8
Private Sub CMDEXIT_Click()
Unload form8
End Sub
Private Sub CMDFIND_Click()
Dim NUM As Integer
NUM = Val(Text3.Text)
ADODC1.Recordset.MoveFirst
ADODC1.Recordset.FIND "NO=" & NUM
If Not ADODC1.Recordset.EOF Then
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!I_Name
Text3.Text = ADODC1.Recordset!S_DATE
Text4.Text = ADODC1.Recordset!C_NAME
Text5.Text = ADODC1.Recordset!C_ADDRESS
Else
MsgBox " NOT FOUND"
End If
End Sub
Private Sub CMDFIRST_Click()
ADODC1.Recordset.MoveFirst
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!I_Name
Text3.Text = ADODC1.Recordset!S_DATE
Text4.Text = ADODC1.Recordset!C_NAME
Text5.Text = ADODC1.Recordset!C_ADDRESS
End Sub
Private Sub CMDLAST_Click()
ADODC1.Recordset.MoveLast
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!I_Name
Text3.Text = ADODC1.Recordset!S_DATE
Text4.Text = ADODC1.Recordset!C_NAME
Text5.Text = ADODC1.Recordset!C_ADDRESS
End Sub
Private Sub CMDNEXT_Click()
If ADODC1.Recordset.AbsolutePosition < ADODC1.Recordset.RecordCount - 1
Then
ADODC1.Recordset.MoveNext
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!I_Name
Text3.Text = ADODC1.Recordset!S_DATE
Text4.Text = ADODC1.Recordset!C_NAME
Text5.Text = ADODC1.Recordset!C_ADDRESS
End If
End Sub
Private Sub CMDPREV_Click()
If ADODC1.Recordset.AbsolutePosition > 1 Then
ADODC1.Recordset.MovePrevious
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!I_Name
Text3.Text = ADODC1.Recordset!S_DATE
Text4.Text = ADODC1.Recordset!C_NAME
Text5.Text = ADODC1.Recordset!C_ADDRESS
End If
End Sub
Private Sub Command5_Click()
MsgBox "Total ENTERY Are = " & ADODC1.Recordset.RecordCount
End Sub
Private Sub Form_Activate()
ADODC1.Recordset.MoveNext
Text1.Text = ADODC1.Recordset!NO
Text2.Text = ADODC1.Recordset!I_Name
Text3.Text = ADODC1.Recordset!S_DATE
Text4.Text = ADODC1.Recordset!C_NAME
Text5.Text = ADODC1.Recordset!C_ADDRESS
End Sub
FORM 9
Private Sub Command1_Click()
Data1.Recordset.MoveFirst
While Data1.Recordset.EOF = False
If Data1.Recordset.Fields("C_Name").Value = Text4.Text Then
With Data1.Recordset
Text2.Text = .Fields("I_Name").Value
Text3.Text = .Fields("S_Date").Value
Text1.Text = .Fields("No").Value
Text5.Text = .Fields("C_Address").Value
End With
Else
If Data1.Recordset.EOF = True Then
MsgBox "Record not found", vbOKOnly
End If
End If
Data1.Recordset.MoveNext
Wend
End Sub
Private Sub Command3_Click()
Unload form9
End Sub
SPLESH SCREEN
MDI FORM
FORM 2
FORM 6
FORM 5
FORM 3
FORM 4
SALE REPORT
FUTURE PROSPECTIVE
“THE MORE YOU GET…
THE MORE YOU WANT…”
The above statement shows the summary of what is present in the
subsequent discussion. I am still very proud for whatever I have
managed to get by the means of this application, but still this project has
more to it than what has been done. There are numerous areas in which,
the project should have had been improved.
Also I think that system can be have improved on the user level interface.
This would have made this project more acceptable, in somewhat non-
technical sense, to the general layman user, who is more concerned
about the superficial details and not the technical working.
But still I believe that what I have achieved can never be over shadowed
by what I could not achieve.
CONCLUSION
System was developed and fasted in steps. Once the design
was finalized, the format of the output reports were set one by one after
approval from the user department. System was first tested on test data
and then real data. Minor programming errors were identified and
rectified.
After rectifying the system was implemented successfully and
accuracy was found.
The system, after testing, was found accurate to be
implemented. After testing certain limitations were found. Those
limitations were upgraded as per the user’s requirements. As the system
is developed using SQL, further enhancements can easily be done.
Once the system started working certain new things were
found to be added into it, so some reports coming from the user
department are manual and they should also be computerized. The
system can also be made more user-friendly and interactive by
overcoming the limitations and the user will find him more informative.
Bibliography
1. Visual basic 6.0 VB Complete.
2. Mastering in VB 6 BPB publication
3. www.visualstudio.com
4. www.google.com

Contenu connexe

Tendances

Angular, the New Angular JS
Angular, the New Angular JSAngular, the New Angular JS
Angular, the New Angular JSKenzan
 
Visual Studio Software architecture
Visual Studio Software architectureVisual Studio Software architecture
Visual Studio Software architectureSuphiyaan Sutar
 
Civil 3 d 2011 tutorials
Civil 3 d 2011 tutorialsCivil 3 d 2011 tutorials
Civil 3 d 2011 tutorialsocramr0111
 
Introduction to Angular js 2.0
Introduction to Angular js 2.0Introduction to Angular js 2.0
Introduction to Angular js 2.0Nagaraju Sangam
 
Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...
Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...
Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...Edureka!
 
Vue micro frontend implementation patterns
Vue micro frontend implementation patternsVue micro frontend implementation patterns
Vue micro frontend implementation patternsAlbert Brand
 
Angular Meetup 1 - Angular Basics and Workshop
Angular Meetup 1 - Angular Basics and WorkshopAngular Meetup 1 - Angular Basics and Workshop
Angular Meetup 1 - Angular Basics and WorkshopNitin Bhojwani
 
Automated Testing on iOS
Automated Testing on iOSAutomated Testing on iOS
Automated Testing on iOSMake School
 
Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...
Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...
Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...Edureka!
 
The new features of angular 12
The new features of angular 12The new features of angular 12
The new features of angular 12Zobi Web Solutions
 
How to Implement Micro Frontend Architecture using Angular Framework
How to Implement Micro Frontend Architecture using Angular FrameworkHow to Implement Micro Frontend Architecture using Angular Framework
How to Implement Micro Frontend Architecture using Angular FrameworkRapidValue
 
Introduction To Angular 4 - J2I
Introduction To Angular 4 - J2IIntroduction To Angular 4 - J2I
Introduction To Angular 4 - J2INader Debbabi
 
Meetup angular http client
Meetup angular http clientMeetup angular http client
Meetup angular http clientGaurav Madaan
 
What's new in .net 5 by muralidharan deenathayalan
What's new in .net 5 by muralidharan deenathayalanWhat's new in .net 5 by muralidharan deenathayalan
What's new in .net 5 by muralidharan deenathayalanMuralidharan Deenathayalan
 
I/O Extended (GDG Bogor) - Andrew Kurniadi
I/O Extended (GDG Bogor) - Andrew KurniadiI/O Extended (GDG Bogor) - Andrew Kurniadi
I/O Extended (GDG Bogor) - Andrew KurniadiDicoding
 
Mastering angular - Dot Net Tricks
Mastering angular - Dot Net TricksMastering angular - Dot Net Tricks
Mastering angular - Dot Net TricksGaurav Singh
 

Tendances (19)

Angular, the New Angular JS
Angular, the New Angular JSAngular, the New Angular JS
Angular, the New Angular JS
 
Visual Studio Software architecture
Visual Studio Software architectureVisual Studio Software architecture
Visual Studio Software architecture
 
Civil 3 d 2011 tutorials
Civil 3 d 2011 tutorialsCivil 3 d 2011 tutorials
Civil 3 d 2011 tutorials
 
Introduction to Angular js 2.0
Introduction to Angular js 2.0Introduction to Angular js 2.0
Introduction to Angular js 2.0
 
THE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JSTHE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JS
 
Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...
Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...
Angular 2 Training | Angular 2 Tutorial For Beginners | Angular Certification...
 
Vue micro frontend implementation patterns
Vue micro frontend implementation patternsVue micro frontend implementation patterns
Vue micro frontend implementation patterns
 
Angular Meetup 1 - Angular Basics and Workshop
Angular Meetup 1 - Angular Basics and WorkshopAngular Meetup 1 - Angular Basics and Workshop
Angular Meetup 1 - Angular Basics and Workshop
 
What is java fx?
What is java fx?What is java fx?
What is java fx?
 
Automated Testing on iOS
Automated Testing on iOSAutomated Testing on iOS
Automated Testing on iOS
 
Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...
Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...
Angular Routing Tutorial | AngularJS vs Angular Router | Angular Training | E...
 
The new features of angular 12
The new features of angular 12The new features of angular 12
The new features of angular 12
 
AngularJS Overview
AngularJS OverviewAngularJS Overview
AngularJS Overview
 
How to Implement Micro Frontend Architecture using Angular Framework
How to Implement Micro Frontend Architecture using Angular FrameworkHow to Implement Micro Frontend Architecture using Angular Framework
How to Implement Micro Frontend Architecture using Angular Framework
 
Introduction To Angular 4 - J2I
Introduction To Angular 4 - J2IIntroduction To Angular 4 - J2I
Introduction To Angular 4 - J2I
 
Meetup angular http client
Meetup angular http clientMeetup angular http client
Meetup angular http client
 
What's new in .net 5 by muralidharan deenathayalan
What's new in .net 5 by muralidharan deenathayalanWhat's new in .net 5 by muralidharan deenathayalan
What's new in .net 5 by muralidharan deenathayalan
 
I/O Extended (GDG Bogor) - Andrew Kurniadi
I/O Extended (GDG Bogor) - Andrew KurniadiI/O Extended (GDG Bogor) - Andrew Kurniadi
I/O Extended (GDG Bogor) - Andrew Kurniadi
 
Mastering angular - Dot Net Tricks
Mastering angular - Dot Net TricksMastering angular - Dot Net Tricks
Mastering angular - Dot Net Tricks
 

Similaire à Neha (20)

Vb lecture
Vb lectureVb lecture
Vb lecture
 
VB.Net GUI Unit_01
VB.Net GUI Unit_01VB.Net GUI Unit_01
VB.Net GUI Unit_01
 
235042632 super-shop-ee
235042632 super-shop-ee235042632 super-shop-ee
235042632 super-shop-ee
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
 
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
 
124157075 gb
124157075 gb124157075 gb
124157075 gb
 
Future Scope in Application Developement of Visual Basic
Future Scope in Application Developement of Visual BasicFuture Scope in Application Developement of Visual Basic
Future Scope in Application Developement of Visual Basic
 
Programming basics
Programming basicsProgramming basics
Programming basics
 
From Use to User Interface
From Use     to User InterfaceFrom Use     to User Interface
From Use to User Interface
 
introduction to visual basic PPT.pptx
introduction to visual basic PPT.pptxintroduction to visual basic PPT.pptx
introduction to visual basic PPT.pptx
 
control structure in visual basic
control structure in visual basic control structure in visual basic
control structure in visual basic
 
Medical Shop - 2.pptx
Medical Shop - 2.pptxMedical Shop - 2.pptx
Medical Shop - 2.pptx
 
UI architecture & designing
UI architecture & designingUI architecture & designing
UI architecture & designing
 
10tait
10tait10tait
10tait
 
Chapter 10
Chapter 10 Chapter 10
Chapter 10
 
Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic concepts
 
unit 4.docx
unit 4.docxunit 4.docx
unit 4.docx
 
Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0
 
Vb basics
Vb basicsVb basics
Vb basics
 
行動App開發管理實務 unit2
行動App開發管理實務 unit2行動App開發管理實務 unit2
行動App開發管理實務 unit2
 

Dernier

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 

Dernier (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 

Neha

  • 1. ON Submitted in the partial fulfillment for the requirement for the award of Degree M.Sc (Comp Sc) (Session : 2019-21) Submitted to: Submitted by: ] Dr. Balkishan Singhal Neha Assistant Professor Roll No : 19130 Reg No 191890007 M.Sc (Comp Sc) DEPARTMENT OF COMPUTER SCIENCE& APPLICATION MAHARASHI DAYANAND UNIVERSITY, ROHTAK
  • 2. Dr. Nasib Gill Professor & Head CERTIFICATE CUM DECLARATION I Pinki hereby declared that the work being represented in this Project entitled “SPORTS SYSTEM” and submitted to Department of Computer Science & Application, M.D. University, Rohtak partially fulfillment of the requirement for the award of Degree of Master of Computer Science & Application is an authentic record of my work carried out during the final semester from April to July 2021. Further I also undertake that matter embodied in this project report in my own work and has not being submitted by me or any other candidate for the award of any other degree anywhere else. Countersigned by Internal Supervisor Dr. Balkishan Singhal (Assistant Professor) Dept. of Computer Science & Application Neha Roll No. 19130 M.Sc (4th Sem)
  • 3. Acknowledgement A Study such as this cannot be the work of a single person. I hereby express deep gratitude to all those who helped me directly or indirectly in completing this Project Report inspired me all through the Project. It is my duty and privilege to express my regards to Dr. Balkishan Singhal (Asstt. Prof) Dept of Computer Science & Application, MDU Rohtak, for his cooperation and tell me the write direction in preparing this project. His able guidance and valuable suggestion led me through the difficult period of the preparation of this file. I acknowledge the help and co-operation received from my classmates.
  • 4. TABLE OF CONTENTS  Acknowledgement  Introduction to Visual Basic  System Configuration  Project Selection  Existing System  Proposed System  System Analysis  System Design o Input Design o Output Design  Coding  System Testing  Output  System Implementation  Maintenance  Conclusion  Bibliography
  • 5. INTRODUCTION TO VISUAL BASIC Visual Basic is an ideal programming language for developing sophisticated professional application for Microsoft windows. It makes use of Graphical user interface uses illustrations for text, which feature makes it easier to comprehend things in a quicker and easier way. Coding in GUI environment is quite a transition to traditional linear path of execution and is limited to a small set of operations. In a GUI environment, the number of options to the user is much greater. Allowing more Visual Basic is an ideal programming language for developing sophisticated professional application for Microsoft windows. It makes use of Graphical user Interface for creating robust and powerful applications. The Graphical User Interface uses illustrations for text, which enables user to interact with an application. This feature makes it easier to comprehend things in a quicker and easier way. Coding in GUI environment is quite a transition to traditional linear programming methods where the user is guided through a linear path of execution and is limited to a small set of operations. In a GUI Environment, the number of options to the user is much greater, allowing more freedom to the user and developer features such as easier comprehension, user frieandliness, faster application development and many other aspects such as introduced to Active technology and internet features makes Visual Basic is an interesting tool to work with. One of the most significant changes in Visual Basic 6.0 is the Integrated Development Environment (IDE) IDE is term commonly used in the programming world to describe the interface and environment that we use to create out applications. It is called integrated because we can access virtually all of the development tools that we need form one
  • 6. screen called an interface. The IDE is commonly referred to as the design environment of the program. The Visual Basic IDE is made up of a no of components. These are :- 1) Menu Bar. 2) Tool Bar 3) Project Explorer 4) Properties Windows. 5) Form layout Windows. 6) Form Designer 7) Tool Box 8) Object Browser In the previous version of Visual Basic, The IDE was designed as a Single Document Interface (SDI). In a Single Document interface, each window is a free floating window i.e contained within a main window and can move anywhere on the screen as long as VB is the current application. But in VB 6.0 the IDE is an Multiple document Interface (MDI) format. In this format, the windows associated with the project will stay within a single container known as the parent. Code and form based windows will stay with in the main container form.
  • 7. INTRODUCTION TO VISUAL PROGRAMMING:  Character based systems use text as the medium of information exchange.  In graphical user interfaces use graphics as the medium of information.  Rapid Application Development (RAD) tools helps us to create applications in a shorter time as compared to conventional languages and with fewer errors.  A visual programming environment provides all features that are required to develop a graphical user interface as ready to use components.  The components commonly uses in visual programming are  Window :- The base for a user interface of the application. All the components that make up the user interface are placed in the window.  Buttons:- Used to initiate an action.  Text Boxes:- Used to accept information from the user.  List Boxes:- Used to present the user with the possible options.  The characteristics of the components are referred to as its properties.  A method is code that is built into the component and can be executed as required.  An event is any user action directed at the application  Variables store values required for performing calculations.  The data type of a variable determines how the values in a variable are stored in the computer’s memory.
  • 8.  The loop structures that Visual Basic supports. For…… next :- Repeats a group of statements for a specified number of times. While ….. Wend:- Executes a series of statements as long as a given condition is true  The conditional statements supported by Visual Basic are: If….then……else:- Allows decisions to be taken on the basis of a condition.  Select case :- Executes a group of statements checking the test conditions only once. MORE ABOUT VISUAL BASIC CONTROLS :-  The form is the main part of a user interface. The frequently used properties. Methods and events of form are:- Properties (Caption, Name) Methods (Move, Show, Hide) Events (Load, Activate, Mouse down, Mouseup)  List boxed display long lists options from which users can choose. Properties (List index, Sorted, Multi select, listcount, list, Selected Methods (Additem, Remove Item, Selected, Setfocus) Events (Click, Scroll)  A combo box control combines the features of a text box and a list box. It allows the user to select an item either by typing text or from the list. Properties (Style, locked, Index, Listcount, Sorted) Methods (Add Item, Remove Item) Events (Click, Scroll, Change, Dropdown)
  • 9.  The option button are used when the user can select one and only one of the multiple options. Properties (Caption, Value) Methods (Move) Events (Click)  A frame control provides an identifiable grouping for controls. Properties (Caption) Methods (Move, Drag) Events (Click)  A check box indicated whether a particular condition is on or off. Properties (Caption, Value) Methods (Move, Resize) Events (Click)  Scroll bars provide easy navigation though a large amount of information. Properties (Min,Max, Value) Methods (Move) Events (Scroll,Change)  A text box is used to display text or to accept user input. Properties (Text, Multiline, Maxlength, Password Char, Locked) Methods (Move, Drag, Setfocus) Events (Change, Click, Lostfocus, Keypress)  A button is a control which allows the user to click on it to perform an action. Properties (Caption, Picture, Enabled) Methods (Move) Events (Click)  The label is the control used to place text in a form.
  • 10. Properties (Caption, Autosize,Wordwrap) Methods (Move, Drag) Events (Click, Change, Dbiclick)  The user interface is the most important part of an application  Designing of an interface includes such factors as : Positioning of controls Uniformity of elements Simplicity of design. MENUS:-  Menus allows an application to present the user with a means of intiating different actions.  A menu comprises of : A menu bar that displays the main menu options. There can be a list of options attached to each menu option. This referred to as a sub-menu.  Toolbars provide shortcut to menu actions. An application can have multiple toolbars. Display tool tips, which are tiny popup windows containing a short text description of a tool bar button’s purpose.  Status bar is used to display information for the user. An application can have only one status bar.  Dialog boxes. Special type of window used to flash messages or accept information from the user during the course of execution of the application.  Common dialogs are ready to use dialogs actions.
  • 11.  Custom dialogs are designed by the user keeping in mind the needs of the application.  A Model dialog box does not let the user perform any action while it is on display  Modeless dialog boxes let the user shift the attention between the dialog box and another form without having to close the dialog box. DATA ACCESS IN VISUAL BASIC:-  Procedures are a named sequence of statements executed as a unit.  Sub procedures and function are the types of procedures.  In Visual Basic code is stored in modules. There are three kinds of modules: Form. Standard Class  The scope of a variable defines which part of the code is aware of its existence.  Variables are classified on the basis of scope as: Procedure – level Module – level  Procedure level variables are recognised only in the procedure in which they are declared  Variables declared using the Public statement are available to all procedures in the applications.  A variable passed to a procedure is called an argument  Passing an argument by value gives a procedure only a copy of the variable.
  • 12.  Passing arguments by reference gives a procedure access to the original value of the variable in its memory location.  A client/server application is split into a front-end client component and a back-end server component.  The client is the portion of the application that presents data to the user.  The role of the server is to processing or information to the client.  A visual basic database application has three parts User Interface Database Engine Data store  The data controls allows us to access and manipulate databases  Controls that can work with the data control to access data are said to be data-aware.  The process of attaching a data-aware control to a data control is called binding.
  • 13. SYSTEM CONFIGURATION System: Core2duo Components: 1.Central Processor 2.Monitor 3.Keyboard 4.Printer Central Processor:-> Intel Pentium 11.366MHz types chip Main memory of 2 GB One hard disk of 250GB One CD-ROM drive Monitor:-> SVGA colored monitor Size:80*25 character display Keyboard:-> Keyboard of 104 keys Multimedia keyboard Printer:-> Laser Jet Operating System:-> WINDOWS 7 USED (V.B.6)
  • 14. PROJECT SELECTION This project report is submitted in the partial fulfillment of the requirements for M.Sc The project work is a golden opportunity for us to apply the theoretically learn tips, for practically e.g. how collect the information and design the system, the best possible solution to the problem, write efficient programs etc. and other minute things which matter a lot in the professional life? It provides us a unique opportunity to work on computer while working in the field. I gain valuable experience in handling the professional level programming and job more or less independently. The course provides a chance for self analysis efficiently. The task was to develop software.
  • 15. EXISTING SYSTEM The existing system depends upon manual operations, that is all the records were kept in simple files and thus the data are maintained. But, any small mistake may lead to a big problem. For example, for the proper maintenance of data, several registers like Stock register, and their loans and other allowances records are kept.. It becomes difficult to handle such detailed information. This may also lead to some accuracy problems in various data files. Disadvantages of existing system : 1. Searching of a particular record within the collected data becomes a very difficult task. 2. To maintain the data, that is, to add a new record, deletion of an old record is a complex task to be performed. 3. Due to mathematical calculations involved in the preparation of statements, it is very time consuming. 4. Department has to keep a lot of files for the records. So, it is very difficult to maintain all those files. Moreover, special rooms or cupboards are thus needed for the task to be performed. 5. A large staff is needed for the proper maintenance of data.
  • 16. 6. Incorrect entry of records also becomes an obstacle in the maintenance of data. 7. All the records are prepared occasionally. So, the manual work done is not always correct and becomes too late.
  • 17. PROPOSED SYSTEM As we have recognized the problems in our old manual system and we make a proposed system means, we have made changes in the old system so as to make improvements. I have completed this project to much extent and has included all the things but still then I have not made all the queries and all the possibilities of data that user can enter. That’s why I can’t say that my project is versatile. Some of the limitations in my project are as: 1.I have just taken two or three queries and there result while there can be much more. 2.There are a few reports in my project but there can be much more. 3.As in computers, there may be virus due to which sometime system may get fail. 4.Computerised systems are difficult to install and very expensive. 5.Much knowledge is required to manpower for handling it. So, these are some limitations in my project but these can be removed if my project is studied again and any person want to enhance it.
  • 18. System Design The most creative & challenging phase of the system development life cycle is “SYSTEM DESIGN”. The term design described a final system and the process by which it is developed. It refers to the technical specification that will be applied in implementing the candidate system. A system analysis phase defines What a system must do and System design states HOW to do it. A design must provides:-  Mechanisms for translating the analysis model into design representations.  Notations for representing functional components and their interfaces.  Scope for refinement  Guidelines for quality assessment The design process is a set of iterative steps that allow the designer to describe all the aspects of the software to be built based on user specifications .The general tasks involve in the design process are:-  Designing the overall system processes  Segmenting the system into smaller, compact workable modules  Designing the database structure  Specifying the details of the program to be created to achieve the desired functionality  Designing the input and output documents
  • 19.  Designing controls for the system  Documenting the system design  System reviews We have defined the problems in the existing system, then we analyze the problems found and proposed a candidate system that can do the work that was not done in old system. After analyzing the problem we have to make design for them.
  • 20. INPUT DESIGNING A major step in input design is the preparation of input & the design of output reports in a form acceptable to the user. Inaccurate input is most common cause of errors in data processing. Errors entered by data entry operator can be controlled by input design. Input design is the process of originated inputs to a computer based format. In system design phase the data flow diagram identifies logical data flow chart specifies master file , transaction files & computer programmers. Input data are organized into group of similar data. Once identified approximate input media are selected for processing
  • 21. Output Design Computer output is the most important and direct source of information to the user. Efficient, intelligible output design should improve the system’s relationships with the user and help in decision making. A major form of output is a hard copy from the printer. Printouts should be designed around the output requirements of the user. The output devices to consider depend on factors such as compatibility of the device with the system, response time requirements, expected print quality, and number of copies needed. The following media devices are available for providing computerized output:- 1.MICR readers. 2.Line,matrix,and daisy wheel printers. 3.Computer output microfilm(COM). 4.CRT screen display 5.Graph plotters. 6.Audio response.
  • 22. System Testing The testing of project is a means of assessing or measuring the project to determine its quality. Testing can be defined as the process of executing the project in a controlled manner, in order to answer the question “Does the project behave as specified?”. It also is the only way of finding out whether or not there are any errors in a system. Therefore, testing is an important part of SDLC. Like all other stages of the SDLC, testing too needs time and proper resource to become a meaningful activity. Testing is vital to the success of the system. Testing makes a logical assumption that if all parts of the system are correct, the goal will be successfully achieved. TYPES OF TESTING Unit testing:-Each component or part of the program is tested individually to verify that the detailed design for unit has been correctly implemented. Module testing:-In larger system a module may be a group of several programs or functions or sub-modules testing. Integration testing:-It is carried out to find problems in the interfaces between assembled units/modules in a system. System testing:-It is executing a program to check logic changes made in it and with the intention of finding errors. Acceptance testing:-It is running the system with live data by the actual user. Testing the users accept or reject the system. Implementation phase of the project starts only if the user accept the system.
  • 23. Volume testing:-determines whether or not the system will be able to handle a large volume of data. The volume should be a representation of the real life volume with some provision for future growth. Performance testing:-this is a corollary to volume testing. This testing focuses on the performance of the system under large volumes and not just on the ability to handle it. Stress testing:-Every system can experience a period of stress, which, usually lasts for a short period. Although this is not a normal condition, the system must be capable of handling it. Regression testing:-When a system is changed in one part, it is possible that this change could have affected the behavior of an unchanged part of the system.. Interface testing:-whenever two or more modules handle common data particularly write or update or use it as part of a calculation, then it become a case for interface testing. Security testing:- This attempts to verify that the protection mechanisms built into a system, actually protect the system from unauthorized access.
  • 24. SYSTEM ANALYSIS The process of system development starts with System Analysis. It is known that “A system is a collection of interrelated components that work together to achieve some common objective” and system is required to do “. System Analysis is an important activity that takes place when new information systems are being built or existing onces are being changed. These specifications states:-  Goals and objectives of the proposed system.  Fundamental actions that must take place in the software.  Outputs to be produced.  Inputs to be used.  Processes to be performed.  Interfaces to be provided.  Performance requirement to be met.  Organizational and other constraints to be met. System analysis is conducted with the following objectives in mind:-
  • 25.  Identification and analysis of customer needs.  System evaluation for feasibility.  Performing economic and technical analysis  Allocating functions to manpower ,database, hardware, software and other system elements  Establishing cost and schedule constraints.  Creating a system definition that forms a foundation for all subsequent development activities.  System analysis is an art, and needs a lot of patience backed by years of experience in order to get the desired system functionality and performance. In short, systems analysis then, is the process of totally understanding the current systems by gathering and interpreting facts, diagnosing problems, and using the facts to improve the current system. This is the job of the system analyst. Before we proceed to the next phase that is “SYTEM DESIGN” ,we must know a little more about the tools used during system analysis.
  • 26. TOOLS USED IN SYSTEM ANALYSIS:- As already mentioned, once the information is collected, it must be analyzed for the development team to ascertain user needs and write requirements specifications. As a large amount of information is collected, system analysts need tools to record ,store and manipulate this information during the analysis process.
  • 27. Implementation Meaning Implementation is used to mean the process of converting a new or a revised system design into an operational one. There are some kinds of standard activities to be performed during the Implementation process ,they are:- 1. Creation of a Installation Plan 2. Implementation of Physical Procedures 3. Data Preparation and Conversion 4. Conducting User Training 5. Running the system 1) The Installation Plan includes schedules for:- a) Purchase of hardware b) Preparation of site c) Purchase of Environmental software d) Installation of hardware and Environmental software e) Training 2) Physical Procedures:- Physical Procedures are the procedures that an organization will follow side by side of the automated system and which will complement its functioning. 3)Data Preparation and Conversion
  • 28. a)Data Preparation is normally the most consuming and tedious task in the implementation of most systems. During the implementation of a new system, all data has to be transcribed to fit into the new formats and coding schemes, and errors are rigorously checked to ensure no loss of information b)Data Conversion is the process of converting data from the old system into a format required by the new, automated system. 4)Training:-A Training Need Analysis has to be done for each of these groups to find out what kind of training is required for each. Training Need Analysis can be consider as the process of determining individual or group training needs for an organization. There usually are several types of users within an organization and all types of users don’t need all kind of training. 5) Running of the system:- “Parallel Run” signifies the running of two systems together:-the old and the new.
  • 29. METHODS OF IMPLEMENTATION 1)Parallel Run:-In the parallel method of conversion the old system is operated along with the new system for a while till all the teething problems of the new system are sorted out and users are confident of operating the new system. Advantages:-  It offers great security .  Minimize loss of data  It is the safest method of converting from an old system to a new one.  It inspires user confidence when user sees that results of the new way of processing are the same as that of the manual system. Disadvantage:- It doubles operating costs for a while .So long as the old system continues to run along with the new one the latter does not get a fair chance of trial. 2)Direct Cutover:-The direct method of implementation means that the old system is replaced with the new one and form the beginning itself the organization relies on the new system. Advantage:- Its main advantage is that the organization immediately starts to see the benefits of the new methods and controls that have been included in the new system.
  • 30. Disadvantage:- Its disadvantage is that there is no other system to fall back on, if a problem arises in he new system. Because of this the new system has to be planned, developed and Implemented with utmost care. 3)Phased Approach:-The phased method of conversion installs a new system throughout an organization in phases. It is best suited to system that are modular and a module at a time Advantage:- Training can be designed for users keeping the function in mind Disadvantage:- Log phase in period causes unnecessary problems 4)Pilot approach:-The pilot method of conversion means introducing a new system in one part of the organization –a single department or function. based on the feedback received changes are made to the system before it can be installed in all parts of the organization. Advantage:- It provides for live testing before implementation. Disadvantage:- If conversion is not handled well and takes too long to be implemented in the whole organization then the user may get the impression that the new system is not sound and full of errors.
  • 31. CODING After the problem has been defined, it is analyzed, corresponding to that designing is done and then coding is to translate the design of the system produced during the design phase into code in a given programming language, that can be executed by the computer and that performs the computation specified by the design. As only after this phase our project can come in the running phase. This coding affects both testing and maintenance. Coding has much less cost in the system development but testing and maintenance cost a lot of money. It is due to the less time spent in coding or coding is not done with attention. So, the goal should not be to simplify the job of programmer but to simplify the job of tester and maintainer. It should be kept in mind that programs should not be easy to write or we should not give more attention towards easy writing, but our coding should be easy to read and understand. In coding there are many different approaches to code our design. The programming practices used in our coding are: 1.Top-Down and Bottom-Up 2.Structured Programming 3.Informaton Hiding 4.Programming Style 5.Internal Documentation
  • 32. Splash Screen Private Sub Timer1_Timer () Load SPORTS SPORTS. Show Unload Me End Sub
  • 33. MDI FORM Private Sub additem_Click() Load ADDITION ADDITION.Show End Sub Private Sub allitem_Click() Load form7 form7.Show End Sub Private Sub customer_Click() Load form9 form9.Show End Sub Private Sub exit_Click() End End Sub
  • 34. Private Sub modifyitem_Click() Load MODIFICATION MODIFICATION.Show End Sub Private Sub removeitem_Click() Load DELETION DELETION.Show End Sub Private Sub sale_Click() Load SALES SALES.Show End Sub Private Sub salesreport_Click() Load form8 form8.Show End Sub Private Sub SREP_Click() DataReport2.Show End Sub Private Sub SRREPORT_Click() DataReport1.Show
  • 35. End Sub Private Sub stockitem_Click() Load form4 form4.Show End Sub
  • 36. ADDITION FORM Private Sub Command1_Click() Text1.Enabled = True Text2.Enabled = True Text3.Enabled = True Text4.Enabled = True Text5.Enabled = True Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" Text5.Text = "" Text1.SetFocus Command2.Enabled = True End Sub Private Sub Command2_Click() Data1.Recordset.AddNew Data1.Recordset.Fields("No").Value = Val(Text1.Text) Data1.Recordset.Fields("Name").Value = Text2.Text Data1.Recordset.Fields("Company").Value = Text3.Text Data1.Recordset.Fields("Date_Purchase").Value = CDate(Text4.Text)
  • 37. Data1.Recordset.Fields("Price").Value = Val(Text5.Text) Data1.Recordset.Update MsgBox ("Stock is saved") Command2.Enabled = False End Sub Private Sub Command3_Click() Unload ADDITION End Sub Private Sub Form_Load() Text1.Enabled = False Text2.Enabled = False Text3.Enabled = False Text4.Enabled = False Text5.Enabled = False Command2.Enabled = False End Sub
  • 38. DELITION FORM Private Sub Command1_Click() ab = MsgBox("do you want to delete this", vbCritical + vbYesNo, ("Delete warning")) If ab = vbYes Then Data1.Recordset.Delete Text1.Text = "" Text2.Text = "" Text3.Text = "" Text4.Text = "" Text5.Text = "" Else MsgBox ("record is not deleted") End If End Sub Private Sub Command3_Click() Unload DELETION End Sub Private Sub Command4_Click()
  • 39. Data1.Recordset.MoveFirst While Data1.Recordset.EOF = False If Data1.Recordset.Fields("no").Value = Val(Text1.Text) Then With Data1.Recordset Text2.Text = .Fields("name").Value Text3.Text = .Fields("company").Value Tet4.Text = .Fields("date_purchase").Value Text5.Text = .Fields("price").Value End With Else If Data1.Recordset.EOF = True Then MsgBox "Record not found", vbOKOnly End If End If Data1.Recordset.MoveNext Wend End Sub
  • 40. FORM 4 Private Sub CMDEXIT_Click() Unload form4 End Sub Private Sub CMDFIND_Click() Dim NUM As Integer NUM = Val(Text3.Text) ADODC1.Recordset.MoveFirst ADODC1.Recordset.FIND "NO=" & NUM If Not ADODC1.Recordset.EOF Then Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price Else MsgBox " NOT FOUND" End If End Sub Private Sub CMDFIRST_Click() ADODC1.Recordset.MoveFirst Text1.Text = ADODC1.Recordset!NO
  • 41. Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End Sub Private Sub CMDLAST_Click() ADODC1.Recordset.MoveLast Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End Sub Private Sub CMDNEXT_Click() If ADODC1.Recordset.AbsolutePosition < ADODC1.Recordset.RecordCount - 1 Then ADODC1.Recordset.MoveNext Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End If
  • 42. End Sub Private Sub CMDPREV_Click() If ADODC1.Recordset.AbsolutePosition > 1 Then ADODC1.Recordset.MovePreviousText1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End If End Sub End Sub Private Sub Command6_Click() End Sub Private Sub CMDPRE_Click() If ADODC1.Recordset.AbsolutePosition > 1 Then ADODC1.Recordset.MovePrevious Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End If End Sub
  • 43. Private Sub CMDTOTAL_Click() MsgBox "TOTAL ENTERY ARE = " & ADODC1.Recordset.RecordCount End Sub Private Sub Form_Activate() ADODC1.Recordset.MoveNext Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End Sub
  • 44. FORM 7 Private Sub CMDEXIT_Click() Unload form7 End Sub Private Sub CMDFIND_Click() Dim NUM As Integer NUM = Val(Text3.Text) ADODC1.Recordset.MoveFirst ADODC1.Recordset.FIND "NO=" & NUM If Not ADODC1.Recordset.EOF Then Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price Else MsgBox " NOT FOUND" End If End Sub
  • 45. Private Sub CMDFIRST_Click() ADODC1.Recordset.MoveFirst Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End Sub Private Sub CMDLAST_Click() ADODC1.Recordset.MoveLast Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End Sub Private Sub CMDNEXT_Click() If ADODC1.Recordset.AbsolutePosition < ADODC1.Recordset.RecordCount - 1 Then ADODC1.Recordset.MoveNext Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company
  • 46. Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price Else End If End Sub Private Sub CMDPREV_Click() If ADODC1.Recordset.AbsolutePosition > 1 Then ADODC1.Recordset.MovePrevious Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End If End Sub Private Sub CMDPRE_Click() If ADODC1.Recordset.AbsolutePosition > 1 Then ADODC1.Recordset.MovePrevious Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price
  • 47. End If End Sub Private Sub CMDTOTAL_Click() MsgBox "TOTAL SALES ARE = " & ADODC1.Recordset.RecordCount End Sub Private Sub Form_Activate() ADODC1.Recordset.MoveNext Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!Name Text3.Text = ADODC1.Recordset!Company Text4.Text = ADODC1.Recordset!Date_Purchase Text5.Text = ADODC1.Recordset!Price End Sub
  • 48. FORM 8 Private Sub CMDEXIT_Click() Unload form8 End Sub Private Sub CMDFIND_Click() Dim NUM As Integer NUM = Val(Text3.Text) ADODC1.Recordset.MoveFirst ADODC1.Recordset.FIND "NO=" & NUM If Not ADODC1.Recordset.EOF Then Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!I_Name Text3.Text = ADODC1.Recordset!S_DATE Text4.Text = ADODC1.Recordset!C_NAME Text5.Text = ADODC1.Recordset!C_ADDRESS Else MsgBox " NOT FOUND" End If End Sub
  • 49. Private Sub CMDFIRST_Click() ADODC1.Recordset.MoveFirst Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!I_Name Text3.Text = ADODC1.Recordset!S_DATE Text4.Text = ADODC1.Recordset!C_NAME Text5.Text = ADODC1.Recordset!C_ADDRESS End Sub Private Sub CMDLAST_Click() ADODC1.Recordset.MoveLast Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!I_Name Text3.Text = ADODC1.Recordset!S_DATE Text4.Text = ADODC1.Recordset!C_NAME Text5.Text = ADODC1.Recordset!C_ADDRESS End Sub Private Sub CMDNEXT_Click() If ADODC1.Recordset.AbsolutePosition < ADODC1.Recordset.RecordCount - 1 Then ADODC1.Recordset.MoveNext
  • 50. Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!I_Name Text3.Text = ADODC1.Recordset!S_DATE Text4.Text = ADODC1.Recordset!C_NAME Text5.Text = ADODC1.Recordset!C_ADDRESS End If End Sub Private Sub CMDPREV_Click() If ADODC1.Recordset.AbsolutePosition > 1 Then ADODC1.Recordset.MovePrevious Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!I_Name Text3.Text = ADODC1.Recordset!S_DATE Text4.Text = ADODC1.Recordset!C_NAME Text5.Text = ADODC1.Recordset!C_ADDRESS End If End Sub Private Sub Command5_Click() MsgBox "Total ENTERY Are = " & ADODC1.Recordset.RecordCount
  • 51. End Sub Private Sub Form_Activate() ADODC1.Recordset.MoveNext Text1.Text = ADODC1.Recordset!NO Text2.Text = ADODC1.Recordset!I_Name Text3.Text = ADODC1.Recordset!S_DATE Text4.Text = ADODC1.Recordset!C_NAME Text5.Text = ADODC1.Recordset!C_ADDRESS End Sub
  • 52. FORM 9 Private Sub Command1_Click() Data1.Recordset.MoveFirst While Data1.Recordset.EOF = False If Data1.Recordset.Fields("C_Name").Value = Text4.Text Then With Data1.Recordset Text2.Text = .Fields("I_Name").Value Text3.Text = .Fields("S_Date").Value Text1.Text = .Fields("No").Value Text5.Text = .Fields("C_Address").Value End With Else If Data1.Recordset.EOF = True Then MsgBox "Record not found", vbOKOnly End If End If Data1.Recordset.MoveNext Wend End Sub Private Sub Command3_Click() Unload form9
  • 60.
  • 62. FUTURE PROSPECTIVE “THE MORE YOU GET… THE MORE YOU WANT…” The above statement shows the summary of what is present in the subsequent discussion. I am still very proud for whatever I have managed to get by the means of this application, but still this project has more to it than what has been done. There are numerous areas in which, the project should have had been improved. Also I think that system can be have improved on the user level interface. This would have made this project more acceptable, in somewhat non- technical sense, to the general layman user, who is more concerned about the superficial details and not the technical working. But still I believe that what I have achieved can never be over shadowed by what I could not achieve.
  • 63. CONCLUSION System was developed and fasted in steps. Once the design was finalized, the format of the output reports were set one by one after approval from the user department. System was first tested on test data and then real data. Minor programming errors were identified and rectified. After rectifying the system was implemented successfully and accuracy was found. The system, after testing, was found accurate to be implemented. After testing certain limitations were found. Those limitations were upgraded as per the user’s requirements. As the system is developed using SQL, further enhancements can easily be done. Once the system started working certain new things were found to be added into it, so some reports coming from the user department are manual and they should also be computerized. The system can also be made more user-friendly and interactive by overcoming the limitations and the user will find him more informative.
  • 64. Bibliography 1. Visual basic 6.0 VB Complete. 2. Mastering in VB 6 BPB publication 3. www.visualstudio.com 4. www.google.com