Jump to content

ActiveX library for Location ,City Disply in Labview


pravin

Recommended Posts

Here is a way to display a Google Map in a front panel. Is this what you are looking for?

http://decibel.ni.co...t/docs/DOC-7983

HI,

you are getting wrong, i want a combobox type of control that containing city, somthing like in when we are

creating account in gmail or yahoo that time the register form having that type of combobox to select the city or country

Edited by pravin
Link to comment

Get a list of cities from the Internet ("list of cities" in Google might be a good start) and push it into a combo box or a ring by creating a property node for the control and using the Strings[] property.

If you want to do this by country, you can create a text file for each country, use the list of files to populate the country list, then read the selected file and use that to populate the city list.

If you can't find a simple list online, you can write code which will extract the list. What you basically do is use Datasocket Read and append "[text]" to the end of the URL to get the data as a string. You can then parse the HTML to get the relevant links and names. The exact code will depend on the page in which the information is found.

Of course, you could also consider not including the feature.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.