Monday, December 19, 2011

How do i use visual basic to make a form that will search multiple maps search engines by inputing an address?

I want to search Google, Yahoo, Livemaps, etc. for an address at one time. I need to see the results for each. I would like to use this with my ESRI ArcGIS software.|||I wouldn't use visual basic because I wouldn't create a 'fat client' of this application.





I would rather set up a web server and use php to script what you are doing. You would need:





* Some Linux distribution (Ubuntu or Suse works well)


* Apache web server (comes with the Linux distribution)


* php (comes with the Linux distribution)





This has the following advantages over a fat client solution using visual basic:





1. Any computer on the network could use the service, independent of its operating service


2. All that's needed for using the service is a web browser. You don't have to have Windows and you don't have to have visual basic installed at all, not even visual basic for applications.


3. If you have to change some code you don't have to roll out any software. You can change it in one single place and you don't have to deal with the nightmare of having several different versions installed on several clients


4. You have one single central point in the network from which you generate queries against search engines.


5. The output can be parsed on a server vs. a client. Parsing geo data can be very time consuming, and maybe your server has more RAM and CPU than your client.|||Not sure what you are trying to accomplish totally but here's what I got:





You could create a webbrowser control on the form for each map you want to search, fill in the location textbox control on the webbrowser and then call the search button's click method.





Alternatively, for Google anyways, you could read up on the Google Maps API and probably get even more control.





So, if you're not up on how the webbrowser control works I hope this points you into a method you can further research on, and if you have used the control before perhaps it gives you a method you can use.

No comments:

Post a Comment