You are on page 1of 64

1.

INTRODUCTION
The main aim of creating this BigBasket Online Supermarket Application is to
provide user friendly tool. This is one type of online Supermarket department.

An Online Supermarket consists of both user and administrator views. In this application
we built user friendly tools as they are easy to use and perform the task much quicker
than the manual system. The software provides the user access to create his own account
and pay his bill via online platforms. This application is compatible with the basic
configuration devices. The admin generated bill can be viewed by user using his valid
login credentials and if the user has any queries then he can send a query directly to the
administrator.

FEATURES:-
 Time Saving
 User Friendly
1.1 INTRODUCTION TO EXISTING SYSTEM
Existing system is based on manual work and all the process are done manually,
so they maintain records and files for creating a new report.

They maintain the record of the consumers, so they keep each and every information
regarding the customers. They also maintain the register or Book for bills so they can pay
the amount.

Thus, maintaining customer information in this system first of all consignors placed their
consignments like covers, documents, non-documents etc., to the officer of the billing
branch.

Here this branch acts as a source branch. Then the branch officer prepares the
consignment note that details of the consignment note are as follows.

 fruits
 detergent
 Bill
1.2 PROBLEMS FACED BY EXISTING SYSTEM
The phase of system analysis process deals with problems that are affecting in the
current manual system. The problems are those, which are affecting the organization in
daily routine work.

As the growing trend in InfoTech World of computers need of accuracy, perfectness,


speed and high memory data storage is a must. Each and every problem must be solved
with a least amount of time and energy.

The problems faced by existing system are described as below:

 Difficulty in Maintenance of Records.

 Time Consuming.

 Lack of Efficiency and Man Power.

 Difficulty in Maintenance of Records:

It is very difficult to maintain data record in the system as all the records
are entered in the register or the respective record books. There are chances of the
record books or files in which all the data is kept may be torn or wearied out or
some other damages which results in the destroyed data. Also, a problem occurs if
the data file or register is misplaced somewhere else and is not getting at the time
of actual requirement of the data stored. It is also difficult to maintain old files and
records due to vast previous records.

 Time Consuming:

It is very time-consuming process to write each and every entry in the


database register. Also, it takes a lot of time if all the entries are repeated.

 Calculations are difficult:


In electricity billing service the rate of each consignment is fixed the rate
of consignment is depending on units consumed by the consignment, so the
calculation of each consumers bill amount is not done easily.
1.3 INTRODUCTION TO THE PROPOSED SYSTEM

The manual system of “Online Supermarket” is to be computerized in order to


overcome the problems, which affects the existing manual system. Computerizing the
existing system with the help of some programming language, database package ease the
work of the system up to a great extent.

Generally, there has been a criterion to work on any job or task for a specific purpose.
Nobody works without specific detailed information about the particular task he is
performing. Thus, any transaction can be performed. In the computerized system, the first
screen of the system would be a welcome message and a list of menus.

Any Supermarket details and the respective branch details can be viewed by any new
customer.

After viewing of the Online Supermarket completed, the user can log off from the system
by simply quitting from the system.

The main objective of the proposed system is to help the user. The system can be handy
to the user in the following reasons:

 To provide quick and efficient means for gathering the super marketing along
with their branch and query details.
 To atomize the different billing addresses.
1.4 FEATURES OF PROPOSED SYSTEM
The “Online Super marketing” of the organization is developed to overcome most
of the problems occurring in the manual system by computerizing the existing system.
The features of the newly proposed computerized system are described in brief as below:

After computerizing the system, the committee of the organization or the user of the
system can finish their work in least amount of time and efforts. The computerized
system has many gains and efforts, which the manual system can’t give, in any type of
situations.

In any manual system if we take, the main problem arising is to maintain the number of
records and finding a particular record. In manual system the user has to note down that
the check-in and checkout of each and every consumer, but in the case of computerized
system the user just has to enter payment details once and automatically all his billing
details will be displayed thus the user does not have to worry because all the work done is
automatically and the system itself such as calculating billing amount.

Computerized systems are most helpful in dealing with areas where database comes into
the existence. A computer can hold many consumers details and the billing detailsand it
can operate at very high speed. The user can put the entire information of the shopping
billing company in the computer and can be able to perform any type of task which when
done manually is tedious and time consuming.

The new system will have the facility to sort data according to any specific type on the
basis of what the user wants in any order. Also with the help of computerized system if
the user wants to access his previous billing details using his meter number he can
automatically get the desired billing in a fraction of second which is again time saving
and very quick.
Some of the features of the proposed system are given below:

 Maintaining the Database for consumers, shopping details.


 Confusion can be reduced.
 Easy to manage billing transactions with this software compare to manual
generation.
 Menu driven interface.
 Ensure data security.

Advantages of Online Super marketing System:


 Easy in maintaining information.
 User satisfaction
 Highly accurate
 Less time consuming
2. LITERATURE SURVEY
2.1 SYSTEM REQUIREMENTS SPECIFICATION
Along with the hardware, used in the system it requires software to make a system as
well as to run a system with the computer hardware. Collection of different types of
hardware into a specific type can form a computer but it cannot execute different process
on its own. For efficient and proper working of any system software must be installed.
These software’s may be in the form of operating system or application software. To
make the system one also needs to use software.

To make Supermarket Billing system, I too have used certain software’s, which are listed
below. The software’s used in the proposed system are the latest versions of them and can
give up-to-date and perfect result of every process in the system.

HARDWARE REQUIREMENTS OF THE SYSTEM:

This phase of the software development process deals with a brief study of
different hardware used in the computerized system. There is a list of hardware materials
used during the making and also during the use of the proposed system. As the new
system to be made into a computerized functional system, requirement of a computer is
must. All the hardware needed here are generally the basic configuration of a typical
office computer. A list of the hardware requirement used in the system given below:

Minimum Configuration:

To run the application software of the system in the computer the minimum configuration
required is as below:

 233 MHz Pentium® processor or other compatible.


 Intel® Chipset Motherboard.
 32 MB SD-RAM.
 2 – 4 GB Hard Disk.
 Monitor. [13600 x 768 Display]
 Keyboard.
 Mouse.
 Dot Matrix Printer.
Recommended Configuration:

The system can run on the above-mentioned system, however for perfectness and
clearness it is recommended to use a computer system having the below listed
configuration. The configuration listed below can give best and optimum result at
instance during the working of the system.

 1 GHz Pentium® 4 processor or other compatible.

 Intel® 81x Chipset Motherboard.

 128 MB SD-RAM.

 10-20 GB Hard Disk.

 52x Compact Disc drive or faster.

 Color Monitor. [800 x 600 Display]

 Keyboard.

 Mouse.

 132 Column Dot Matrix Printer/Laser Printers.

 500 V.A UPS. [Used in case of power failure]

Note: The proposed system of Electricity Billing System can work on both the above
mentioned computer configuration. It is just for knowledge that the system can also work
with the old technology as well as the new technology.

Software requirement of the system:

 Operating System : Microsoft Windows10.

 Application Software’s : oracle [back-end tool] 10g

Microsoft Visual Basic 6.0 [front-end tool]


2.2 Microsoft Visual Basic 6.0 [Front-End]:

To develop any system along with the back-end tools which provide access to the
database and also solves the database queries like oracle, to make a system interactive
with the user the use of front-end tools comes into the picture. The front-end tools make
the user interface with the system easier and also provide a user-friendly environment to
the system.This rich language enables you to develop many different types of
applications. You can create you can create programs that intersect with the hardware.

It is a programming language used to create window base application. Visual Basic is an


old BASIC (Beginners All-purpose Symbolic instruction code) language. It makes it very
easy to get the user interface portion of your application up and running. Hundreds of
functions and latest technological advances have been added to the language to make it an
industrial – strength development environment suitable for almost my type of windows
application. This is especially true with the advent of Internet programming and object-
oriented programming. Microsoft Visual Basic 6.0 is one of the front-end tool provided
by Microsoft Inc. Microsoft Visual Basic 6.0 provides a fast way to develop applications
for Microsoft Windows. As a front-end tool Microsoft Visual Basic 6.0 provides the
G.U.I interface to the user and it is supposed to be one of the beast front-end tools used
today.

Some of the main features of Visual Basic 6.0 are listed below:

Data Access features allows you to create database and front-end applications for most
popular database formats, including Microsoft SQL Server, Oracle, Microsoft Access and
other enterprise level database.

 It includes a GUI environment fro making windows-based applications.


 Active X technology allows you to use the functionality provided by other
application such as MS Word, MS Excel and other Windows applications.
You can even automate applications and professional or enterprise editions of
Visual Basic.
 Internet capabilities make it easy to provide access to documents and
applications across the Internet from within your application.
 It provides a vital link to graphical environment and allows you to develop
applications based on standard Windows features: Dialog Boxes, Command
buttons, pull down menus, Scroll bars, Selection lists etc. It also allows
creating robust applications that fully make use of the graphical user
interface.
 A multitude of wizards and other graphical tools aid developers new to Visual
Basic.
 ADO-compliant data-bound controls.
 Hierarchical record sets and the Flex Grid Control.
 Visual Basic is an event driven programming language.
 Visual Basic allows you to adopt more of parallel approach, with independent
sections of code for each option that the user may select. This is known as
Event driven programming language.
 Visual data tools (VDTS).
 ADO Data Control (ADODC)
 Data report design and Data form wizards.
 It also helps the user with the SQL editor.
 By connecting it with Oracle, SQL statements can be run and terminated
through Visual Basic 6.0.
 Visual Basic Component creation.
 The language is very easy and it provides a very user-friendly environment
while programming in Visual Basic 6.0.
 Packaging and Deployment wizard.
 Allows for the creation of p-code and native code EXE files. p-code is a
tokenized from of your source code that will be broken down at runtime into
machine code, which is why Visual Basic will create this intermediately
forms.
 Can be extended easily through the use of windows API calls, hundreds of
third-party controls and DLLs, and integration with other windows
applications through COM and DCOM.
 Has a shorter learning curve and development time than C/C++, Delphi, and
even Power Builder.
 Used by most of the office suite tool as macro language. With the rest to
follow. Other companies as well are starting to support VBA in their
products, such as AutoCAD, Vision, CorelDraw, SAP, and many others.
 Allows for rapid application development and is excellent for business
applications.
 Has an excellent integrated help facility and book online as well as it includes
good debugging facilities and have many wizards that help automated
repetitive tasks.
 Object-based development is possible using class modules and rapid
application development (RAD).
 Allows for the creation of COM components such as Active X controls,
DLL’s, and Exec’s.
 Can integrate with the Internet on both the server side and the client side.
 Can create Active X Automation server.
 Integrates with Microsoft transaction server.
 Can run server either on the same machine or remotely on another computer.
This allow for true distributed processing.

What is Visual Basic?


 Visual Basic is a tool that allows you to develop Windows (Graphic User Interface -
GUI) applications. The applications have a familiar appearance to the user. As you
develop as a Visual Basic programmer, you will begin to look at Windows
applications in a different light. You will recognize and understand how various
elements of Word, Excel, Access and other applications work. You will develop a
new vocabulary to describe the elements of Windows applications.

 Visual Basic is event-driven, meaning code remains idle until called upon to respond
to some event (button pressing, menu selection,). Visual Basic is governed by an
event processor. Nothing happens until an event is detected. Once an event is
detected, the code corresponding to that event (event procedure) is executed. Program
control is then returned to the event processor.
Event? Event processor

Basic Basic Basic Event


Code Code Code Procedures

All Windows applications are event-driven. For example, nothing happens in Word
until you click on a button, select a menu option, or type some text. Each of these
actions is an event.

 The event-driven nature of Visual Basic makes it very easy to work with. As you
develop a Visual Basic application, event procedures can be built and tested
individually, saving development time. And, often event procedures are similar in
their coding, allowing re-use (and lots of copy and paste).

Structure of a Visual Basic Application


Project (.VBP, .MAK)

Form 1 (.FRM) Form 2 (.FRM) Form 3 (.FRM) Module 1 (.BAS)

Control 1 Control 1 Control 1

Control 2 Control 2 Control 2

Control 3 Control 3 Control 3

Steps in Developing Application


 The Visual Basic development environment makes building an application a
straightforward process. There are three primary steps involved in building a Visual
Basic application:
1. Draw the user interface by placing controls on the form
2. Assign properties to controls

3. Attach code to control events (and perhaps write other procedures)

These same steps are followed whether you are building a very simple application or one
involving many controls and many lines of code.

Starting Visual Basic


We assume you have Visual Basic 6 installed and operational on your computer. If
you don’t, you need to do this first. To start Visual Basic:

 Click on the Start button on the Windows task bar.


 Select Programs, then MicrosoftVisualBasic 6
 Click on Visual Basic 6

Visual Basic will start and this dialog box appears:


For now, just click Open – we are starting a new project. Later, once you have saved
some projects, they can be opened using the Existing and Recent tabs. The Visual
Basic development environment will start.

Application (Project) is made up of:


 Forms - Windows that you create for user interface

 Controls - Graphical features drawn on forms to allow user interaction (text


boxes, labels, scroll bars, command buttons, etc.) (Forms and Controls are
objects.)

 Properties - Every characteristic of a form or control is specified by a


property. Example properties include names, captions, size, color, position,
and contents. Visual Basic applies default properties. You can change
properties at design time or run time.

 Methods - Built-in procedure that can be invoked to impart some action to a


particular object.

 Event Procedures - Code related to some object. This is the code that is
executed when a certain event occurs.

 General Procedures - Code not related to objects. This code must be invoked
by the application.

 Modules - Collection of general procedures, variable declarations, and


constant definitions used by application.

 The Main Window consists of the title bar, menu bar, and toolbar. The title
bar indicates the project name, the current Visual Basic operating mode, and
the current form. The menu bar has drop-down menus from which you control
the operation of the Visual Basic environment. The toolbar has buttons that
provide shortcuts to some of the menu options. The main window also shows
the location of the current form relative to the upper left corner of the screen
(measured in twips) and the width and length of the current form. Of
particular interest is the Help menu item. The Visual Basic on-line help
system is invaluable as you build applications. Become accustomed with its
use. Usually just pressing <F1> can get you the help you need.

 The Form Window is central to developing Visual Basic applications. It is


where you draw your application.

 The Toolbox is the selection menu for controls used in your application. Help
with any control is available by clicking the control and pressing <F1>.

Pointer Picture Box

Label Text Box

Frame Command Button

Check Box Option Button


Combo Box List Box
Horizontal Scroll Bar Vertical Scroll Bar
Timer Drive List Box

Directory List Box File List Box


Shapes Lines
Image Box Data Tool
Object Linking Embedding

 The Properties Window is used to establish initial property values for objects
(controls). The drop-down box at the top of the window lists all objects in the current
form. Two views are available: Alphabetic and Categorized. Under this box are the
available properties for the currently selected object. Help with any property can be
obtained by highlighting the property of interest and pressing <F1>.
 The Project Window displays a list of all forms and modules making up your
application. You can also obtain a view of the Form or Code windows
(window containing the actual basic coding) from the Project window.

Advantages of Visual Basic 6.0: -


 During design time, it is possible to see how the program will look at the runtime.
 Visual Basic is very useful in designing and developing, effective and efficient
windows based programs
 VB helps in making your program look quite effective and beautiful.
 You can add menus, tool bars, status bars, text boxes, etc. to blank window.
 It is less time consuming and more user friendly. Also, user-friendly programs can
be developed very easily.

Disadvantages of Visual Basic 6.0: -


 The programs that are developed utilize more memory.
 Visual Basic requires specific operating system, which supports visual
programming.
 Graphical User Interface is provided by visual basic, which takes some more time
than other non-visual programming for execution of the program.
2.3 DATABASE MANAGEMENT SYSTEM (DBMS)

A Database management system is a collection of programs that enables user to


create and maintain a database. The DBMS facilitates the process of defining,
constructing and manipulating database for various applications. Defining a database
involves specifying, database structures, types and constraints for the data to be
stored in the database, based on the mini-world being modeled.

Constructing the database is the process of storing the data itself on some storage
medium that is controlled by the DBMS. Manipulating a database includes
functions such as querying the database to reflect changes in the mini world,
generating the reports from the data. The primary objective of a DBMS to provide
environment to retrieve and store database information. Database system supports
multi user environment. It is an integrated collection of related files along with
details of the interpretation of the data contained therein data and facts where
conclusion can be drawn.

Characteristics of database management system:

 It represents complex relationship between data.


 Keeps tight control of data redundancy.
 Enforces user - defined rules to ensure the integrity of data.
 Has centralized data dictionary for storage of information pertaining data its
manipulation.
 Ensures that the data can be shared across application.
 Enforces data access authorization.
 Has different interfaces via which user can manipulate the data

Advantages of DBMS
 Controlling Redundancy.
 Restriction of unauthorized access.
 Providing storage structure for efficient query processing.
 Providing multi user interface.
 Sharing of data.
 Data security.
Disadvantages of DBMS

 High initial investment in hardware, software and training.


 Overhead for providing security, concurrency control, recovery and
integrity function.
 The database and its application are simple, well defined and not excepted to
change.

Oracle workgroup or server is the largest selling RDBMS product. It is estimated that
the combined sales of both these oracle database product account for around 80% of the
RDBMS systems sold worldwide. These products are constantly undergoing change and
evolving. The natural language of this RDBMS product is ANSI SQL, PL/SQL a superset
of ANSISQL. Oracle 8i, 9i, 10G also understands SQLJ. Oracle corp. has also
incorporated a full-fledged java virtual machine into its database engine. Since both
executable shares the same memory space the JVM can communicate with the database
engine with ease and has direct access to oracle tables and their data.

SQL is structure query language.SQL contains different data types those are
1. Char (size)
2. Varchar2 (size)
3. Date
4. Number (p,s)
5. Long
6. raw/long raw

Different types of commands in SQL:


A). DDL commands: - To create a database objects
B). DML commands: - To manipulate data of a database objects
C). DQL command: - To retrieve the data from a database.
D). DCL/DTL commands: - To control the data of a database…
ORACLE 10g
Oracle Database (commonly referred to as Oracle RDBMS or simply as Oracle) is an
object-relational database management system produced and marked by Oracle

Characteristics of Oracle 10g


 Application Development.
 Business Intelligence.
 Content Management.
 Database Overall.
 Database Security.
 Grid Management.
 Information Integration.
 Location Services.
 Performance and Scalability.
 Server Manageability.
 Very Lighting Installation Kit (~150 MB vs ~1700 GB for 11gR1).
 Very Easy Installation.
 Not Very Intrusive, Much Less Memory Used Compared To 11gR1.
 Very Recommended For The Application Development Process.
 Very Recommended as My SQL Replacement.
 Same Code as Paid Versions, Just with Some Hard-Coded Limitation.

Disadvantages of Oracle 10g

 It’s Not Supporting by Oracle Support.


 It Is Working On Just One Processor Core, no Matter How Many You Have.
 It Will Not Use More Than 1GB of RAM, no Matter How Many RAM You Have.
 You Cannot Store More Than 4GB Of User Data, Hard-Coded Limitation.
 You Will Not Find Patches.
3.SYSTEM DESIGN
System design is the process of defining the architecture, modules, interfacing and
data for a system to satisfy specified requirements. System design could be seen as the
application system of system theory to product development.

ARCITECTURAL DESIGN
The architectural design of a system emphasizes the design of the system
architecture that describes the structure behavior and more views of that system and
analysis.

LOGICAL DESIGN
The logical design of a system pertains to an abstract representation of the flows,
inputs and outputs of the system. This often conducted via modeling, using an over
abstract (and sometimes graphical) model of actual system. Logical design includes entity
relationship diagrams(ER diagrams).

PHYSICAL DESIGN
The physical design related to the actual inputs and outputs processes of system
that is input output requirements, storage and processing requirements.
3.1 PERT CHART

Planning and scheduling

Collection of Requirements July 15 – July 30

Aug 01 – Aug 06
Analysis

Design Aug 07 – Aug 16

Aug 17 – Oct 02
Coding

Testing Oct 03 – Oct 15


3.2 DATA FLOW DIAGRAM(s) [D. F. D.]
The data flow diagrams are pictorial or graphical representation of the outline of the
system study. The data flow diagram covers all the processes and data storage area, which
takes place during any transaction in the system. The data flow diagrams are functionally
divided into context level, Zero level, First level and Second level data flow diagrams.

 Symbols used in DFDs:

(1) Process: Here flow of data is transformed. E.g. Forms Distribution,


Preparing Merit list, etc.

(2) External Entity: A source or destination of data, which is external to the


system. E.g. Student, Committee etc.

(3) A data flow: It is packet of data. It may be in the form of document, letter
etc.

(4) Data store: Any store data but with no reference to the physical method
of storing.
D.F.D

LOADING

MDI

customer LOGIN Admin

SALES
DETAILS

ABOUT Super market STOCK Employee About us


THE SHOP

Fruits Vegetables Detergent Kitchen


Households
3.3 DATA STORE [TABLE USED]

Different tables used in the system along with their description are described
below in detail.

Table Name Description

The Login table contains the information about the user and
Login
their password.

Consumer Gives details of customer and their personal information

Query Gives the details user queries and admin replies

Net Banking Gives the details of the cash received through net

The above tables are described briefly and can be understand clearly from below.
Each table is described along with different fields used, their data types, their size and
constraints if any.
The description of the tables is as follows

ADMIN LOGIN: -
Table Format:

Field name Type

User name Varchar2(20)

Password Varchar2(20)

LOGIN: -
Table Format:

Field name Type

User name Number (10)

Password Varchar2(20)

QUERY: -

Table Format:

Field name Type

User name Varchar2(20)

Consumer id Number(10)

Query Varchar2(20)

Reply Varchar2(20)
CONSUMER REGISTRATION: -
Table Format:

Field Name Type

Customer name Varchar2(20)

Customer id Number(10)

Mail id Varchar2(20)

Phone no Number(10)

Product details Varchar(20)

Gender Varchar2(20)

DOB Date

Address Varchar2(100)

Bill amount Number(10)

city Varchar2(10)

Bill date Date

Landmark Number(10)

Pincode Number(20)

Password Varchar2(20)
4. INTERFACES OF THE SYSTEM
This section refers to the various types of interfaces which the user has to face
during operating the computerized System of “Big basket Online Supermarket” with vb6.

The section refers with entire interface [Screens] a user will have to face while operating
the current system, it shows the various screens appearing for different transactions. All
the screens of different department timetables in the system are shown here.

The different screens shown here are in the below given order:

 Welcome Screen
 Login Screen
 Sign up Screen
 MDI Form
 About the Shopping Billing
 Bill Generation
 Customer Bill
 Net Banking
 Features given by the company
 Billing details
 Exit
4.1 SCREENS

WELCOME SCREEN:-

MDI FORM:-
mM
BIGBASKET FRUITS:

FRUITS:
BIGBASKET VEGETABLES: -

VEGETABLES:
LOGIN:

REGISTER:
KITCHEN HOUSEHOLDS:

DSDDSAD

DETERGENT:-
DETERGENT:

FLOOR AND TOILET CLEANINIG:


FLOOR AND TOILET CLEANING:

DHALS AND MASALA:


DHALS AND MASALA:

LOGIN :-
REGISTER:

STOCK UPDATE:
STOCK DETAILS

BILLING:
CASH ON DELIVERY:

PAYMENT:
ADD EMPLOYEE DETAILS:

EMPLOYEE DETAILS:
ABOUT US:
WELCOME:

REGISTER
LOGIN

BILLING:
PAYMENT:

CREDIT / DEBIT CARD:


ADD STOCK DETAILS:

STOCK DETAILS:
ADD EMPLOYEE DETAILS:

EMPLOYEE DETAILS:
ABOUT SHOP:

ABOUT US:
BILLING:
5. CODING
Register
Private Sub Command1_Click()

Adodc1.Recordset("USERNAME") = Text3.Text

Adodc1.Recordset("PASSWORD") = Text4.Text

Adodc1.Recordset.Update

Form6.Show

End Sub

Private Sub Command2_Click()

Form6.Show

End Sub

Private Sub Form_Load()

Adodc1.Recordset.AddNew

End Sub

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii >= 65 And KeyAscii < 91 Or KeyAscii >= 97 And KeyAscii <= 123 Or
KeyAscii = 32 Or KeyAscii = 8 Then

Else

KeyAscii = 0

MsgBox "enter only alphabets"

End If

End Sub

Private Sub Text2_KeyPress(KeyAscii As Integer)

If KeyAscii >= 65 And KeyAscii < 91 Or KeyAscii >= 97 And KeyAscii <= 123 Or
KeyAscii = 32 Or KeyAscii = 8 Then
Else

KeyAscii = 0

MsgBox "enter only alphabets"

End If

End Sub

Private Sub Text3_Click()

Text3.Text = ""

End Sub

Private Sub Text4_Click()

Text4.Text = ""

End Sub

Private Sub Text5_Click()

Text5.Text = ""

End Sub
Login
Private Sub Command1_Click()

Dim f As Integer

f=0

Adodc1.Refresh

Do While (Not Adodc1.Recordset.EOF)

If Text1.Text = Adodc1.Recordset.Fields(0) And Text2.Text =


Adodc1.Recordset.Fields(1) Then

f=1

Form1.Show

Exit Do

Else

Adodc1.Recordset.MoveNext

End If

Loop

If f = 0 Then

MsgBox ("login failed")

End If

End Sub

Private Sub Label4_Click ()

Form5.Show

End Sub
Billing
Private Sub Form_Load()

Adodc1.Recordset.AddNew

End Sub

Private Sub Label14_Click()

Adodc1.Recordset.Update

Adodc1.Recordset("firstname") = Text1.Text

Adodc1.Recordset("lastname") = Text2.Text

Adodc1.Recordset("deliveryaddress") = Text4.Text

Adodc1.Recordset("phonenumber") = Text5.Text

Adodc1.Recordset("city") = Combo1.Text

Adodc1.Recordset("state") = Combo2.Text

Adodc1.Recordset("landmark") = Text7.Text

Adodc1.Recordset("productname") = Text3.Text

Adodc1.Recordset("price") = Text6.Text

Adodc1.Recordset("pincode") = Text8.Text

MsgBox "process done"

Unload Me

Form7.Show

End Sub

Private Sub Text1_KeyPress(KeyAscii As Integer)

If KeyAscii >= 65 And KeyAscii < 91 Or KeyAscii >= 97 And KeyAscii <= 123 Or
KeyAscii = 32 Or KeyAscii = 8 Then

Else

KeyAscii = 0

MsgBox "enter only alphabets"


End If

End Sub

Private Sub Text2_KeyPress(KeyAscii As Integer)

If KeyAscii >= 65 And KeyAscii < 91 Or KeyAscii >= 97 And KeyAscii <= 123 Or
KeyAscii = 32 Or KeyAscii = 8 Then

Else

KeyAscii = 0

MsgBox "enter only alphabets"

End If

End Sub

Private Sub Text5_KeyPress(KeyAscii As Integer)

If KeyAscii >= 48 And KeyAscii <= 57 Or KeyAscii = 8 Then

Else

KeyAscii = 0

MsgBox "Enter Numbers only"

End If

End Sub

Private Sub Text8_KeyPress(KeyAscii As Integer)

If KeyAscii >= 48 And KeyAscii <= 57 Or KeyAscii = 8 Then

Else

KeyAscii = 0

MsgBox "Enter Numbers only"

End If

End Sub
Credit/Debit card
Private Sub Label10_Click()

MsgBox "Payment Successful"

MDIForm1.Show

End Sub

Private Sub Text1_KeyPress (KeyAscii As Integer)

If KeyAscii >= 48 And KeyAscii <= 57 Or KeyAscii = 8 Then

Else

KeyAscii = 0

MsgBox "Enter Numbers only"

End If

End Sub

Private Sub Text2_KeyPress(KeyAscii As Integer)

If KeyAscii >= 48 And KeyAscii <= 57 Or KeyAscii = 8 Then

Else

KeyAscii = 0

MsgBox "Enter Numbers only"

End If

End Sub
Stock update
Private Sub Command1_Click()

Adodc1.Recordset.AddNew

End Sub

Private Sub Command2_Click()

Adodc1.Recordset.Update

End Sub

Private Sub Command3_Click()

MDIForm1.Show

End Sub

Fruits and Vegetables

Private Sub Label10_Click()

Form4.Text3.Text = Label6.Caption

Form4.Text6.Text = combo1.Text

Form4.Show

End Sub

Private Sub Label13_Click()

Form4.Text3.Text = Label11.Caption

Form4.Text6.Text = Combo2.Text

Form4.Show

End Sub
Private Sub Label19_Click()

Form4.Text3.Text = Label16.Caption

Form4.Text6.Text = Combo3.Text

Form4.Show

End Sub

Private Sub Label24_Click()

Form4.Text3.Text = Label21.Caption

Form4.Text6.Text = Combo4.Text

Form4.Show

End Sub

Private Sub Label25_Click()

Form4.Text3.Text = Label22.Caption

Form4.Text6.Text = Combo5.Text

Form4.Show

End Sub

Private Sub Label26_Click()

Form4.Text3.Text = Label23.Caption

Form4.Text6.Text = Combo6.Text

Form4.Show

End Sub

Private Sub Label28_Click()

Form2.Show

End Sub
Private Sub Label29_Click()

Form3.Show

End Sub

Private Sub Label4_Click()

Label28.Visible = True

Image8.Visible = False

Image7.Visible = False

Image6.Visible = False

Image1.Visible = False

Image2.Visible = True

Image3.Visible = True

Image4.Visible = True

Image5.Visible = True

Label6.Visible = True

Label11.Visible = True

Label16.Visible = True

combo1.Visible = True

Combo2.Visible = True

Combo3.Visible = True

Label10.Visible = True

Label13.Visible = True

Label19.Visible = True

Label21.Visible = False

Label22.Visible = False

Label23.Visible = False

Label24.Visible = False
Label25.Visible = False

Label26.Visible = False

Combo4.Visible = False

Combo5.Visible = False

Combo6.Visible = False

Label29.Visible = False

End Sub

Private Sub Label5_Click()

Label29.Visible = True

Label28.Visible = False

Combo4.Visible = True

Combo5.Visible = True

Combo6.Visible = True

Label24.Visible = True

Label25.Visible = True

Label26.Visible = True

Label21.Visible = True

Label22.Visible = True

Label23.Visible = True

Image8.Visible = True

Image7.Visible = True

Image6.Visible = True

Image1.Visible = True

Image2.Visible = False

Image3.Visible = False

Image4.Visible = False
Image5.Visible = False

Label6.Visible = False

Label11.Visible = False

Label16.Visible = False

combo1.Visible = False

Combo2.Visible = False

Combo3.Visible = False

Label10.Visible = False

Label13.Visible = False

Label19.Visible = False

End Sub
Mdi Form
Private Sub as_Click()

Form9.Show

End Sub

Private Sub d_Click()

Form19.Show

Unload Me

End Sub

Private Sub f_Click()

Form20.Show

Unload Me

End Sub

Private Sub Fruits_Click()

Form1.Show

Unload Me

End Sub

Private Sub h_Click()

Form1.Show

Unload Me

End Sub

Private Sub hfgh_Click()

DataReport1.Show

End Sub
Private Sub hjgcd_Click()

Form23.Show

Unload Me

End Sub

Private Sub j_Click()

Form15.Show

Unload Me

End Sub

Private Sub r_Click()

Form17.Show

End Sub

Private Sub rf_Click()

Form10.Show

Unload Me

End Sub

Private Sub rffd_Click()

Form12.Show

Unload Me

End Sub

Private Sub se_Click()

Form16.Show

Unload Me

End Sub
Private Sub ugi_Click()

Form22.Show

Unload Me

End Sub

Private Sub Vegetables_Click()

Form1.Show

Unload Me

End Sub
6. CONCLUSION
Big basket is the activity of buying or selling of products on online services or
over the Internet. Electronic commerce draws on technologies such as mobile commerce,
electronic funds transfer, supply chain management, Internet marketing, online
transaction processing, electronic data interchange (EDI), inventory management
systems, and automated data collection systems. Modern electronic commerce typically
uses the World Wide Web for at least one part of the transaction's life cycle although it
may also use other technologies such as e-mail. Typical e- commerce transactions include
the purchase of online books (such as Amazon) and music purchases (music download in
the form of digital distribution such as iTunes Store), and to a less extent,
customized/personalized online liquor store inventory services. There are three areas of e-
commerce: online retailing, electric markets, and online auctions.
7. FUTURE ENHANCEMENT
BigBasket was founded in December 2011 in Bangalore by a team of five - V S
Sudhakar, Hari Menon, Vipul Parekh, V S Ramesh and Abhinay Choudhari. Servicing
over 5 million registered customers; BigBasket has grown into India's largest online
supermarket with over 20,000 products from over 1000 brands and presence in 26 cities
across the country including Bangalore, Hyderabad, Mumbai, Pune, Chennai & Delhi-
NCR. big basket’s online store offers a variety of products across various categories:
Fresh Fruits & Vegetables, Grocery & Staples, Beverages, Bread, Dairy & Egg products,
Branded Foods, Meat, Personal Care and Household products. BigBasket is committed to
making life simpler and grocery shopping a breeze!
8. BIBLIOGRAPHY

Microsoft window 7 : Microsoft Corporation


Special edition using VB 6.0 : Brian Siler of Jeff spots
Visual basic 6.0 : ground up
: Developers workshop
: John Dark Graig of Jeff web
Visual Programming : Gray cornel
Visual Programming : Dr. M.A. Rama, Sumitha Deb

You might also like