Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Url = New Uri("https://maps.google.com/?ie=UTF8&t=h&vpsrc=0&ll=37.09024,-95.712891&spn=33.435463,56.25/")
End Sub
Private Function ConvertValue(ByVal arg As Double) As String
arg = Math.Abs(arg)
Dim Latitude As Integer = CType(Math.Floor(arg), Integer)
Return Latitude.ToString() + " " + (60 * (arg - Latitude)).ToString()
End Function
Private Function ConvertValue2(ByVal arg As Double) As String
arg = Math.Abs(arg)
Dim Longitude As Integer = CType(Math.Floor(arg), Integer)
Return Longitude.ToString() + " " + (60 * (arg - Longitude)).ToString()
End Function
OK this what I have and i think i got it right but how do I get the results from ConvertValue and ConvertValue2 to show up in text boxes or labels