Professional Documents
Culture Documents
The Inventory management record system is very simple and for very beginner
mini project. It is based on the menu-driven program for elementary database
management. It consists of following features Writing the data and Reading
the data and Modify the record, Delete the record.
Inventory management system is a computer-based system for tracking
inventory levels, orders, sales and deliveries. It can also be used in the
manufacturing industry to create a work order, bill of materials and other
production-related documents. Companies use inventory management
software to avoid product overstock and outages. It is a tool for organizing
inventory data that before was generally stored in hard-copy form or in
spreadsheets. System Analysis refers into the process of examining a situation
with the intent of improving it through better procedures and methods.
System Analysis is the process of planning a new System to either replace or
complement an existing system. But before planning is done the old system
must be thoroughly understood and the requirements determined. System
Analysis is therefore, the process of gathering and interpreting facts,
diagnosing problems and using the information to re-comment improvements
in the system. Or in order words, system Analysis means a detailed explanation
or description. Before computerized a system under consideration, it has to be
analysed. We need to study how it functions currently, what are the problems,
and what are the requirements that the proposed system should meet.
Modules
1. Enquiry Module
2. Quotation Module
3. Purchase Order Module
4. Sales Module
5. Transaction Module
DESCRIPTION
1. Enquiry Module: The Enquirer generated may be modified or cancelled
during enquiry amendment. Seller details and required date are allowed
to modify during the enquiry amendments.
2. Quotation Module: Quotations received are recorded into the system.
On entering the enquiry number, the Seller details appear on the screen
and the system accepts the quotation details such as opening date, price
basis.
3. Purchase Order Module: The entire information will be stored in the
purchase order master file and in the detail file.
4. Sales Module: The Sales module gives you quick links to various aspects
of this system manager related to taking and processing customer orders.
5. Transaction Module: It is from this table that the inventory quantities
finally get updated and serial/lot numbers get updated.
HARDWARE/SOFTWARE REQUIREMENTS
Hardware requirements
Processor : Intel Pentium IV 2.8GHz
Software Requirements
Operating system : windows 10
Front-End : VB.NET
Back-End : My SQL
Tools : Microsoft Visual Studioc2019
INTRODUCTION TO VISUAL BASIC
SOFTWARE SPECIFICATION
Windows 2000 professional is considered more user friendly than its counterpart MS-DOS. It
can support long filenames as compared to the eight letter file names supported by Dos.
Starting in windows 2000, files could have name up to 255 characters long. A Web browser
called with Internet Explorer comes a part of windows 2000 professional.
Windows 2000 professional has another important feature called outlook Express. Outlook
Express we can send and receive Electronic Mail Message. Outlook Express also provides
facility for managing this message.
Windows 2000 professional Provider Internet Collaboration through its yet another feature
called Net Meeting. It helps in works together, sharing information exchanging files and
documents during conference using data, audio and video.
Windows 2000 professional provides with security zones features. This features helps to
assign Security option to website in using windows 2000, there is no remembering any codes
as if it is a GUI based Operating System.
VISUAL BASIC.NET
Microsoft visual basic.NET (VBNET) is an object oriented .Net language Visual basic is one of the
languages this are directed towards meeting the objectives of the .NET initiative of creating
distributed application it has initiated the capability of rapid application development From its earlier
versions and strengthened consider the implementation of object-oriented features Visual Basic .NET
is a powerful object-oriented language that provides features such as abstraction, encapsulation,
inheritance , and polymorphism in addition, it provides many other features that did not exist in the
earlier version. Such as multithreading and structured exception handling.
Inheritance
Overloading
Overriding
Multithreading
Inheritance
Inheritance is the ability of a class to derive its characteristics from an existing class. Using
Visual Basic.NET you can create a class that provides basic.
Functionality so that other classes can inherit its members. The derived classes can further override
the inherited properties and methods to provide new functionality. Visual Basic .NET provides the
Inherits keyword to implement inheritance.
Overloading
Overloading enables methods to be defined with the same but different parameters. In other words, it
allows you to have multiple implementations of a method. In Visual Basic NET you can create
multiple methods with the same name in a class provided their parameter list is different.
Overriding
Overriding is the capability of a derived class to override the characteristics of the parent class. Visual
Basic NET has introduced the Overrides keyword for providing a new implementation of an inherited
member in the derived class. The methods that can be over ridden by the derived classes need to be
marked as veritable in the base class.
Multithreading
Visual Basic .NET Provides full support for creating multithreaded applications.
Multithreading enables an application to contain one or more threads that can share the workload in
an application by executing one at a time.
Windows Application
Class Library
Windows Service
Empty Project
Console Application
This template is used to create & console application that can be ran from the
command line. A console application has a character user interface.
Windows Application
This template is used to create the individual structure windows supplication.
Class Library
This template is used to create a class or a reusable component that exposes some
functionality that can be used in various projects.
Windows Service
This template is used to create an application that does not have a user interface. A windows service is
a program that runs in the background of windows and can start automatically when the computer is
started. For example, you can create a windows service that monitors the performance of the system.
Empty Project
This template is used to create an empty project. f you want to add any file or component, you need to
do so manually.
one core component of Microsoft SQL Server is the SQL Server Database Engine, which
Controls data storage, processing and security. It includes a relational engine that processes
Commands and queries and a storage engine that manages database files, tables, pages,
indexes, data buffers and transactions. Stored procedures, triggers, views and other database
objects are also created and executed by the Database Engine.
Sitting beneath the Database Engine is the SQL Server Operating System, or SQLOS.
SQLOS handles lower-level functions, such as memory and /O management, job scheduling
and locking of data to avoid conflicting updates. A network interface layer sits above the
Database Engine and uses Microsoft's Tabular Data Stream protocol to facilitate request and
response interactions with database servers. And at the user level, SQL Server DBAs and
developers write T-SQL statements to build and modify database structures, manipulate data,
implement security protections and back up databases, among other tasks.
History
The original SQL Server code was developed in the 1980s by the former Sybase Inc., which
is now owned by SAP. Sybase initially built the software to run on Unix systems and
minicomputer platforms. It, Microsoft and Ashton-Tate Corp., then the leading vendor of PC
databases, teamed up to produce the first version of what became Microsoft SQL Server,
designed for the OS2 operating system and released in 1989.
Ashton-Tate stepped away after that, but Microsoft and Sybase continued their partnership
until 1994, when Microsoft took over all development and marketing of SQL Server for its
own operating systems. The year before, with the Sybase relationship starting to unravel,
Microsoft had also made the software available on the newly released Windows NT after
modifying the 16- bit OS/2 code base to create a 32-bit implementation with added features;
it focused on the Windows code going forward. In 1996, Sybase renamed its version
Adaptive Server Enterprise, leaving the SQL Server name to Microsoft.
SQL Server 2019 allows users to join SQL Server, HDFS, and Spark containers together
using a new Big Data Cluster feature. SQL Server 2019 also introduces column store index
builds, rebuilds and static data masking. Accelerated Data Recovery is also new, which
performs and undoes a redo phase in the oldest page log sequence number. As an example,
this is done in the case scenario where the user closes an application which was running for
an extended period of time, so the user does not have to wait long for the application to close.
Always On Availability Groups, available in SQL Server 2012, has been changed to simplify
administration of availability groups. This adds support to MSDB and Master system
databases. Other changes to features include the expansion to operations users can perform
with Always Encrypted data; additional Poly base connectors for SQL Server, Oracle,
MongoDB and Teradata; additional persistent memory options for storage; and improvements
on Query Processing.
In the cloud, Microsoft also offers Azure SQL Data Warehouse, a data warehousing service
based on a massively parallel processing (MPP) implementation of SQL Server. The MPP
version, originally a stand-alone product called SQL Server Parallel Data Warehouse, is also
available for on-premises uses as part of the Microsoft Analytics Platform System, which
combines it with Poly Base and other big data technologies.
SYSTEM DESIGN
INTRODUCTION
The design phase is the life cycle phase in which the detailed design of the selected system in
the study phase is accomplished. In the design phase, the technical specifications are prepared
for the performance of all allocated tasks. It also includes the construction of programs and
program testing. In the design phase, the first step is to determine the output is to be produced
and in what format. Second, input data and master files have to be designed to meet the
requirements of proposed output. The system analyst has to define the methods of capturing
and input programs and format of the output and its use by the users.
The design is a solution, the translation of requirements into center ways of meeting. The
design 1s actually the process of analysing, organizing and developing a database model that
accurately reflects the organization functioning in the real world and implementing that
model by creating a database requires an appropriate methodology. System can be divided
into two phases:
1. Logical Design
2. Physical Design
Logical Design
The logical design describes the detail specification for the proposed system. We can say that
if describes its own feature. Input, output, file (table) and database in manner that meets the
project needs. In logical design work with users is done to develop general design, choose
best design. develop system flow charts, identify hardware, software and personal needs and
revise estimates etc.
Physical Design
The purpose of physical design is to translate the logical description of data into the technical
specification for storing and retrieving data. The goal is to create design for storing data that
will provide adequate performance and ensure database integrity, security and recovery.
Physical database design does not include implementing files and databases (i.e. creating
them and loading data into them).
Input Design
The input design specifies the number in which the user enters the data to the system for
processing at later stage. Input design can insure the reliability of the system and provide an
accurate result. The input determines whether the user interacts with the system efficiently or
not. The input design can also be explained as a link between the user and the world. Input
design consists of those steps necessary to put transactions data into usable form of
processing. While designing the input for the Crime Reporting System for police departments
of KPK has the following objectives were kept in mind as guidelines.
1. Reducing the amount of input
2. Avoiding errors in data
3. Keeping extra steps
4. Keeping the process simple
5. Avoiding delays
Data Capturing
In input design only those items are captured which must actually be the subject of input
while designing the input, following points were kept in mind.
1. Crime information
2. Complaint report record
3. Admin in formation
4. User information
Input Validation
Input validation is general term given to method, aim for detecting errors in the input. The
main thing, which is considered in the input, is that what the chances of error are? Following
are input validation used for centralized system for Crime Reporting System for police
department.
1. Empty entry Control
2. Data Type Validation
3. Not Null
Output Design
A system is considered to be successful or unsuccessful on the basis of output design. The
term "output" means that after compilation of physical design what errors come out of the
computer system for the user. The output in project is considered as the backbone of the
project. All managerial design is actually made through these reports. Basically the reports
are very important aspect of the output. The user creates various reports in response to
queries.
Architectural Design
The primary objective of architectural design is to develop a modular program structure and
represent the control relationship between them.
Conceptual Database Design
Tells the user exactly
1. What the system will do
2. Describe the functions of the systems
3. The system will work in the following areas
4. Unique authorized access to all registered users
5. Purchasing of products
6.Data Validation checks
7. The system is defined by its boundaries, entities, attributes, and relationship
Modular Design
Modular design occurs after data; architecture and interface designs have been established. In
and world, the modular specification required to be define algorithmic details would be stated
in a natural language such as English because it is easily understandable. And then that
straight forward plain English are converted to diagrams. There is no question that graphics
tools such as flow charts or box diagrams provide excellent pictorial patterns that readily
depict modular details. However graphical tools are misused, the wrong picture may lead to
wrong software. In this section we will demonstrate some of our basic modules by using
Flow Charts. Such as form entry, deletion, insertion, updating and reports
DFD SYMBOLS
In the DFD, there are four symbols
A square defines a source (originator) or destination of system data.
An arrow defines data flow. It is the pipeline through which the information flows.
A circle or a bubble represents a process that transforms incoming data flow into out going
data
flows.
An open rectangle is a data store, data at rest or a temporary repository of data.
Process
→ DATA FLOW
Data store
CONSTRUCTING A DFD
There are several rules of thumb that are used in drawing DFD's. They are
Process should be named and numbered for an easy reference. Each name should be
representative of the process.
The direction of flow is from top to bottom and from left to right. Data traditionally
flow from source to the destination although they may flow back to the source. One
way to indicate this is to draw long flow line back to a source. An alternative way is
to repeat the source symbol as a destination. Since it is used more than once in the
DFD, It is marked with a short diagonal.
When a process is exploded into lower level details, they are numbered.
PROCESS
No process can have only outputs.
No process can have only inputs. If an object has only inputs then it must be a sink.
DATA STORE
Data cannot move directly from one data store to another data store, a process must move
data.
Data cannot move directly from an outside source to a data store. Data must be moved by a
process that receives data from the source and places the data into the data store.
Data cannot move directly to an outside sink from a data store. Data must be moved by a
process.
SOURCE OR SINK
Data cannot move directly from a source to a sink. It must be moved by a process.
DATA FLOW
A data flow has only one direction of flow between symbols. It may flow in both
directions between a process and a data store to show a read before an update.
A fork in a data flow means that exactly the same data goes from a common location to
two or more different processes, data stores, or source/sinks.
A join in a data flow means that exactly the same data come from any of two or more
different processes, data stores, or source/sinks to a common location
Advantages of DFD:
DFD also depicts real-time system with help of some extends notions.
DATA FLOW DIAGRAM
SYSTEM ANALYSIS
System Analysis is the process of gathering and interpreting facts, diagnosing problems, and
using the information to recommend improvements to the system. Analysis specifies what the
system should do whereas design states how to accomplish the objective. System analysis is
an activity that encompasses most of the tasks that are collectively called computer system
engineering
4. Allocate functions to hardware, software people, database and other system elements.
6. Create system definition that forms the foundation for all subsequent engineering
work.
Identification of Need
The first step of the analysis process involves the identification of need. The success of a
system depends largely on how accurately a problem is defined. User need identification and
analysis are concerned with what the user needs rather than what he / she wants. This step is
intended to help the user and the analyst understand the real problem rather than its
symptoms.
This package has been developed in order to overcome the difficulties encountered while
using he manual system. Faster and timely generation of reports is another motivating factor
for the development of this package. All project are feasible -given unlimited resources and
infinite time. It is both necessary and prudent to evaluate the feasibility of a project at the
earliest possible time. Feasibility and risk analysis are related in many ways.
If project risks are great, the feasibility of producing quality software is reduced.
Feasibility Study
Feasibility study is conducted once the problem is clearly understood. Feasibility study is a
high level capsule version of the entire system analysis and design process. The objective is
determined quickly at a minimum expense how to solve the problem but to determine if the
problem is worth solving.
The system has been tested for feasibility in the following points.
Economic Feasibility
Technical Feasibility
Operational Feasibility
The measure of the cost effectiveness of a project or solution. It takes into account
costs and benefits. Thus it is often called Cost-Benefit Analysis.
Costs can be divided into development costs (one-time costs to setup a system) and operating
costs (ongoing costs after system has been placed in operation). Operating costs are either
fixed (same or nearly the same every month, quarter, year, etc.) and variable (vary in
proportion to some usage factor- i.e. production costs, hourly workers wages, supplies, etc.).
Benefits can be divided into tangible benefits (those that are easily quantified change in
savings for the firm after the system is implemented) and intangible benefits) (those which
are almost impossible to quantify - customer goodwill, employee morale, better service, etc.).
Since the system is a web based, any number of users or citizens can use it from anywhere
anytime. Hence the system is proved to be economically feasible.
Technical Feasibility
The project entitles "Gas Agency Management System" is technically risibility because of the
below mentioned feature. The Project was developed for platform dependent environment.
Visual Basic.Net and MS SQL Server used to develop the system. Hence the system is
proved to be technically feasible.
Operational Feasibility
The measure of how well the solution of problems will work in the organization. (Is the
problem worth solving?) It is also a measure of how people feel about the system project. The
effective use of the user or viewer can easy to view in local area news or current affairs in
city. It also gives citizens easy access to tangible benefits, through online applications. This
kind of automation will surely reduce the time and energy which previously consumed in
manual work. Hence, the system is proved to be operationally feasible.
Determine and evaluate performance and cost effectiveness of each candidate system.
The following are the same of the advantages of the computerized system is:
The information can be provided with ease and minimum amount of time.
Generation of reports is faster and report formats are presentable in no time for
management information system.
Existing System
The existing system is basically a console interface system with no computational power and
very less user friendliness. The features and Requirements of the proposed system and arrived
at after conducting a Series of surveys, keeping and views the various problems faced by the
users in the existing system. Also certain drawbacks, which are present in the existing
system, are considered so as to make the new proposed system reach the user early. As far as
possible the original procedure is maintained for easy user interface.
The main objective of the proposed system is to computerize the Operations of news
management and market price Management that will allow the company and user interacts
with each other through this site. The user searches the site as he searches the directory.
The Existing system is single user interface. It need the user who is working with the system
should posses good knowledge in working with system. Even though he is well trained, we
can't assure his better performance. The end users need to reach the office physically to
clarify certain doubts. It requires huge amount of paper work also.
The user needs to spend large amount of time to record the information manually.
It became difficult for the user to search from the large amount of records.
(It makes him very difficult to modify the records if he need any modification.
He does not have very high security and anyone can modify his records.
Proposed System
Using this software, it saves the time of the user that he use to spend by doing the
work manually.
It allows the user to enter the record in short span of time without any mistake, if he
does any mistake he can rectify those mistake in short span of time.
It allows the user to search a particular record from large amount of records or from
thousand records within a few second.
If any changes are required by the user he can do that in short span of time, without
deleting the previous record.
The user has the advantage of deleting or modifying the record in short span of time.
If this software is used then there is no chance of repeating in the consumer number
and serial number.
This software provides very high security and only authorized person can access the
records.
It help in saving paper, time.
TESTING
↓ ↑
LLD (Low level Component testing
design)
↓ ↑
implement Unit testing
↓ ↑
CODE
Diagram - Different stages in Software Test Life Cycle
Requirement Analysis
↓
Test Planning
↓
Software testing is the process of executing a program with intension of finding errors in the
code. It is a process of evolution of system or its parts by manual or automatic means to
verify that it is satisfying specified or requirements or not. Generally, no system is perfect
due to
communication problems between user and developer, time constraints, or conceptual
mistakes by developer. To purpose of system testing is to check and find out these errors or
faults as early as possible so losses due to it can be saved.
Testing is the fundamental process of software success. Testing is not a distinct phase in
system development life cycle but should be applicable throughout all phases i.e. design
development and maintenance phase. Testing is used to show incorrectness and considered
to success when an error is detected.
OBJECTIVES OF SOFTWARE TESTING
The software testing is usually performed for the following objectives.
Testing time and resources should be limited i.e. avoid redundant testing.
Test should be planned long before testing begins i.e. after requirement phase.
Test for invalid and unexpected input conditions as well as valid conditions.
Testing should begin in "in the small" and progress towards testing "in the large".
For the most effective testing should be conducted by an independent party Document
test cases and test results.
Examining what the software not doing which it expected to do and also checking
what it is doing that was not expected to do.
The First Level is unit testing. In this testing, individual components are tested to ensure that
they operate correctly. It focuses on verification efforts.
The Second Level is integration testing. It is a systematic technique for constructing the
program structure. In this testing, many tested modules are combined into the subsystems
which are then tested. The good here is to see if the modules can be integrated properly.
The Third Level is integration testing? System testing is actually a series of different tests
whose primary purpose is to fully exercise computer based system.
System Testing
System testing is the stage of implementation that is aimed at ensuring that the system
accurately and efficiently before live operation commences. Testing is the vital to the success
of the system. System testing makes a logical assumption that if all parts of the system are
Correct, then the goal will be successfully achieved. A series of testing are done for the
Proposed system before the system is ready for the user acceptance testing.
Integration testing
Validation
Output testing
User acceptance testing
Unit testing
unit testing focuses verification efforts of the smallest units of the software design the
module. This is also known as module testing. The modules are tested separately. This testing
was carried out during programming stage itself. In this testing each module is found to be
working satisfactorily as regards to the expected output from the module. Unit test focus on
the verification affect on the smallest unit of the software design (module). In unit testing we
use the control structures of the procedural design to derive test cases. The local data
structures are examined to ensure that the data stored temporarily maintains its integrity
during all steps in the algorithm execution.
Boundary conditions are tested to ensure that the module operates properly at boundaries to
limit or restrict the processing. Al independent paths through the control structures are
exercised to ensure that the all statement in the module have been executed at least once.
The module interface is tested to ensure that information properly flows in to and out of the
program until test. Finally all error-handling paths are tested.
Integration testing
Data can be lost across an interface; one module can have adverse efforts on another.
Integration testing is a systematic testing for constructing the program structure, while at the
same time conducting tests to uncover errors associated within the interface. The objective is
to take unit tested tod modules and build a program structure. All the modules are combined
and tested as a whole. Here correction is difficult because the vast expenses of the entire
program complicate the isolation of causes. Integration testing addresses the issues associate
with the dual problems of verification and program construction. Integration testing is a
systematic technique for constructing the program structures while of the same time
conducting tests to uncover the errors associated with the interfacing. The objectives is take
unit tested modules and build a program structure that has been dictated by design. The
integration testing can be either top-down integration or bottom-up integration.
In top down integration, modules are integrated by moving down words through the control
hierarchy. The modules subordinate to the main program module are incorporated into the
structure either by the depth first or breadth first manner. In bottom-up integration the
construction and testing begins of the lower level in the program structure, since the modules
are integrated from the bottom-up processing required modules subordinates to given level is
always available and the need for the stubs are eliminated.
Validation Testing
It is the culmination of integration testing, software is completely assembled as a package and
interfacing errors have been uncovered. Validation testing provides the final assurance that
the software meets all functional behaviour and performance requirements the software once
validated must be combined with other system elements.
After each validation test case has been conducted. On end of file the two possible
conditions exist. They are
objectives of testing
System Implementation
The implementation is the final and important phase. It involves user training. system testing
and successful running of the developed proposed system. The user tests the developed
proposed system and changes are made according to their needs. The users are trained to
operate the developed systems.
Implementation is the process of converting a new or revised system design into an
operational one. It is the key stage in achieving a successful new system because, usually it
involves a lot of upheaval in the user department. It must therefore be carefully planned and
controlled. Apart from planning the two major tasks of preparing for implementation are
education and training of users and testing of the system. Training has to be given to the user
regarding the new system is implemented successfully, training of the user is one of the most
important tasks of the developer. For that purpose user manuals are prepared and handed over
to the user to operate the developed system. Here the user is trained to operate the developed
system.
WHAT IS VALIDATION IN SOFTWARE TESTING? OR WHAT IS
SOFTWARE VALIDATION?
validation is determining if the system complies with the requirements and performs
functions for which it is intended and meets the organization's goals and user needs.
Validation is done at the end of the development process and takes place after
verifications are completed.
Am I accessing the right data (in terms of the data required to satisfy the requirement).
Performed after a work product is produced against established criteria ensuring that
the product integrates correctly into the environment.
↓ __________________________________________ ↓
Verification
Needs and
Specification Process Product
Expectation of
Customer →
↑____________________________________ Validation_________________________ ↑
According to the Capability Maturity Model (CMM) we can also define validation as The
process of evaluating software during or at the end of the development process to determine
whether it satisfies specified requirements.
product can pass while verification, as it is done on the paper and no running or functional
application is required. But, when same points which were verified on the paper is actually
developed then the running application or product can fail while validation. This may happen
because when a product or application is build as per the specification but these specifications
are not up to the mark hence they fail to address the user requirements.
Advantages of Validation:
1. During verification if some defects are missed then during validation process it can be
caught as failures.
2. If during verification some specification is misunderstood and development had happened
then during validation process while executing that functionality the difference between the
actual result and expected result can be understood.
3. Validation is done during testing like feature testing, integration testing, system testing.
load testing, compatibility testing, stress testing, etc.
4. Validation helps in building the right product as per the customer's requirement and helps
in satisfying their needs.
Validation is basically done by the testers during the testing. While validating the product if
some deviation is found in the actual result from the expected result then a bug is reported or
an incident is raised. Not all incidents are bugs. But all bugs are incidents. Incidents can also
be of type 'Question' where the functionality is not clear to the tester.
hence, validation helps in unfolding the exact functionality of the features and helps the
testers understand the product in much better way. It helps in making the product more user
friendly.
SCREEN SHOTS
Login page
TABLES
Database Design
The most important step in system designing is the Data Storage Design. The Database
management (DBMS) allows the data to be protected and organized separately from other
resources. Database is identified as an integrated collection of data. Computer data
management function can support a database. The three major objectives of database are data
centralization between data must be maintained. Direct access techniques are used to permits
efficiency flexible linking, although sequential organization can be used in a database
Data Integrity results in more consistence information. One update being achieves a new
record status for all applications which insulation of application program from the changing
aspects of physical data organization. The objective seeks to allow of application and to allow
modifications to application program without recognizing the physical data.
The table design that is being designed through my sql in which the connectivity would be
formed powerful to retrieve the data that is being applied the project.
CODING
Home Form
Public Class DashBoard
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
With ManageInventory
.TopLevel = False
Panel4.Controls.Add(ManageInventory)
.BringToFront()
.Show()
End With
End Sub
End Sub
End Sub
Login Form
Imports System.Data.SqlClient
End Sub
DashBoard.Show()
Else
MessageBox.Show("login fail")
End If
End If
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
End If
End Sub
End Sub
End Sub
End Class
Add Buyer form
Imports System.Data
Imports System.Data.SqlClient
End Sub
End Sub
End Sub
Private Sub AddBuyer_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
End Class
Imports System.Data
Imports System.Data.SqlClient
End Sub
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
End Sub
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox4.Text = ""
End If
Using con = New SqlConnection("Data
Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=Data
Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|
DataDirectory|\inventory.mdf;Integrated Security=True")
str = "select * from buyer"
com = New SqlCommand(str, con)
da = New SqlDataAdapter(com)
dt = New DataTable()
dv = New DataView()
da.Fill(dt)
DataGridView1.DataSource = New BindingSource(dt, att)
End Using
con.Close()
Catch ex As Exception
MsgBox("ex.Tostring")
End Try
End Sub
End Sub
Add inventory
Imports System.Data
Imports System.Data.SqlClient
Public Class AddInventory
Dim con As New SqlConnection
Dim da As New SqlDataAdapter
Dim com As SqlCommand
Dim ds As New DataSet
Dim dr As SqlDataReader
Dim str As String
Dim dt As DataTable
Dim dv As DataView
Else
Dim com = New SqlCommand("insert into
invent( item,category,quantity,price,status)values('" & TextBox1.Text & "','" &
ComboBox1.Text & "','" & TextBox2.Text & "','" & TextBox3.Text & "','" &
ComboBox2.Text & "')", con)
con.Open()
com.ExecuteNonQuery()
MsgBox("New Infromation Inserted Successfullyy..")
Hide()
con.Close()
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
ComboBox2.Text = "--select--"
ComboBox1.Text = "--select--"
End If
End Sub
End Sub
End Class
Form Report
Imports System.Data
Imports System.Data.SqlClient
Public Class Report
Dim con As New SqlConnection
Dim da As New SqlDataAdapter
Dim com As SqlCommand
Dim ds As New DataSet
Dim dr As SqlDataReader
Dim str As String
Dim dt As DataTable
Dim dv As DataView
Dim att As Object
Private Sub Panel1_Paint(sender As Object, e As PaintEventArgs) Handles
Panel1.Paint
End Sub
End Try
End Sub
Try
con.Open()
str = "delete from purchase where p_id='" + TextBox1.Text + "'"
com = New SqlCommand(str, con)
com.ExecuteNonQuery()
con.Close()
MsgBox("deleted sucessfully")
Using con
str = "select * from purchase"
com = New SqlCommand(str, con)
da = New SqlDataAdapter(com)
dt = New DataTable()
dv = New DataView()
da.Fill(dt)
DataGridView1.DataSource = New BindingSource(dt, att)
End Using
Catch ex As Exception
End Try
End Sub
End Class
End Sub
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
End Sub
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox1.Text = ""
End If
Using con = New SqlConnection("Data
Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=Data
Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|
DataDirectory|\inventory.mdf;Integrated Security=True")
str = "select * from seller"
com = New SqlCommand(Str, con)
da = New SqlDataAdapter(com)
dt = New DataTable()
dv = New DataView()
da.Fill(dt)
DataGridView1.DataSource = New BindingSource(dt, att)
End Using
con.Close()
Catch ex As Exception
MsgBox("ex.Tostring")
End Try
End Sub
End Sub
End Sub
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
End If
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
Else
Try
con = New SqlConnection("Data
Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|
DataDirectory|\inventory.mdf;Integrated Security=True")
Catch ex As Exception
MsgBox(ex.Message)
End Try
com = New SqlCommand("insert into purchase
(s_id,s_name,s_number,s_addr,b_id,b_name,b_number,b_addr,i_id,item,category,quantity,p
rice,status,date)values('" & TextBox11.Text & "','" & TextBox1.Text & "','" &
TextBox2.Text & "','" & TextBox3.Text & "','" & TextBox12.Text & "','" &
TextBox10.Text & "','" & TextBox9.Text & "','" & TextBox8.Text & "','" &
TextBox13.Text & "','" & TextBox7.Text & "','" & ComboBox1.Text & "','" &
TextBox6.Text & "','" & TextBox5.Text & "','" & TextBox4.Text & "','" &
DateTimePicker1.Text & "')", con)
con.Open()
com.ExecuteNonQuery()
MsgBox("Purchase Data Inserted Successfullyy..")
Hide()
con.Close()
DateTimePicker1.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
TextBox6.Text = ""
TextBox7.Text = ""
TextBox8.Text = ""
TextBox9.Text = ""
TextBox10.Text = ""
TextBox11.Text = ""
TextBox12.Text = ""
TextBox13.Text = ""
TextBox2.Text = ""
TextBox1.Text = ""
ComboBox1.Text = ""
End If
End Sub
End Sub
End Class
CONCLUSION
This project is designed to meet the requirements of Online Invenrory Management. It has
been developed in VB & MYSQL keeping in mind the specifications of the system. For
designing the system we have used simple data flow diagrams. Overall the project teaches
us the essential skills like:
Using system analysis and design techniques like data flow diagram in designing the
system.
Future Enhancement
The project has a very vast scope in future. The project can be implemented on intranet in
future. Project can be updated in near future as and when requirement for the same arises,
as it is very flexible in terms of expansion. With the proposed software of database Space
Manager ready and fully functional the user is now able to manage and hence run the entire
work in a much better, accurate and error free manner. The following are the future scope
for the project.
• Discontinue of particular Users eliminate potential threats.
• Bar code Reader based system
BIBILIOGRAPHY
During the development of our system, we have taken the reference from Books
and journals,
which we would like to mention in this section.
These books acted as our tutors during the system development..
System Analysis And Design
- Kenneth E. Kendall, Julie E. Kendall
An Analysis and Design of Information Systems
- Grayce M. Booth
Software Engineering
- Roger S. Pressman
Database Management System
- James A. Larson
Professional Visual Studio 2017
- Bruce Johnson
These are the following links which assist me at each and every step in
completing this
project, without them
https://tutorials.visualstudio.com/vs-get-started/intro
www.mysql.com
https://visualstudio.microsoft.com/vs/getting-started/
www.w3schools.com