spacer1
spacer2 1_1 1_2
2_1
 Subscribe
 The MP2K Update!
 
 
 
 Magazine
Front Cover
What's New
Articles
Toolbar
News
Sample Data
Gallery
Advertise
About
 Features
MapPoint 2009
Press Releases
MapPoint Forums
Companies
Link to MP2Kmag
Wish List
MapPoint Trial
Authors
 Sponsors
 Order

MapPoint 2009

Programming MapPoint in .NET

MapPoint Book

  Spatial Community
ViaVirtualEarth
SVG Tutorials
MapPoint

Map Visitors

 Direct Media

Small business IT
Connect, the IT support specialists, are the market leader for small and medium sized businesses in the UK. Give us a call today!

printer cartridges
Don't settle for any old supplier. Get the best ink for the best price. See our great range of printer cartridges at competitive prices.

Cheap flights to Greece
Check Holiday Hypermarket for the latest cheap flights to Greece. Save your money for memorable souvenirs. See online today!

Holiday to Greece
Book a holiday to Greece today! There is something for everyone with a famous ancient history but also fantastic weather.

Property Bulgaria...
When you are contemplating a home in Bulgaria, you should look at this property….

Holiday Deals
Don't miss out on our fantastic holiday deals to a range of exotic destinations. We use over twenty top travel agents and tour operators to bring you great value holiday deals.

Cheap Turkey Holidays
The best time of year to sneak in cheap Turkey holidays is during the off-peak season. Check out the great deals available during April, May or October. For other tips on how to bag a great value holiday simply check online at ulookubook.com

  ARTICLES  


Linking to Weather Data From MapPoint

Chris Gebhardt shows how to link to web-based geographical data from within MapPoint

Description:
In some circumstances, users will want to access a website that is based on Zip code information or maybe City information. For example, you could write an application that allows a user to select a place on the map using their mouse and then click a button to find out information about that City in a web browser. For this example, we will use weather forecasts. The problem statement is easy, "What is the weather at zip code XXXXX?"

Create a new Standard EXE application in Visual Basic. On Form1, add a MapPoint Control called MPC1, a Web Browser control called WB1, and a command button called cmdWeather. (The Web Browser control is "hidden" inside the Microsoft Internet Controls components!) Now, add the following code:

As you can see, this code is very simplistic and only represents one way to achieve a solution to the problem statement of "What is the weather at ZIP code XXXXX?" You could create a COM add-in that will appear on the MapPoint pop-up menu or even replace the default MapPoint pop-up window when a user clicks on the map.

A word of caution: You will want to make sure the URL use is safe and you are not violating any copyright or licensing laws.

Discuss this story in the forum.

Author: Christopher Gebhardt
Email: Chris(AT)CrimeAnalysis.net
URL: http://www.crimeanalysis.net
Chris Gebhardt is the Director of Marketing for CRISNet (www.crisnet.com) in Salt Lake City, Utah. He is also the CEO of Crime Analysis Associates (www.CrimeAnalysis.net) where he uses Microsoft products and specifically MapPoint in the creation of his Crime Analysis software.

Chris is a former Lieutenant with the Metropolitan Police Department in Washington, D.C. where he was the Commander of the Tactical Crime Analysis Unit responsible for crime analysis and crime mapping. This job is the basis for the TV show "The District."

In his spare time, Chris is the Technical Advisor to the California Crime and Intelligence Analysts Association (www.CrimeAnalyst.org).

Chris can be reached at chris@crimeanalysis.net.



Google
 
MP2Kmag Internet


 Recent Discussion
-For Sale.Samsung Omnia i900 16GB,Nokia N96 16GB,Sony Ericsson X1.
-For Sale.Samsung Omnia i900 16GB,Nokia N96 16GB,Sony Ericsson X1.
-For Sale.Samsung Omnia i900 16GB,Nokia N96 16GB,Sony Ericsson X1.
-For Sale.Samsung Omnia i900 16GB,Nokia N96 16GB,Sony Ericsson X1.
-Texas Natural Resources Information System Launches Emergency Resource Site
-Simple way to display data points & assoc information
-Mappoint 2009 - change symbol for pushpin
-Folders in ASP 2.0
-New GPS Provider for MapPoint 2009
-Live Search Maps Goes Live in Taiwan
-How to hide Direction panel after call ActiveRoute.Calculate()?
-Internet Explorer 8 Beta 2 Includes Virtual Earth
-Virtual Earth for the Environment
-u-blox GPS Technology to Power Microsoft MapPoint 2009 USB Stick
-Move pins to dataset
-MapPoint 2009 - Zooming Right Mouse Button
-Virtual Earth 6.0 Auto-Upgrade Postponed
-Set up project is not running
-Hello
-Disappointed by Mappoint 2009
-Updating Address Data
-Virtual Earth Applications on Facebook
-Licensing Question (Images used in Print context)
-I Want My MapPoint Icons Back!
-Virtual Earth UltraCam ortho-imagery can now be licensed for offline use!
 Resources
Browse GIS books and periodicals
Best Car Contract Hire Lease Save
Find a MapPoint Partner or Consultant
Real Estate Columbia MO Homes for Sale


Want Your Site To Appear Here?

   © 1999-2008 MP2K. Questions and comments to: website@mp2kmag.com
  Microsoft and MapPoint 2002/2004/2006 are either trademarks or registered trademarks of Microsoft.

• Replacement Cordless Phone Batteries from DSMiller
Improve your career with a computer degree LocalEDU.com
• Tim Cohn's Marketing Strategy Consultancy
• Buy Toner, Ink Cartridges & Drums at Marquee Office Solutions
• Looking for Dry Erase Boards? See Dry Erase Boards • The Search Starts Here Used Cars
• 5339 - We Know Bikes: Road Bikes / Triathlon Bikes / Mountain Bikes / BMX Bikes
• Buy Your Car Used Cars, Car Lease and Contract Hire