VISUAL BASIC 6.0 DATABASE
MANAGEMENT SYSTEM
 NAME : P.NIROJAN
 Ad.No : 0041
 GROUP : CIVIL 2nd
YEAR
 DATE OF SUBMISSION : 05 / 01 / 2016
 Question:
Create visual basic project to draw the outline of a land area of land using longitudes and
latitude values. Assume that you can use MS Access data base to store the coordinates,
Table:-
 Point ID
 Longitudes
 Latitude
 Land ID
Your project should do the followings:-
 Enter new coordinate
 Edit the coordinate
 Delete unnecessary coordinate
 List OR View all coordinate
 List OR View all coordinate of the selected land
 Draw outline of the land
 Draw outline of the select land
Use the following object in your project:-
 Connection object
 Record set object
 Commend object
Submission 1st
week January [ Interface , used control , coding ]
 Creating Data Base using MS Access
1) Starting access methods
 Start programes Microsoft Office Access
 Double click desktop microsoft Access Icon
2) In the temple window select BLANK DATABASE and then enter database name
as “LANDAREA” finally click create button. Then “LANDAREA” database window
appears with in MS Access window.
3) When you select CREATE > Table Design.A table design window appears. Enter
your field name,data type and size.finally save the table
Create the following tables on MS Access and save it on database name “ LandArea ”
Data Base Design view
Data Base view
Field Data Type Size
Point ID Number Integer
Longitude Number Long Integer
Latitude Number Long Integer
Land ID Number Integer
 Saving Data Base in MS Access
Vissual basic 6.0 to connect the database in MS Access must important the Access
2002–2003 Database formate and “ _ _ .mdb” file type
 Creating programme using Visual Basic
1) Open Vissual Basic 6.0
2) Select the “Standard EXE” and then click open botton
3) In visual basic screen , go to “PROJECT” tap then click
“REFFRENCE” then select “Microsoft ActiveX Data
Objects Recordset 6.0 Library” then click “OK” Button.
Database is located at …… So, the path of the database is
C:landarea.mdb
Easy to work we add ADO control and View all cordinate at the time we used DataGrid
1) In visual basic screen , right click the toolbox menu then goto “components” then
select “Microsoft ADO Data Control 6.0 (OLEDB)” then click “OK” Button again goto
“components” then select “Microsoft Data Grid Control 6.0 (OLEDB)” then click “OK”
Button .
1
2
3
Main Form is our project
Number Object Name
1 Label lblPointID
2 Label lblLogitude
3 Label lblLatitude
4 Label lblLandID
5 Text Box txtPointID
6 Text Box txtLongitude
7 Text Box txtLatitude
8 Text Box txtLandID
9 Command Button cmdSave
10 Command Button cmdEdit
11 Command Button cmdNew
12 Command Button cmdMoveFirst
13 Command Button cmdPrevious
14 Command Button cmdNext
15 Command Button cmdMoveLast
1
2
3
1
4
5
1
6
7
1
8
1
11 10
9
12
4
13
34
14
34
15
34
16
3417
34
18
34
19
20
34
21
22
Interface vissible objects
Number Object Name
16 Command Button cmddelete
17 Command Button cmdcancel
18 Command Button cmdexit
19 Command Button cmdclear
20 Command Button cmdall
21 Command Button cmdselect
22 PictureBox draw
Number Object Name
23 Command Button cmdupdate
24 Command Button cmdalldata
25 Command Button cmdselectdata
26 DataGrid Datagrid1
27 ADO Control ADODC1
23
34
24 25
26
27
Select “Microsoft ADO Data control 6.0(OLEDB)” from components and then add the
“ADODB” to the form
then to change the ADODB properties Vissible mode change to False.
 In General Declaration area, declare two (2) variables for Database & the Query
(Record Set)
Dim con As New ADODB.Connection
Dim rs As New ADODB.Recordset
 Identify the Database & the Record Set to VB. Write this code at “FORM” Load Event
con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:Landarea.mdb;Persist Security Info=False"
con.Open
rs.Open "select* from landarea", con, adOpenStatic, adLockPessimistic
Call fields
DataBase location(path)
SQL Statement
SQL – Structured Query Language
 Common procedure
 Programming for “NEW” Button :-
 Programming for “SAVE” Button :-
 Programming for “EDIT” Button :-
 Programming for “UPDATE” Button :-
 Programming for “DELETE” Button :-
 Programming for “CANCEL” Button :-
 Programming for “CLEAR” Button :-
 Programming for “MOVE FIRST and MOVE LAST” Button :-
 Programming for “PREVIOUS and NEXT” Button :-
 Programming for “DRAW ALL LAND” Button :-
 Programming for “DRAW SELECT LAND” Button :-
 Programming for “EXIT” Button :-
 Programming for “FORM Unload event” :-
 Programming for “Text Box Point ID Change event” :-
 Programming for “Text Box Longitude Change event” :-
 Programming for “Text Box Latitude Change event” :-
 Programming for “Text Box Land ID Change event” :-
 Our Consider Land Full Outline drawing view
Land 1
Land 3
Land 2
Land 4

More Related Content

PPTX
Grid Vew Control VB
PPTX
Data base connectivity and flex grid in vb
DOC
Online SAP BO 4.2 Training
PPTX
Grid View Control CS
PPTX
MS SQL SERVER: Data mining concepts and dmx
PPTX
MS SQL SERVER: Using the data mining tools
PDF
Step by Step Asp.Net GridView Tutorials
Grid Vew Control VB
Data base connectivity and flex grid in vb
Online SAP BO 4.2 Training
Grid View Control CS
MS SQL SERVER: Data mining concepts and dmx
MS SQL SERVER: Using the data mining tools
Step by Step Asp.Net GridView Tutorials

What's hot (20)

PPTX
C# Crystal Reports
PPT
PPT
Msaccess
PPTX
Access Basics 01
PDF
Visual basic databases
PPTX
Microsoft access 2007
PPTX
PDF
Quickstart Microsoft access 2013
PPTX
Datamaigration
PDF
Intro to Microsoft Access
PPTX
Ms access
PPT
VB6 Using ADO Data Control
PPTX
Ms access ppt 2017 by Gopal saha
PPTX
Ms access
PPTX
Tutorial for using SQL in Microsoft Access
PPT
Data Connection using ADO DC
PPT
MS Access – Part 1 (One Day Workshop)
PPT
Richfaces Proto Type
PPT
Icefaces Proto Type
PPTX
MS Access teaching powerpoint tasks
C# Crystal Reports
Msaccess
Access Basics 01
Visual basic databases
Microsoft access 2007
Quickstart Microsoft access 2013
Datamaigration
Intro to Microsoft Access
Ms access
VB6 Using ADO Data Control
Ms access ppt 2017 by Gopal saha
Ms access
Tutorial for using SQL in Microsoft Access
Data Connection using ADO DC
MS Access – Part 1 (One Day Workshop)
Richfaces Proto Type
Icefaces Proto Type
MS Access teaching powerpoint tasks
Ad

Similar to DATABASE MANAGEMENT SYSTEM (20)

PPT
ADO Controls - Database Usage from Exploring MS Visual Basic 6.0 Book
PPTX
Access ppt
PPTX
CREATING A DATABASE AND WORKING WITH TABLES.pptx
PPT
PDF
What are Database Access Types. Please give detailed explanation to .pdf
PPT
Uses of MS Access in Business
PPTX
PDF
Access2003
PDF
Access2003
PPTX
Introduction to ms access database
PPT
Database Connection
PDF
PPTX
Database concepts using libre office base
PPTX
Database concepts using libre office base
PPT
vishual basic data base Pankaj
PPS
VISUAL BASIC .net data accesss vii
PPT
Database management system
PDF
LECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGY
ODP
ppt on open office.org
DOC
124157075 gb
ADO Controls - Database Usage from Exploring MS Visual Basic 6.0 Book
Access ppt
CREATING A DATABASE AND WORKING WITH TABLES.pptx
What are Database Access Types. Please give detailed explanation to .pdf
Uses of MS Access in Business
Access2003
Access2003
Introduction to ms access database
Database Connection
Database concepts using libre office base
Database concepts using libre office base
vishual basic data base Pankaj
VISUAL BASIC .net data accesss vii
Database management system
LECTURE MICROSOFT ACCESS INFORMATION TECHNOLOGY
ppt on open office.org
124157075 gb
Ad

More from Vj NiroSh (20)

PDF
BSR - 2021 - Mullaitivu - District
PDF
BSR - 2021 - Kiliinochchi - District
PDF
Irranaitivu R.C.T.M.S-Drawing file (Ori)_NoCopy
PDF
Vechile shed Sample Drawing
PDF
CONCRETE BASICS A Guide to Concrete Practice
PDF
Palimentory control in Tamil
PDF
Document for Handing over the building
PDF
BSR - 2020 With OH&P
PDF
Schedule of Rates - 2020 All Department
PDF
Auto CAD - 2D
PDF
Adobe Photoshop- in Tamil
PDF
ATI Final Report
PDF
Windows XP in தமிழ்
PDF
Builders of Quantity
PDF
General notes to building schedule of rates
PDF
AutoCAD - 3D Notes
PDF
Industrial Training Report
PDF
SBD - 3 - ICTAD
PDF
Scope of consultancy services - ICTAD - consul
PDF
Contract payment and variation
BSR - 2021 - Mullaitivu - District
BSR - 2021 - Kiliinochchi - District
Irranaitivu R.C.T.M.S-Drawing file (Ori)_NoCopy
Vechile shed Sample Drawing
CONCRETE BASICS A Guide to Concrete Practice
Palimentory control in Tamil
Document for Handing over the building
BSR - 2020 With OH&P
Schedule of Rates - 2020 All Department
Auto CAD - 2D
Adobe Photoshop- in Tamil
ATI Final Report
Windows XP in தமிழ்
Builders of Quantity
General notes to building schedule of rates
AutoCAD - 3D Notes
Industrial Training Report
SBD - 3 - ICTAD
Scope of consultancy services - ICTAD - consul
Contract payment and variation

Recently uploaded (20)

PDF
Computer organization and architecuture Digital Notes....pdf
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PPTX
wireless networks, mobile computing.pptx
PPTX
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
PPTX
Feature types and data preprocessing steps
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
Information Storage and Retrieval Techniques Unit III
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PDF
Soil Improvement Techniques Note - Rabbi
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PDF
First part_B-Image Processing - 1 of 2).pdf
PDF
Java Basics-Introduction and program control
PPTX
Measurement Uncertainty and Measurement System analysis
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
mechattonicsand iotwith sensor and actuator
PDF
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf
Computer organization and architecuture Digital Notes....pdf
Exploratory_Data_Analysis_Fundamentals.pdf
"Array and Linked List in Data Structures with Types, Operations, Implementat...
wireless networks, mobile computing.pptx
CN_Unite_1 AI&DS ENGGERING SPPU PUNE UNIVERSITY
Feature types and data preprocessing steps
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
August -2025_Top10 Read_Articles_ijait.pdf
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
Information Storage and Retrieval Techniques Unit III
August 2025 - Top 10 Read Articles in Network Security & Its Applications
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Soil Improvement Techniques Note - Rabbi
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
First part_B-Image Processing - 1 of 2).pdf
Java Basics-Introduction and program control
Measurement Uncertainty and Measurement System analysis
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
mechattonicsand iotwith sensor and actuator
Unit I -OPERATING SYSTEMS_SRM_KATTANKULATHUR.pptx.pdf

DATABASE MANAGEMENT SYSTEM

  • 1. VISUAL BASIC 6.0 DATABASE MANAGEMENT SYSTEM  NAME : P.NIROJAN  Ad.No : 0041  GROUP : CIVIL 2nd YEAR  DATE OF SUBMISSION : 05 / 01 / 2016
  • 2.  Question: Create visual basic project to draw the outline of a land area of land using longitudes and latitude values. Assume that you can use MS Access data base to store the coordinates, Table:-  Point ID  Longitudes  Latitude  Land ID Your project should do the followings:-  Enter new coordinate  Edit the coordinate  Delete unnecessary coordinate  List OR View all coordinate  List OR View all coordinate of the selected land  Draw outline of the land  Draw outline of the select land Use the following object in your project:-  Connection object  Record set object  Commend object Submission 1st week January [ Interface , used control , coding ]
  • 3.  Creating Data Base using MS Access 1) Starting access methods  Start programes Microsoft Office Access  Double click desktop microsoft Access Icon 2) In the temple window select BLANK DATABASE and then enter database name as “LANDAREA” finally click create button. Then “LANDAREA” database window appears with in MS Access window. 3) When you select CREATE > Table Design.A table design window appears. Enter your field name,data type and size.finally save the table Create the following tables on MS Access and save it on database name “ LandArea ” Data Base Design view Data Base view Field Data Type Size Point ID Number Integer Longitude Number Long Integer Latitude Number Long Integer Land ID Number Integer
  • 4.  Saving Data Base in MS Access Vissual basic 6.0 to connect the database in MS Access must important the Access 2002–2003 Database formate and “ _ _ .mdb” file type  Creating programme using Visual Basic 1) Open Vissual Basic 6.0 2) Select the “Standard EXE” and then click open botton 3) In visual basic screen , go to “PROJECT” tap then click “REFFRENCE” then select “Microsoft ActiveX Data Objects Recordset 6.0 Library” then click “OK” Button.
  • 5. Database is located at …… So, the path of the database is C:landarea.mdb Easy to work we add ADO control and View all cordinate at the time we used DataGrid 1) In visual basic screen , right click the toolbox menu then goto “components” then select “Microsoft ADO Data Control 6.0 (OLEDB)” then click “OK” Button again goto “components” then select “Microsoft Data Grid Control 6.0 (OLEDB)” then click “OK” Button . 1 2 3
  • 6. Main Form is our project Number Object Name 1 Label lblPointID 2 Label lblLogitude 3 Label lblLatitude 4 Label lblLandID 5 Text Box txtPointID 6 Text Box txtLongitude 7 Text Box txtLatitude 8 Text Box txtLandID 9 Command Button cmdSave 10 Command Button cmdEdit 11 Command Button cmdNew 12 Command Button cmdMoveFirst 13 Command Button cmdPrevious 14 Command Button cmdNext 15 Command Button cmdMoveLast 1 2 3 1 4 5 1 6 7 1 8 1 11 10 9 12 4 13 34 14 34 15 34 16 3417 34 18 34 19 20 34 21 22
  • 7. Interface vissible objects Number Object Name 16 Command Button cmddelete 17 Command Button cmdcancel 18 Command Button cmdexit 19 Command Button cmdclear 20 Command Button cmdall 21 Command Button cmdselect 22 PictureBox draw Number Object Name 23 Command Button cmdupdate 24 Command Button cmdalldata 25 Command Button cmdselectdata 26 DataGrid Datagrid1 27 ADO Control ADODC1 23 34 24 25 26 27
  • 8. Select “Microsoft ADO Data control 6.0(OLEDB)” from components and then add the “ADODB” to the form then to change the ADODB properties Vissible mode change to False.  In General Declaration area, declare two (2) variables for Database & the Query (Record Set) Dim con As New ADODB.Connection Dim rs As New ADODB.Recordset  Identify the Database & the Record Set to VB. Write this code at “FORM” Load Event con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:Landarea.mdb;Persist Security Info=False" con.Open rs.Open "select* from landarea", con, adOpenStatic, adLockPessimistic Call fields DataBase location(path) SQL Statement SQL – Structured Query Language
  • 9.  Common procedure  Programming for “NEW” Button :-  Programming for “SAVE” Button :-
  • 10.  Programming for “EDIT” Button :-  Programming for “UPDATE” Button :-  Programming for “DELETE” Button :-
  • 11.  Programming for “CANCEL” Button :-  Programming for “CLEAR” Button :-  Programming for “MOVE FIRST and MOVE LAST” Button :-  Programming for “PREVIOUS and NEXT” Button :-
  • 12.  Programming for “DRAW ALL LAND” Button :-  Programming for “DRAW SELECT LAND” Button :-
  • 13.  Programming for “EXIT” Button :-  Programming for “FORM Unload event” :-  Programming for “Text Box Point ID Change event” :-  Programming for “Text Box Longitude Change event” :-
  • 14.  Programming for “Text Box Latitude Change event” :-  Programming for “Text Box Land ID Change event” :-  Our Consider Land Full Outline drawing view Land 1 Land 3 Land 2 Land 4