Sunday, April 27, 2014

Visual Basic .NET Tutorial 52 - How to Display Google Maps in VB.NET

Imports System.Text
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim street As String = TextBox_street.Text
        Dim city As String = TextBox_city.Text
        Dim state As String = TextBox_state.Text
        Dim zip As String = TextBox_zip.Text

            Dim queryAddress As New StringBuilder

            If TextBox_street.Text <> String.Empty Then
                queryAddress.Append(street + "," & "+")
            End If
            If TextBox_city.Text <> String.Empty Then
                queryAddress.Append(city + "," & "+")
            End If
            If TextBox_state.Text <> String.Empty Then
                queryAddress.Append(state + "," & "+")
            End If
            If TextBox_zip.Text <> String.Empty Then
                queryAddress.Append(zip + "," & "+")
            End If


        Catch ex As Exception
            MessageBox.Show("Unable to retrive date")
        End Try

    End Sub
End Class


Show Your Data on Google Map using VB.NET
How to add google maps in a VB.NET  Program
VB.NET  - how to display address in google map
Display Google Map in Windows Form - VB.NET  / C Sharp
display google maps in VB.NET  application
VB.NET  And Google Maps - VB.NET
Integrating Google Maps with VB.NET
Embed Google Maps in VB.NET
how to show locations in a Google map
Google Maps in VB.NET  Web Application
IT Certification Category (English)640x480

Partner Sites

Top Online Courses From ProgrammingKnowledge

Python Course
Java Course
Bash Course
Linux Course
C Course
C++ Course
PHP Course
Android Course
C# Course
JavaFx Course
NodeJs Course
Jenkins Course
Scala Course
Bootstrap Course
MongoDB Course
QT C++ GUI Course