SlideShare a Scribd company logo
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
Ad

More Related Content

What's hot (20)

C# Crystal Reports
C# Crystal ReportsC# Crystal Reports
C# Crystal Reports
Muhammad Umer Riaz
 
Ado Net
Ado NetAdo Net
Ado Net
Jiten Palaparthi
 
Msaccess
MsaccessMsaccess
Msaccess
Manish Goyal
 
Access Basics 01
Access Basics 01Access Basics 01
Access Basics 01
Lets try
 
Visual basic databases
Visual basic databasesVisual basic databases
Visual basic databases
Speed Cyber Cafe
 
Microsoft access 2007
Microsoft access 2007Microsoft access 2007
Microsoft access 2007
JaiRane007
 
Ms access
Ms accessMs access
Ms access
Amrita University
 
Quickstart Microsoft access 2013
Quickstart Microsoft access 2013Quickstart Microsoft access 2013
Quickstart Microsoft access 2013
comatsg
 
Datamaigration
DatamaigrationDatamaigration
Datamaigration
Mangesh Barhate
 
Intro to Microsoft Access
Intro to Microsoft AccessIntro to Microsoft Access
Intro to Microsoft Access
DUSPviz
 
Ms access
Ms accessMs access
Ms access
Neetu Yadav
 
VB6 Using ADO Data Control
VB6 Using ADO Data ControlVB6 Using ADO Data Control
VB6 Using ADO Data Control
Notre Dame of Midsayap College
 
Ms access ppt 2017 by Gopal saha
Ms access ppt 2017 by Gopal sahaMs access ppt 2017 by Gopal saha
Ms access ppt 2017 by Gopal saha
253253
 
Ms access
Ms accessMs access
Ms access
Nagarajan
 
Tutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft AccessTutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft Access
mcclellm
 
Data Connection using ADO DC
Data Connection using ADO DCData Connection using ADO DC
Data Connection using ADO DC
Purbanjali Das
 
MS Access – Part 1 (One Day Workshop)
MS Access – Part 1 (One Day Workshop)MS Access – Part 1 (One Day Workshop)
MS Access – Part 1 (One Day Workshop)
Khader Shaik
 
Richfaces Proto Type
Richfaces Proto TypeRichfaces Proto Type
Richfaces Proto Type
ravireddy76
 
Icefaces Proto Type
Icefaces Proto TypeIcefaces Proto Type
Icefaces Proto Type
ravireddy76
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasks
skomadina
 
Access Basics 01
Access Basics 01Access Basics 01
Access Basics 01
Lets try
 
Microsoft access 2007
Microsoft access 2007Microsoft access 2007
Microsoft access 2007
JaiRane007
 
Quickstart Microsoft access 2013
Quickstart Microsoft access 2013Quickstart Microsoft access 2013
Quickstart Microsoft access 2013
comatsg
 
Intro to Microsoft Access
Intro to Microsoft AccessIntro to Microsoft Access
Intro to Microsoft Access
DUSPviz
 
Ms access ppt 2017 by Gopal saha
Ms access ppt 2017 by Gopal sahaMs access ppt 2017 by Gopal saha
Ms access ppt 2017 by Gopal saha
253253
 
Tutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft AccessTutorial for using SQL in Microsoft Access
Tutorial for using SQL in Microsoft Access
mcclellm
 
Data Connection using ADO DC
Data Connection using ADO DCData Connection using ADO DC
Data Connection using ADO DC
Purbanjali Das
 
MS Access – Part 1 (One Day Workshop)
MS Access – Part 1 (One Day Workshop)MS Access – Part 1 (One Day Workshop)
MS Access – Part 1 (One Day Workshop)
Khader Shaik
 
Richfaces Proto Type
Richfaces Proto TypeRichfaces Proto Type
Richfaces Proto Type
ravireddy76
 
Icefaces Proto Type
Icefaces Proto TypeIcefaces Proto Type
Icefaces Proto Type
ravireddy76
 
MS Access teaching powerpoint tasks
MS Access teaching powerpoint tasksMS Access teaching powerpoint tasks
MS Access teaching powerpoint tasks
skomadina
 

Similar to DATABASE MANAGEMENT SYSTEM (20)

Mongo db basics
Mongo db basicsMongo db basics
Mongo db basics
Dhaval Mistry
 
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
WithTheBest
 
Tutorial on how to load images in crystal reports dynamically using visual ba...
Tutorial on how to load images in crystal reports dynamically using visual ba...Tutorial on how to load images in crystal reports dynamically using visual ba...
Tutorial on how to load images in crystal reports dynamically using visual ba...
Aeric Poon
 
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
mauricemuteti2015
 
Business Intelligence Technology Presentation
Business Intelligence Technology PresentationBusiness Intelligence Technology Presentation
Business Intelligence Technology Presentation
John Paredes
 
smiley018.pdf visual basic program in university notes download online book m...
smiley018.pdf visual basic program in university notes download online book m...smiley018.pdf visual basic program in university notes download online book m...
smiley018.pdf visual basic program in university notes download online book m...
ashokkim28
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.ppt
BhuvanaR13
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
Abid Khan
 
A practical guide to GIS in Civil 3D
A practical guide to GIS in Civil 3DA practical guide to GIS in Civil 3D
A practical guide to GIS in Civil 3D
Synergis Engineering Design Solutions
 
An introduction to MongoDB
An introduction to MongoDBAn introduction to MongoDB
An introduction to MongoDB
Universidade de São Paulo
 
Introduction to mongodb
Introduction to mongodbIntroduction to mongodb
Introduction to mongodb
neela madheswari
 
Window programming
Window programmingWindow programming
Window programming
Pooja Rathee
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
Aravindharamanan S
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
Aravindharamanan S
 
154090896 installation-of-oracle-database-12c
154090896 installation-of-oracle-database-12c154090896 installation-of-oracle-database-12c
154090896 installation-of-oracle-database-12c
Venkatesh Ramiya Krishnamoorthy
 
Crystal report
Crystal reportCrystal report
Crystal report
baabtra.com - No. 1 supplier of quality freshers
 
Once the Application has started up and you are at the Start Page, s.docx
Once the Application has started up and you are at the Start Page, s.docxOnce the Application has started up and you are at the Start Page, s.docx
Once the Application has started up and you are at the Start Page, s.docx
arnit1
 
Microsoft Access Database And C# Windows Forms Tutorial Visual Studio 2010
Microsoft Access Database And C# Windows Forms Tutorial Visual Studio 2010Microsoft Access Database And C# Windows Forms Tutorial Visual Studio 2010
Microsoft Access Database And C# Windows Forms Tutorial Visual Studio 2010
mauricemuteti2015
 
How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2
wang yaohui
 
systems labOnce the Application has started up and you are at the .docx
systems labOnce the Application has started up and you are at the .docxsystems labOnce the Application has started up and you are at the .docx
systems labOnce the Application has started up and you are at the .docx
perryk1
 
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
Line Graph Analysis using R Script for Intel Edison - IoT Foundation Data - N...
WithTheBest
 
Tutorial on how to load images in crystal reports dynamically using visual ba...
Tutorial on how to load images in crystal reports dynamically using visual ba...Tutorial on how to load images in crystal reports dynamically using visual ba...
Tutorial on how to load images in crystal reports dynamically using visual ba...
Aeric Poon
 
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
mauricemuteti2015
 
Business Intelligence Technology Presentation
Business Intelligence Technology PresentationBusiness Intelligence Technology Presentation
Business Intelligence Technology Presentation
John Paredes
 
smiley018.pdf visual basic program in university notes download online book m...
smiley018.pdf visual basic program in university notes download online book m...smiley018.pdf visual basic program in university notes download online book m...
smiley018.pdf visual basic program in university notes download online book m...
ashokkim28
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.ppt
BhuvanaR13
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
Abid Khan
 
Window programming
Window programmingWindow programming
Window programming
Pooja Rathee
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
Aravindharamanan S
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
Aravindharamanan S
 
Once the Application has started up and you are at the Start Page, s.docx
Once the Application has started up and you are at the Start Page, s.docxOnce the Application has started up and you are at the Start Page, s.docx
Once the Application has started up and you are at the Start Page, s.docx
arnit1
 
Microsoft Access Database And C# Windows Forms Tutorial Visual Studio 2010
Microsoft Access Database And C# Windows Forms Tutorial Visual Studio 2010Microsoft Access Database And C# Windows Forms Tutorial Visual Studio 2010
Microsoft Access Database And C# Windows Forms Tutorial Visual Studio 2010
mauricemuteti2015
 
How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2How to empower community by using GIS lecture 2
How to empower community by using GIS lecture 2
wang yaohui
 
systems labOnce the Application has started up and you are at the .docx
systems labOnce the Application has started up and you are at the .docxsystems labOnce the Application has started up and you are at the .docx
systems labOnce the Application has started up and you are at the .docx
perryk1
 
Ad

More from Vj NiroSh (20)

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

Recently uploaded (20)

Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
Raish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdfRaish Khanji GTU 8th sem Internship Report.pdf
Raish Khanji GTU 8th sem Internship Report.pdf
RaishKhanji
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
ELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdfELectronics Boards & Product Testing_Shiju.pdf
ELectronics Boards & Product Testing_Shiju.pdf
Shiju Jacob
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Data Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptxData Structures_Searching and Sorting.pptx
Data Structures_Searching and Sorting.pptx
RushaliDeshmukh2
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdffive-year-soluhhhhhhhhhhhhhhhhhtions.pdf
five-year-soluhhhhhhhhhhhhhhhhhtions.pdf
AdityaSharma944496
 
Artificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptxArtificial Intelligence (AI) basics.pptx
Artificial Intelligence (AI) basics.pptx
aditichinar
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 

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