0

i wrote a (visual basic.net-2008) desktop app that allows ham radio operators to enter a call, such as WA0H, and the program gives the ham's location (springfield, mo.).

you can download the program free from my website .. www.wa0h.com

i want the program to display the ham's location on a google map using google's api-v3.

i have created an (html/javascript) webpage, where you enter the location in a form box, click a (find) button, and the app displays the map ok, including a marker pin on the map.

??? how do i run the (webpage) from inside my (vb.net) program ???

my vb.net program needs to:
1 .. pass the address to the webpage
2 .. click the webpage (find) button

thanks for your time.

3
Contributors
6
Replies
24
Views
2 Years
Discussion Span
Last Post by kram7750
0

Use a webbrowser from toolbox menu

1 .. pass the address to the webpage

Webbrowser.Navigate(URL)

2 .. click the webpage (find) button

webBrowser1.Document.All("Button ID").InvokeMember("click")

Good Luck

0

hi oussama .. thanks for the reply.

WebBrowser1.Navigate(https://Maps.Google.Com.....) no longer works, it returns a scripting error message. google now requires you use their (api).

the (html/javascript) webpage, which is inside my vb.net program, will not display a google map until the user enters his address. the vb.net program needs to pass that (variable) address to the (html/javascript) code, and trigger the webpage.

that is what i can't find out how to do.

jerry .. wa0h

0

thanks oussama, i will give it a try

??? will the 2 year old method work with the new google api method which also requires you to have a key, which i do.

jerry .. wa0h

0

If you want to launch a webpage from VB.NET you can do:

Process.Start("webpageURL")

It will launch the URL in the "default" webbrowser. This is Internet Explorer, however if the user has installed another browser such as Google Chrome and set it as the default browser, that will be executed instead to load the webpage.

If this isn't what you asked for, my apologies.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.