<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Darryl Burling @ Work : live</title><link>http://blogs.msdn.com/darrylburling/archive/tags/live/default.aspx</link><description>Tags: live</description><dc:language>en-NZ</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Host your email using Live Mail and Live Domains</title><link>http://blogs.msdn.com/darrylburling/archive/2007/08/28/host-your-email-using-live-mail-and-live-domains.aspx</link><pubDate>Tue, 28 Aug 2007 03:06:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4599292</guid><dc:creator>dburling</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/darrylburling/comments/4599292.aspx</comments><wfw:commentRss>http://blogs.msdn.com/darrylburling/commentrss.aspx?PostID=4599292</wfw:commentRss><description>&lt;p&gt;Mauricio set up &lt;a href="http://www.geekzone.co.nz/freitasm/3594"&gt;geekzonemail.com&lt;/a&gt; last week.&amp;nbsp; In two days he signed up 50 new email accounts - pretty impressive.&amp;nbsp; He's also posted a &lt;a href="http://www.geekzone.co.nz/freitasm/3617"&gt;FAQ&lt;/a&gt; about how he did it.&lt;/p&gt; &lt;p&gt;I was talking with him about it last week and he pointed out just how easy it is to set up your own domain name to point to Windows Live Hotmail.&amp;nbsp; So I went and did it with my own domain (actually two of them) and thought I might share the methodology here given it was so easy.&lt;/p&gt; &lt;p&gt;Firstly you'll need to own a domain name.&amp;nbsp; I use &lt;a href="http://discountdomains.co.nz"&gt;Discount Domains&lt;/a&gt;, for NZ domains - NZ domains cost NZ$33 per year.&amp;nbsp; If you want a .com, you might want to try &lt;a href="http://godaddy.com"&gt;GoDaddy&lt;/a&gt; as their prices are quite reasonable (at US$8.99).&lt;a href="http://blogs.msdn.com/blogfiles/darrylburling/WindowsLiveWriter/HostyouremailusingLiveMailandLiveDomains_AA41/1Pending.jpg" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="224" alt="1Pending" src="http://blogs.msdn.com/blogfiles/darrylburling/WindowsLiveWriter/HostyouremailusingLiveMailandLiveDomains_AA41/1Pending_thumb.jpg" width="240" align="right" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Once you have your domain, head to &lt;a href="http://domains.live.com"&gt;http://domains.live.com&lt;/a&gt; and sign in using a Live ID.&amp;nbsp; Once you are signed in click the Add domain button.&amp;nbsp; Enter the domain name and click Continue (by default the "Set up Windows Live Hotmail for my domain" radio box should be selected).&amp;nbsp; Click the I Accept button to accept the license agreement (of course you should always read this first). &lt;/p&gt; &lt;p&gt;Now head over to your DNS provider and change the MX record to match the settings given to you by Live Domains.&amp;nbsp; You may also want to add the TXT record.&amp;nbsp; Once you've done the MX record flick back to domains.live.com and change the MX record.&amp;nbsp; In my experience the Live Domains should pick up the change immediately.&amp;nbsp; Once done, you can add accounts to the domain.&lt;/p&gt; &lt;p&gt;If the account already exists (i.e. you've used it for a LiveID without mail in the past) you'll get the option to import it.&amp;nbsp; This seems to convert the account without actually bringing any settings over with it, so if you used the account with Live Messenger, your buddy list will be no more (not necessarily a good thing).&amp;nbsp; The association with other Live accounts (such as Live Spaces) will be retained.&lt;/p&gt; &lt;p&gt;Once you add the account, you can go to &lt;a href="http://mail.live.com"&gt;http://mail.live.com&lt;/a&gt; and login with the account details.&amp;nbsp; If you imported the account you'll need to use the password that was originally assigned to the account.&lt;/p&gt; &lt;p&gt;Other nice to have features include the ability to have mail.yourdomain.com point to mail.live.com.&amp;nbsp; You can also have maps.yourdomain.com (using &lt;a href="http://local.live.com/"&gt;Live Maps&lt;/a&gt;), blog.yourdomain.com (using Live Spaces), etc.&lt;/p&gt; &lt;p&gt;If you want to, you can also open up the mail as Mauricio has done to allow anyone to have an email address at your domain.&lt;/p&gt; &lt;p&gt;You are also not restricted to using web mail.&amp;nbsp; Live mail supports the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7aad7e6a-931e-438a-950c-5e9ea66322d4&amp;amp;DisplayLang=en"&gt;Outlook Connector&lt;/a&gt; for Live mail (recently updated), the &lt;a href="http://get.live.com/betas/wlmail"&gt;Live Mail Beta&lt;/a&gt; (if you can get it - which you can't in NZ) or&amp;nbsp;&lt;a href="http://windowsmobile.com"&gt;Windows Mobile&lt;/a&gt; (including push mail in &lt;a href="http://www.microsoft.com/windowsmobile/6/default.mspx"&gt;Windows Mobile 6&lt;/a&gt;).&lt;/p&gt; &lt;p&gt;With messenger integration you'll also get a pop up (configurable naturally) that tells you when you get new mail.&lt;/p&gt; &lt;p&gt;What's not to like? - Did I mention each user still gets 2Gb of storage? Old news, but some people don't know it...&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4599292" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/darrylburling/archive/tags/live/default.aspx">live</category><category domain="http://blogs.msdn.com/darrylburling/archive/tags/Windows+Mobile/default.aspx">Windows Mobile</category></item><item><title>Things I love about the new Live Writer</title><link>http://blogs.msdn.com/darrylburling/archive/2007/06/16/things-i-love-about-the-new-live-writer.aspx</link><pubDate>Sun, 17 Jun 2007 00:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3286723</guid><dc:creator>dburling</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/darrylburling/comments/3286723.aspx</comments><wfw:commentRss>http://blogs.msdn.com/darrylburling/commentrss.aspx?PostID=3286723</wfw:commentRss><description>&lt;P&gt;I really like &lt;A href="http://get.live.com/writer" target=_blank mce_href="http://get.live.com/writer"&gt;live writer&lt;/A&gt;.&amp;nbsp; I love online/offline applications that have both a software and an online component - I get the best of the experience with the best of the reach.&amp;nbsp; Anyway, I've &lt;A href="http://blogs.msdn.com/darrylburling/archive/2007/05/11/rss-living-in-the-cloud-or-software-services-at-work.aspx" target=_blank mce_href="http://blogs.msdn.com/darrylburling/archive/2007/05/11/rss-living-in-the-cloud-or-software-services-at-work.aspx"&gt;already talked about that&lt;/A&gt; and that's not what this post is about.&lt;/P&gt;
&lt;P&gt;I really like some of the new features of Live Writer.&lt;/P&gt;
&lt;P&gt;My favorites are spell checking (which was notably missing in the previous version), the new category picker (why can't I create a category though?), the icon next to the weblog (its the little things too)&amp;nbsp;and my personal fav is the "Set publish date" feature.&lt;/P&gt;
&lt;P&gt;I tend to post in spurts and its always bothered me that they turn up in a cluster and then I appear to take a holiday from blogging for a week.&amp;nbsp; Now I can "manage" that better :-)&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The only problem is that with a blogging engine based somewhere in the US and me based here in NZ time zone, there is a bit of guessing as to when the post needs to be set to appear...&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3286723" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/darrylburling/archive/tags/live/default.aspx">live</category><category domain="http://blogs.msdn.com/darrylburling/archive/tags/Off+Topic/default.aspx">Off Topic</category></item><item><title>Getting the new Live betas in New Zealand</title><link>http://blogs.msdn.com/darrylburling/archive/2007/06/06/getting-the-new-live-betas-in-new-zealand.aspx</link><pubDate>Wed, 06 Jun 2007 20:42:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3121872</guid><dc:creator>dburling</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/darrylburling/comments/3121872.aspx</comments><wfw:commentRss>http://blogs.msdn.com/darrylburling/commentrss.aspx?PostID=3121872</wfw:commentRss><description>&lt;p&gt;If you are a fan of Live Mail Desktop Beta (now Live Mail Beta) or Live Writer and have noticed that they've been released but are not available in New Zealand, there is a pretty simple way to get these betas (and they are pretty cool - if its just for spell checking in live writer - so its worth the tiny extra effort to get them).&lt;/p&gt; &lt;p&gt;The page you want it &lt;a href="http://get.live.com"&gt;http://get.live.com&lt;/a&gt;, however you&lt;a href="http://blogs.msdn.com/blogfiles/darrylburling/WindowsLiveWriter/GettingthenewLivebetasinNewZealand_5050/image.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="240" alt="image" src="http://blogs.msdn.com/blogfiles/darrylburling/WindowsLiveWriter/GettingthenewLivebetasinNewZealand_5050/image_thumb.png" width="192" align="right" border="0"&gt;&lt;/a&gt;'ll get a placeholder page if you visit the site using the EN-NZ language settings.&amp;nbsp; To work around this (in IE7 anyway) click the tools drop town button on the top right side of the window and select Internet Options then click the languages button at the bottom of the dialog.&amp;nbsp; Click Add and find the language entry that reads "English (United States) [en-us]" and add it.&amp;nbsp; Change the priority so that US English is on top of NZ English as shown in the image to the right and then click the OK buttons to close the dialogs.&lt;/p&gt; &lt;p&gt;Now if you open another instance of Internet explorer (or close the one you are using and open a new one - a forced refresh should also work...) you'll be able to browse the URL above.&amp;nbsp; To quickly get the downloads try &lt;a href="http://get.live.com/betas/maildesktop_betas" target="_blank"&gt;this link for Live Mail&lt;/a&gt; and &lt;a href="http://writer.live.com" target="_blank"&gt;this link for Live Writer&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Don?t forget to change the language order back when you have finished.&amp;nbsp; That way you get NZ customized content on &lt;a href="http://msdn.microsoft.com"&gt;http://msdn.microsoft.com&lt;/a&gt;&amp;nbsp;:-)&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3121872" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/darrylburling/archive/tags/live/default.aspx">live</category></item><item><title>Mix, Silverlight and the DLR</title><link>http://blogs.msdn.com/darrylburling/archive/2007/05/03/mix-silverlight-and-the-dlr.aspx</link><pubDate>Thu, 03 May 2007 05:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2385198</guid><dc:creator>dburling</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/darrylburling/comments/2385198.aspx</comments><wfw:commentRss>http://blogs.msdn.com/darrylburling/commentrss.aspx?PostID=2385198</wfw:commentRss><description>&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’m sure you’ve heard the headline items from Mix. 
&lt;P&gt;I thought I’d put up a couple of links for the things that I found interesting. 
&lt;P&gt;If you’ve got the time, I’d recommend watching the &lt;A href="http://www.visitmix.com/Blogs/Joshua/ray-ozzie-and-scott-guthrie-keynote/" mce_href="http://www.visitmix.com/Blogs/Joshua/ray-ozzie-and-scott-guthrie-keynote/"&gt;Mix keynote video&lt;/A&gt; (warning it’s 2.5 hours). In this you’ll get an overview of Silverlight, the cross platform CLR, ruby in the browser, and some very, very cool demos (favs include debugging a silverlight app running on a browser from a windows box, installing Silverlight, and that 20 second chess match!) 
&lt;P&gt;I’d also check out 
&lt;UL&gt;
&lt;LI&gt;Robert Scobles &lt;A href="http://scobleizer.com/2007/05/02/scott-guthrie-on-silverlight/" mce_href="http://scobleizer.com/2007/05/02/scott-guthrie-on-silverlight/"&gt;interview with Scott Guthrie&lt;/A&gt;, &lt;/LI&gt;
&lt;LI&gt;Steve Gilmours &lt;A class="" href="http://gesturelab.com/?p=77" mce_href="http://gesturelab.com/?p=77"&gt;take&lt;/A&gt;&amp;nbsp;(who isn't a MS fan at all) &lt;/LI&gt;
&lt;LI&gt;John Lam - one of the guys responsible for the dynamic language runtime (John did the orginal port of Ruby.Net) on &lt;A href="http://channel9.msdn.com/Showpost.aspx?postid=304924" mce_href="http://channel9.msdn.com/Showpost.aspx?postid=304924"&gt;what the DLR is and why it was made&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Scott Guthrie on &lt;A href="http://channel9.msdn.com/Showpost.aspx?postid=304508" mce_href="http://channel9.msdn.com/Showpost.aspx?postid=304508"&gt;silverlight and the cross platform CLR&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Michael Arrington from TechCrunch on &lt;A href="http://www.techcrunch.com/2007/05/01/take-time-to-understand-silverlight-its-important/" mce_href="http://www.techcrunch.com/2007/05/01/take-time-to-understand-silverlight-its-important/"&gt;why silverlight is important&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Scott Hanselmans &lt;A href="http://www.hanselman.com/blog/PuttingMixSilverlightTheCoreCLRAndTheDLRIntoContext.aspx" mce_href="http://www.hanselman.com/blog/PuttingMixSilverlightTheCoreCLRAndTheDLRIntoContext.aspx"&gt;"putting it all in context"&lt;/A&gt; post is worth a read too.&lt;/LI&gt;
&lt;LI&gt;For local context &lt;A href="http://www.turtle.net.nz/" mce_href="http://www.turtle.net.nz"&gt;JB&lt;/A&gt;&amp;nbsp;and &lt;A href="http://www.base4.net/blog.aspx" mce_href="http://www.base4.net/blog.aspx"&gt;Alex&lt;/A&gt;&amp;nbsp;have got some good coverage.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Personally, I'm looking forward to delving into &lt;A href="http://www.silverlight.net/" mce_href="http://www.silverlight.net"&gt;Silverlight&lt;/A&gt; and &lt;A href="http://silverlight.live.com/" mce_href="http://silverlight.live.com/"&gt;silverlight streaming&lt;/A&gt; (4Gb for free!) in the near future, but I'm also&amp;nbsp;liking in &lt;A href="http://dev.live.com/" mce_href="http://dev.live.com/"&gt;the new Live API's&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2385198" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/darrylburling/archive/tags/live/default.aspx">live</category><category domain="http://blogs.msdn.com/darrylburling/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/darrylburling/archive/tags/DLR/default.aspx">DLR</category></item><item><title>Surveying in Virtual Earth</title><link>http://blogs.msdn.com/darrylburling/archive/2007/03/19/surveying-in-virtual-earth.aspx</link><pubDate>Mon, 19 Mar 2007 04:23:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1910412</guid><dc:creator>dburling</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/darrylburling/comments/1910412.aspx</comments><wfw:commentRss>http://blogs.msdn.com/darrylburling/commentrss.aspx?PostID=1910412</wfw:commentRss><description>&lt;p&gt;Many organizations now use polls and surveys to get information about their end users and evaluate how they are perceived in the market.&amp;nbsp; Another common thing that surveys are used for is to gather demographic information.&lt;/p&gt; &lt;p&gt;In Auckland there is some talk about a second .Net User Group.&amp;nbsp; So to help get an idea of where people are going from, coming too and what sort of location would be good for a .Net User group I wrote a simple survey tool in Virtual Earth to figure out where people live and where they work.&lt;/p&gt; &lt;p&gt;This solution is currently not in use in the wild, however, I thought I'd put the code up here as it is quite a cool way of getting information from users and adding it to a database.&lt;/p&gt; &lt;p&gt;Firstly I've constructed this as a HTML page, but you could modify it to work in an ASP.Net page pretty easily.&amp;nbsp; I've also set the form to post to another page rather than handle that in the same page -but again, you could modify the behavior of this to suit.&lt;/p&gt; &lt;p&gt;So - to get started have a look at the SDK at &lt;a href="http://dev.live.com/virtualearth/sdk"&gt;http://dev.live.com/virtualearth/sdk&lt;/a&gt; - its interactive - tell it what you want and it spits out the code.&amp;nbsp; The following is really just a hashing together of the elements that are needed.&lt;/p&gt; &lt;p&gt;The concept of this solution is that the user can right click on the map to place a push pin - when they do this they get the option to specify whether the push pin indicates where they work or live.&amp;nbsp; They select one which makes a permanent push pin appropriately labeled in the specified location.&amp;nbsp; In addition the Lat/Long coordinates of the location is logged to the text boxes at the bottom of the form.&amp;nbsp; In the real world, you'd probably want to hide these, but they are shown here for demo purposes.&lt;/p&gt; &lt;p&gt;Firstly, you'll want to put together the basics of the page.&amp;nbsp; The base page is pretty simple and looks like this:&lt;/p&gt; &lt;p&gt;The first thing to add is the line for the Virtual Earth map script, some textboxes for the coordinates and the form to do the submit.&amp;nbsp; After this it looks like this:&lt;/p&gt;&lt;pre class="code"&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;!&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;DOCTYPE&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;html&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;PUBLIC&lt;/span&gt; &lt;span style="color: rgb(0,0,255)"&gt;"-//W3C//DTD XHTML 1.0 Transitional//EN"&lt;/span&gt; &lt;span style="color: rgb(0,0,255)"&gt;"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;
&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;html&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;xmlns&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="http://www.w3.org/1999/xhtml"&amp;gt;
&lt;/span&gt; &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;head&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;
&lt;/span&gt;  &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;title&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;&lt;/span&gt;Virtual Earth Survey&lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;title&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;
&lt;/span&gt;&lt;strong&gt;  &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;script&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;type&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="text/javascript"&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;src&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="http://dev.virtualearth.net/mapcontrol/v4/mapcontrol.js"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;script&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;&lt;/span&gt;      
&lt;/strong&gt; &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;head&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;

&lt;/span&gt;   &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;body&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;
&lt;/span&gt;   &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;h3&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;&lt;/span&gt;Darryl's quick survey tool.&lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;h3&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;&lt;br&gt;   &lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;p&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;&lt;/span&gt;Zoom in to where you work and live, then right click to place a push pin and set the location.&lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;p&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;
&lt;/span&gt;&lt;strong&gt;   &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;form&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;id&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;='whereamiform'&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;action&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;='somepage.html'&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;onsubmit&lt;/span&gt;&lt;/strong&gt;&lt;span style="color: rgb(0,0,255)"&gt;&lt;strong&gt;='return dosubmit()'&amp;gt;
&lt;/strong&gt;&lt;/span&gt;   &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;div&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;id&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;='myMap'&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;style&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="position:relative; width:400px; height:400px;"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;div&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;&lt;/span&gt;   
&lt;strong&gt;   Home Latitude: &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;input&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;type&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="text"&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;id&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="lat1"&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="lat1"&lt;/span&gt; &lt;span style="color: rgb(0,0,255)"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;br&lt;/span&gt; &lt;/strong&gt;&lt;strong&gt;&lt;span style="color: rgb(0,0,255)"&gt;/&amp;gt;
&lt;/span&gt;   Home Longitude: &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;input&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;type&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="text"&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;id&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="long1"&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="long1"&lt;/span&gt; &lt;span style="color: rgb(0,0,255)"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;br&lt;/span&gt; &lt;/strong&gt;&lt;strong&gt;&lt;span style="color: rgb(0,0,255)"&gt;/&amp;gt;
&lt;/span&gt;   Work Latitude: &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;input&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;type&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="text"&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;id&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="lat2"&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="lat2"&lt;/span&gt; &lt;span style="color: rgb(0,0,255)"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;br&lt;/span&gt; &lt;/strong&gt;&lt;strong&gt;&lt;span style="color: rgb(0,0,255)"&gt;/&amp;gt;
&lt;/span&gt;   Work Longitude: &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;input&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;type&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="text"&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;id&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="long2"&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="long2"&lt;/span&gt; &lt;span style="color: rgb(0,0,255)"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;br&lt;/span&gt; &lt;/strong&gt;&lt;strong&gt;&lt;span style="color: rgb(0,0,255)"&gt;/&amp;gt;
&lt;/span&gt;   &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;input&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;type&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;='submit'&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;value&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;='Save'&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;style&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;='display:none'&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;id&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;='cmdSave'&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;name&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;='cmdSave'&lt;/span&gt; &lt;/strong&gt;&lt;strong&gt;&lt;span style="color: rgb(0,0,255)"&gt;/&amp;gt;
&lt;/span&gt;   &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;form&lt;/span&gt;&lt;/strong&gt;&lt;span style="color: rgb(0,0,255)"&gt;&lt;strong&gt;&amp;gt;
&lt;/strong&gt;&lt;/span&gt;   &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;body&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;
&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;html&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;The script line is the map controls used by Virtual Earth.&amp;nbsp; All the mapping commands you'll use are in here - its essentially the API.&amp;nbsp; Next you'll also notice I've put in the boxes for the Latitude and Longitude and a form with a save button to send the data to the "somepage.html" page that will handle the postback - although you'll notice that the button is hidden by style.&lt;/p&gt;
&lt;p&gt;Lets add some code.&amp;nbsp; Firstly we need to modify the body tag to read: &lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;body&lt;/span&gt; &lt;span style="color: rgb(255,0,0)"&gt;onload&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="GetMap();"&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We also need to add the GetMap function to the head of the document.&amp;nbsp; This is a simple piece of javascript that looks like this:&lt;/p&gt;&lt;pre class="code"&gt;    &lt;span style="color: rgb(0,0,255)"&gt;function&lt;/span&gt; GetMap()
    {
        map    = &lt;span style="color: rgb(0,0,255)"&gt;new&lt;/span&gt; VEMap(&lt;span style="color: rgb(163,21,21)"&gt;'myMap'&lt;/span&gt;);
        map.LoadMap(&lt;span style="color: rgb(0,0,255)"&gt;new&lt;/span&gt; VELatLong(-41.28259567324982, 174.77662324905393), 12 ,&lt;span style="color: rgb(163,21,21)"&gt;'r'&lt;/span&gt; ,&lt;span style="color: rgb(0,0,255)"&gt;false&lt;/span&gt;);
    }&lt;/pre&gt;
&lt;p&gt;The LoadMap function takes a Latitude/Longitude argument, a zoom (from 1-16), the type of map ('r' = road, 'h'=hybrid, etc) and the last one is to show whether the map is fixed so the user cannot change it.&amp;nbsp;More details and options on the LoadMap call are &lt;a href="http://dev.live.com/virtualearth/sdk/ref/HTML/M_Namespace_VEMap_LoadMap.htm" target="_blank"&gt;here&lt;/a&gt;. You should now be able to load the page and you should have a map appear on the page.&lt;/p&gt;
&lt;p&gt;To make the context menu appear we need to Attach an event to the map.&amp;nbsp; The Virtual Earth API allows you to add your own events pretty easily.&amp;nbsp; The following line at the end of the GetMap() function will do this for us:&lt;/p&gt;&lt;pre class="code"&gt;        map.AttachEvent(&lt;span style="color: rgb(163,21,21)"&gt;"oncontextmenu"&lt;/span&gt;, AddMyPin);&amp;nbsp;&lt;/pre&gt;
&lt;p&gt;This will cause the AddMyPin() function to be called whenever the context menu is called -&amp;nbsp;that is when the&amp;nbsp;right mouse button is clicked.&amp;nbsp; Next I'm going to add some variables which we'll use later on - these go before the GetMap() function:&lt;/p&gt;&lt;pre class="code"&gt;    &lt;span style="color: rgb(0,0,255)"&gt;var&lt;/span&gt; map = &lt;span style="color: rgb(0,0,255)"&gt;null&lt;/span&gt;;
    &lt;span style="color: rgb(0,0,255)"&gt;var&lt;/span&gt; pinID = 1;
    &lt;span style="color: rgb(0,0,255)"&gt;var&lt;/span&gt; workPin;
    &lt;span style="color: rgb(0,0,255)"&gt;var&lt;/span&gt; homePin;&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;
&lt;p&gt;Next we need to make AddMyPin() do something useful.&amp;nbsp; My AddMyPin() function looks like this:&lt;/p&gt;&lt;pre class="code"&gt;    &lt;span style="color: rgb(0,0,255)"&gt;function&lt;/span&gt; AddMyPin(e)
    {
        &lt;span style="color: rgb(0,0,255)"&gt;var&lt;/span&gt; pin = &lt;span style="color: rgb(0,0,255)"&gt;new&lt;/span&gt; VEPushpin(
            pinID,
            &lt;span style="color: rgb(0,0,255)"&gt;new&lt;/span&gt; VELatLong(e.view.LatLong.Latitude, e.view.LatLong.Longitude),
            &lt;span style="color: rgb(0,0,255)"&gt;null&lt;/span&gt;,
            &lt;span style="color: rgb(163,21,21)"&gt;'Locating me...'&lt;/span&gt;,
            &lt;span style="color: rgb(163,21,21)"&gt;'&amp;lt;a href="javascript:AddWork('&lt;/span&gt;+e.view.LatLong.Latitude+&lt;span style="color: rgb(163,21,21)"&gt;','&lt;/span&gt;+e.view.LatLong.Longitude+&lt;span style="color: rgb(163,21,21)"&gt;','&lt;/span&gt;+pinID+&lt;span style="color: rgb(163,21,21)"&gt;')"&amp;gt;This is where I work&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;a href="javascript:AddHome('&lt;/span&gt;+e.view.LatLong.Latitude+&lt;span style="color: rgb(163,21,21)"&gt;','&lt;/span&gt;+e.view.LatLong.Longitude+&lt;span style="color: rgb(163,21,21)"&gt;','&lt;/span&gt;+pinID+&lt;span style="color: rgb(163,21,21)"&gt;')"&amp;gt;This is where I live&amp;lt;/a&amp;gt;'
&lt;/span&gt;            );
        map.AddPushpin(pin);
        pinID++;
    }&lt;/pre&gt;
&lt;p&gt;Thats is pretty ugly.&amp;nbsp; What I'm doing here is adding a new pushpin.&amp;nbsp; the Pushpin takes a bunch of arguments - which are in order: the pin number (for easy identification later), the location of the pin (in this case the latitude/longitude that the user clicked - which was sent as part of the event argument "e"),&amp;nbsp;the icon for the pushpin image (null = default), the Title of the call out and the text for the call out.&amp;nbsp; In the Text for the call out, I've put in some pretty ugly javascript.&amp;nbsp; What this gives the user is two hyperlinks to click - each of these hyperlinks calls another function depending on whether they select the "work" hyperlink or the "home" hyperlink.&amp;nbsp; There are other arguments you could add to this - more &lt;a href="http://dev.live.com/virtualearth/sdk/ref/HTML/C_Namespace_VEPushpin_ctor.htm" target="_blank"&gt;details here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Next we need to add the functions that clicking these links will call.&amp;nbsp; There are three functions - one for home, one for work and one which checks whether to display the save button or not.&amp;nbsp; You could probably reduce this to just one function pretty easily by adding some more variables to the function call, but for the sake of simplicity, here are my functions:&lt;/p&gt;&lt;pre class="code"&gt;    &lt;span style="color: rgb(0,0,255)"&gt;function&lt;/span&gt; AddWork(e,f,pinNum)
    {
        &lt;span style="color: rgb(0,0,255)"&gt;try
&lt;/span&gt;        {
            map.DeletePushpin(workPin);            
        }
        &lt;span style="color: rgb(0,0,255)"&gt;catch&lt;/span&gt; (err)
        {
        }
        map.DeletePushpin(pinNum);
        &lt;span style="color: rgb(0,0,255)"&gt;var&lt;/span&gt; pin = &lt;span style="color: rgb(0,0,255)"&gt;new&lt;/span&gt; VEPushpin(
            pinID,
            &lt;span style="color: rgb(0,0,255)"&gt;new&lt;/span&gt; VELatLong(e,f),
            &lt;span style="color: rgb(0,0,255)"&gt;null&lt;/span&gt;,
            &lt;span style="color: rgb(163,21,21)"&gt;"This is where I work"
&lt;/span&gt;        );
        map.AddPushpin(pin);
        document.forms[0].lat2.value=e;
        document.forms[0].long2.value=f;
        workPin=pinID;
        pinID++;
        checkSubmit();
    }

    &lt;span style="color: rgb(0,0,255)"&gt;function&lt;/span&gt; AddHome(e,f,pinNum)
    {
        &lt;span style="color: rgb(0,0,255)"&gt;try
&lt;/span&gt;        {
            map.DeletePushpin(homePin);
        }
        &lt;span style="color: rgb(0,0,255)"&gt;catch&lt;/span&gt; (err)
        {
        }
        map.DeletePushpin(pinNum);
        &lt;span style="color: rgb(0,0,255)"&gt;var&lt;/span&gt; pin = &lt;span style="color: rgb(0,0,255)"&gt;new&lt;/span&gt; VEPushpin(
            pinID,
            &lt;span style="color: rgb(0,0,255)"&gt;new&lt;/span&gt; VELatLong(e,f),
            &lt;span style="color: rgb(0,0,255)"&gt;null&lt;/span&gt;,
            &lt;span style="color: rgb(163,21,21)"&gt;"This is where I live"
&lt;/span&gt;        );
        map.AddPushpin(pin);
        document.forms[0].lat1.value=e;
        document.forms[0].long1.value=f;
        homePin=pinID;
        pinID++;
        checkSubmit();
    }

    &lt;span style="color: rgb(0,0,255)"&gt;function&lt;/span&gt; checkSubmit()
    {
        &lt;span style="color: rgb(0,0,255)"&gt;if&lt;/span&gt; ((document.forms[0].lat1.value != &lt;span style="color: rgb(163,21,21)"&gt;''&lt;/span&gt;) &amp;amp;&amp;amp; (document.forms[0].long1.value != &lt;span style="color: rgb(163,21,21)"&gt;''&lt;/span&gt;) &amp;amp;&amp;amp; (document.forms[0].lat2.value != &lt;span style="color: rgb(163,21,21)"&gt;''&lt;/span&gt;) &amp;amp;&amp;amp; (document.forms[0].long2.value != &lt;span style="color: rgb(163,21,21)"&gt;''&lt;/span&gt;))
        {
            document.forms[0].cmdSave.style.display=&lt;span style="color: rgb(163,21,21)"&gt;'inline'&lt;/span&gt;;
        }
    }
&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;
&lt;p&gt;The work and home functions remove any existing work or home pushpins (after all you can't live in more than one place at a time - or can you?), then they add a new pushpin and save the Pin ID to the appropriate variable, and record the latitude and longitude in the text boxes in the form.&amp;nbsp; The last thing the functions do is check to see if both work and home have been identified and if they have show the save button.&lt;/p&gt;
&lt;p&gt;The only other thing that is necessary for this form is to do any processing that might need to be done when the form is submitted.&amp;nbsp; I've just put the following place holder function in to do this for the moment:&lt;/p&gt;&lt;pre class="code"&gt;    &lt;span style="color: rgb(0,0,255)"&gt;function&lt;/span&gt; dosubmit()
    {
        alert(&lt;span style="color: rgb(163,21,21)"&gt;"in the real world you'd have just told someone where you live and work"&lt;/span&gt;);
        &lt;span style="color: rgb(0,0,255)"&gt;return&lt;/span&gt; &lt;span style="color: rgb(0,0,255)"&gt;false&lt;/span&gt;;
    }
&lt;/pre&gt;&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt;
&lt;p&gt;Thats pretty much it.&amp;nbsp; You'll want to make it look pretty and create a page to receive the information and do something with it (like store it) but for all intents and purposes, you've now got yourself a survey tool in Virtual Earth in around 100 lines of html and javascript&amp;nbsp;code.&lt;/p&gt;
&lt;p&gt;The best place to figure out the API for all these things IMHO is the Reference SDK (note you'll want to click the tab oddly called "Reference SDK" on &lt;a href="http://dev.live.com/virtualearth/sdk" target="_blank"&gt;this page&lt;/a&gt; to find it)&lt;/p&gt;
&lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:1f4aa7b6-69e1-4592-a6d9-d1d3341c131c" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/Virtual%20Earth" rel="tag"&gt;Virtual Earth&lt;/a&gt;, &lt;a href="http://technorati.com/tags/live%20local" rel="tag"&gt;live local&lt;/a&gt;, &lt;a href="http://technorati.com/tags/live" rel="tag"&gt;live&lt;/a&gt;, &lt;a href="http://technorati.com/tags/Visual%20Studio" rel="tag"&gt;Visual Studio&lt;/a&gt;, &lt;a href="http://technorati.com/tags/mashup" rel="tag"&gt;mashup&lt;/a&gt;, &lt;a href="http://technorati.com/tags/HTML" rel="tag"&gt;HTML&lt;/a&gt;, &lt;a href="http://technorati.com/tags/JavaScript" rel="tag"&gt;JavaScript&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1910412" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/darrylburling/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/darrylburling/archive/tags/live/default.aspx">live</category></item><item><title>Build a simple store locator with Virtual Earth - part 1</title><link>http://blogs.msdn.com/darrylburling/archive/2007/03/02/build-a-simple-store-locator-with-virtual-earth-part-1.aspx</link><pubDate>Fri, 02 Mar 2007 06:17:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1784221</guid><dc:creator>dburling</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/darrylburling/comments/1784221.aspx</comments><wfw:commentRss>http://blogs.msdn.com/darrylburling/commentrss.aspx?PostID=1784221</wfw:commentRss><description>&lt;p&gt;One of the things I've noticed is that most organizations are providing really basic store/branch/site locators with their websites.&amp;nbsp; For most of these locations it means that &lt;/p&gt; &lt;ul&gt; &lt;li&gt;There is no immediate recognition of of the site relative to the end user  &lt;li&gt;Reading and comprehension is harder meaning more effort is required by the user to translate the location, leading to inaccuracies and ultimately reduced customer satisfaction  &lt;li&gt;Often the user wont know the street (particularly in cities) meaning the address is a non starter  &lt;li&gt;Evenif they know the street numbers are hard to figure out - particularly on long streets/roads  &lt;li&gt;Once the user comprehends the location they need to figure out how to get there as quickly as possible.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/darrylburling/WindowsLiveWriter/BuildasimplestorelocatorwithVirtualEarth_E4EE/image%7B0%7D%5B7%5D.png" atomicselection="true"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="98" src="http://blogs.msdn.com/blogfiles/darrylburling/WindowsLiveWriter/BuildasimplestorelocatorwithVirtualEarth_E4EE/image%7B0%7D_thumb%5B3%5D.png" width="240" align="left" border="0"&gt;&lt;/a&gt;Having a dynamic map (such as Virtual Earth) can fix these issues in a single, simple solution and for no cost!&lt;/p&gt; &lt;p&gt;The simplest way to create a store locator without making large modifications to the existing site is to create a hyperlink that opens a window with a map inside it.&lt;/p&gt; &lt;p&gt;Take for example the following store location:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt;Lambton Quay Branch&lt;br&gt;&lt;/font&gt;&lt;/strong&gt;157 Lambton Quay,&lt;br&gt;Wellingotn,&lt;br&gt;New Zealand&lt;a href="http://blogs.msdn.com/blogfiles/darrylburling/WindowsLiveWriter/BuildasimplestorelocatorwithVirtualEarth_E4EE/image%7B0%7D%5B12%5D.png" atomicselection="true"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="177" src="http://blogs.msdn.com/blogfiles/darrylburling/WindowsLiveWriter/BuildasimplestorelocatorwithVirtualEarth_E4EE/image%7B0%7D_thumb%5B6%5D.png" width="240" align="right" border="0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;In this case you've got the name of the branch and the address right there.&amp;nbsp; If you combine the address into the following hyperlink you get something that virtual earth can understand.&amp;nbsp; Go to &lt;a href="http://www.windowslivelocal.com"&gt;www.windowslivelocal.com&lt;/a&gt; and in the second box at the top enter the address and hit enter as shown in the picture above&lt;/p&gt; &lt;p&gt;You may want to rename the location (hover over the address and select "Edit" from the flyout&amp;nbsp;menu). &amp;nbsp;Next you'll want to copy the link to the clipboard as shown.&amp;nbsp; This will put a hyperlink into the clipboard.&amp;nbsp; You can test this by pasting it into the address bar of the browser.&amp;nbsp; &lt;/p&gt; &lt;p&gt;Once you've got that link its just a matter of adding a hyper link to the text.&amp;nbsp; The above example would mean the following link:&lt;/p&gt; &lt;blockquote&gt;&lt;pre class="code"&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;a &lt;/span&gt;&lt;br&gt;&lt;span style="color: rgb(255,0,0)"&gt;href&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="http://local.live.com/?v=2&amp;amp;sp=Point.83kn85zjy5n3_Lambton%20Quay%20Branch___"&lt;/span&gt; &lt;br&gt;&lt;span style="color: rgb(255,0,0)"&gt;target&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;="_blank"&amp;gt;&lt;/span&gt;Lambton Quay Branch&lt;span style="color: rgb(0,0,255)"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163,21,21)"&gt;a&lt;/span&gt;&lt;span style="color: rgb(0,0,255)"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;Thats it!&amp;nbsp; Now when someone clicks the link they will be directed to Windows Live Local with a push pin showing what it is that you are trying to show them.&amp;nbsp; They can then get driving directions and find their way to your store much more easily.&lt;/p&gt;
&lt;p&gt;This is obviously not the perfect scenario, as you are sending customers to a site that is not branded with your brand and that you have no control over, but its an easy to implement sample that gives more detail than no map.&lt;/p&gt;
&lt;p&gt;Next I'll show how you can add your branding to the map thats shown.&lt;/p&gt;
&lt;div class="wlWriterSmartContent" id="0767317B-992E-4b12-91E0-4F059A8CECA8:dddc3fa4-d22a-49a4-a09f-f5952c92006f" contenteditable="false" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;Technorati tags: &lt;a href="http://technorati.com/tags/VirtualEarth" rel="tag"&gt;VirtualEarth&lt;/a&gt;, &lt;a href="http://technorati.com/tags/live.com" rel="tag"&gt;live.com&lt;/a&gt;, &lt;a href="http://technorati.com/tags/virtual%20earth" rel="tag"&gt;virtual earth&lt;/a&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1784221" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/darrylburling/archive/tags/live/default.aspx">live</category></item></channel></rss>