Click here to Skip to main content
15,889,482 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a winfrom application with vb.net. I want to add google maps to it . Like I want to search address and point it in the map. But it shows script error when I run it and the map is not loading correctly

What I have tried:

Dim getaddress As New StringBuilder
      getaddress.Append("https://www.google.com/maps?q=")
      If Not txtPostCode.Text = "" Then
          getaddress.Append(txtPostCode.Text)
      End If
      WebBrowser1.Navigate(getaddress.ToString())
Posted
Updated 15-Apr-21 23:49pm
v2
Comments
Richard MacCutchan 16-Apr-21 5:20am    
How can anyone help you, when you give no clue as to the error you receive?

1 solution

See this CodeProject article: GMaps Control Simplified in VB.NET[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900