<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4331087195124137128</id><updated>2024-09-14T11:37:01.184-07:00</updated><title type='text'>Visual studio source</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://visualstudiosource.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4331087195124137128/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://visualstudiosource.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>A$@d</name><uri>http://www.blogger.com/profile/10812762256163940257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4331087195124137128.post-1828622038063646113</id><published>2012-03-26T09:20:00.005-07:00</published><updated>2012-04-21T15:05:55.781-07:00</updated><title type='text'>ip tracer and map</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1HyxzDSwcrd21awtl5sHYSVtKq9GsPLpys3HcJTIL581hLHS7auE20OE-bgcE0HGIKhnMzlh1_PnhwFuIB8-6bOAJcjTOw7fcg2qon8F1Hd9rJYEaRoprsYrUI8z_G4ogkObO2FKlYQCA/s1600/Ip+tracer+1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img aea=&quot;true&quot; border=&quot;0&quot; height=&quot;206&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1HyxzDSwcrd21awtl5sHYSVtKq9GsPLpys3HcJTIL581hLHS7auE20OE-bgcE0HGIKhnMzlh1_PnhwFuIB8-6bOAJcjTOw7fcg2qon8F1Hd9rJYEaRoprsYrUI8z_G4ogkObO2FKlYQCA/s400/Ip+tracer+1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4mIricMts3ZMbcUJHzEDrcNX-rPPiNk62fEa-SQv9K63GBAZDc72VGZ41leaMqrUw0nDQy465nmbhy3wDIk4gaGNjhKURQ0tC_Ac3hoVJgkc9VdB8_9uFwEkTi4fX96VTdPOHeqMfXSOR/s1600/Ip+tracer+3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img aea=&quot;true&quot; border=&quot;0&quot; height=&quot;146&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4mIricMts3ZMbcUJHzEDrcNX-rPPiNk62fEa-SQv9K63GBAZDc72VGZ41leaMqrUw0nDQy465nmbhy3wDIk4gaGNjhKURQ0tC_Ac3hoVJgkc9VdB8_9uFwEkTi4fX96VTdPOHeqMfXSOR/s400/Ip+tracer+3.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhpYGHCpUN202GCOarFw1MbI49XuThav4rsKnh0UTYcWlEuQQvt557bgQ1_0DJ9SN3YxwHqfaXqlEQ5O7-AjAcWvHz2TcDIYp99dKzwXeGqp5c4aQNcUIk4EXeaNZ5Hcjx53CNLpDuOGm8/s1600/ip+tracer2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img aea=&quot;true&quot; border=&quot;0&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhpYGHCpUN202GCOarFw1MbI49XuThav4rsKnh0UTYcWlEuQQvt557bgQ1_0DJ9SN3YxwHqfaXqlEQ5O7-AjAcWvHz2TcDIYp99dKzwXeGqp5c4aQNcUIk4EXeaNZ5Hcjx53CNLpDuOGm8/s320/ip+tracer2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;font-family: Arial; font-size: 18px; margin: 0px 0px 12px;&quot;&gt;


IP Tracer? What is the benefit?&lt;/h2&gt;
&lt;div style=&quot;font-family: Arial; font-size: 12px; line-height: 1.5em;&quot;&gt;
Using the IP tracer or &lt;a href=&quot;http://adf.ly/6rGw1&quot; target=&quot;_blank&quot;&gt;IP lookup&lt;/a&gt; tool on IP-Adress.com will allow you to trace the origin of an IP address back to the original source.&lt;br /&gt;
The IP locator tool helps to identify the IP address in question by searching for it with our online-based IP tracing tool.&lt;br /&gt;
Our &lt;b&gt;IP lookup&lt;/b&gt; can help trace an IP address anywhere in the world and provide further details for your query.&lt;br /&gt;
No matter what you call it, an IP tracer, IP locator, and IP lookup are referencing the same tool like the one we provide here on our website. The tool is easy to use and has a very high accuracy rate for tracing an IP address online, no matter the location you are searching for.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 class=&quot;separator&quot; style=&quot;clear: both; font-weight: normal; text-align: center;&quot;&gt;


&amp;nbsp;&amp;nbsp;Get Your&amp;nbsp;&amp;nbsp;:-&amp;nbsp; &lt;a href=&quot;http://adf.ly/7gJRJ&quot; target=&quot;_blank&quot;&gt;Source Code&lt;/a&gt;&lt;/h2&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://visualstudiosource.blogspot.com/feeds/1828622038063646113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://visualstudiosource.blogspot.com/2012/03/ip-tracer-what-is-benefit-using-ip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4331087195124137128/posts/default/1828622038063646113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4331087195124137128/posts/default/1828622038063646113'/><link rel='alternate' type='text/html' href='http://visualstudiosource.blogspot.com/2012/03/ip-tracer-what-is-benefit-using-ip.html' title='ip tracer and map'/><author><name>A$@d</name><uri>http://www.blogger.com/profile/10812762256163940257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1HyxzDSwcrd21awtl5sHYSVtKq9GsPLpys3HcJTIL581hLHS7auE20OE-bgcE0HGIKhnMzlh1_PnhwFuIB8-6bOAJcjTOw7fcg2qon8F1Hd9rJYEaRoprsYrUI8z_G4ogkObO2FKlYQCA/s72-c/Ip+tracer+1.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Pakistan</georss:featurename><georss:point>30.375321 69.345115999999962</georss:point><georss:box>23.6806145 60.864385999999961 37.0700275 77.825845999999956</georss:box></entry><entry><id>tag:blogger.com,1999:blog-4331087195124137128.post-6590104711092903561</id><published>2012-03-11T14:33:00.000-07:00</published><updated>2012-03-11T14:33:27.796-07:00</updated><title type='text'>Add a Google Map to a VB Desktop Application</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0XauT1O234RVZcuODgfKbE_-dMdsM-gW4qnEu1n6B5GAN7toxDnVF-H74Q0ZxXVk8D84yMDabHJFpBL0py5RauyX4yrHtzXUkw-fHYnUiKorjYC5bRLIkM4ODFekYVAS10QWqYBXkBar5/s1600/Image1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0XauT1O234RVZcuODgfKbE_-dMdsM-gW4qnEu1n6B5GAN7toxDnVF-H74Q0ZxXVk8D84yMDabHJFpBL0py5RauyX4yrHtzXUkw-fHYnUiKorjYC5bRLIkM4ODFekYVAS10QWqYBXkBar5/s320/Image1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfpJ7O94CmowTR2KyUoYO9wNWIVRWkJpZaZ4tOAD89MHLsOS5p1mKl2j-q0J5EjYEZ_A7M5cAjZ9_vibW6VVEW1E4RTiLobnnCl5MKVPuPVYtWe1ate5tM7at9ZBZWfLAkQzrWMCHt3sZI/s1600/Image2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;236&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfpJ7O94CmowTR2KyUoYO9wNWIVRWkJpZaZ4tOAD89MHLsOS5p1mKl2j-q0J5EjYEZ_A7M5cAjZ9_vibW6VVEW1E4RTiLobnnCl5MKVPuPVYtWe1ate5tM7at9ZBZWfLAkQzrWMCHt3sZI/s320/Image2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNYERcSBkxiK0DbV1LhUTojLDW7vIF5R_FPkFtrfIecmrphr5SQlqq98aiEUjKUdXjKSnS2BzGyytxYIHXOyidD6PQEWDUpKlmd4ybxZFpelBDK-0YTCbzlLyg1SZZ0vPWHXxF-_ap40Mg/s1600/Image3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNYERcSBkxiK0DbV1LhUTojLDW7vIF5R_FPkFtrfIecmrphr5SQlqq98aiEUjKUdXjKSnS2BzGyytxYIHXOyidD6PQEWDUpKlmd4ybxZFpelBDK-0YTCbzlLyg1SZZ0vPWHXxF-_ap40Mg/s1600/Image3.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;Code:&amp;nbsp;&amp;nbsp;Form 1&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;The form 1 class starts out with the default class declaration.&amp;nbsp;An import statement was added to pull in the&amp;nbsp;&lt;b&gt;&lt;i&gt;System.Text&lt;/i&gt;&lt;/b&gt;&amp;nbsp;library; this is required to support the use of string builders within the application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana; font-size: 10pt;&quot;&gt;Imports&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;System.Text&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: blue; font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;Public&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Class&lt;/span&gt;&amp;nbsp;Form1&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;Following the class declaration, the next bit of code in the class is used to handle the button click event that requests a map of a physical address from Google Maps; that code is as follows:&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green; font-family: Verdana; font-size: 10pt;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;lt;summary&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39; Map a physical address&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/summary&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;param name=&quot;e&quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&amp;nbsp;btnMapIt_Click(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;&amp;nbsp;sender&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;System.Object,&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;&amp;nbsp;e&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;System.EventArgs)&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt;&amp;nbsp;btnMapIt.Click&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;street&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;city&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;state&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;zip&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;queryAddress&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;&amp;nbsp;StringBuilder()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;queryAddress.Append(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;http://maps.google.com/maps?q=&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;&#39; build street part of query string&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&amp;nbsp;txtStreet.Text &amp;lt;&amp;gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;street = txtStreet.Text.Replace(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot; &quot;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;+&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;queryAddress.Append(street +&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;,&quot;&lt;/span&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;+&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;&#39; build city part of query string&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&amp;nbsp;txtCity.Text &amp;lt;&amp;gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;city = txtCity.Text.Replace(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot; &quot;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;+&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;queryAddress.Append(city +&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;,&quot;&lt;/span&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;+&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;&#39; build state part of query string&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&amp;nbsp;txtState.Text &amp;lt;&amp;gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;state = txtState.Text.Replace(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot; &quot;&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;+&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;queryAddress.Append(state +&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;,&quot;&lt;/span&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;+&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;&#39; build zip code part of query string&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&amp;nbsp;txtZipCode.Text &amp;lt;&amp;gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;zip = txtZipCode.Text.ToString()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;queryAddress.Append(zip)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;&#39; pass the url with the query string to web browser control&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;webBrowser1.Navigate(queryAddress.ToString())&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Catch&lt;/span&gt;&amp;nbsp;ex&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;Exception&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MessageBox.Show(ex.Message.ToString(),&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Unable to Retrieve Map&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;A quick examination of this code reveals that the contents of the text boxes used to define the physical address are captured from the form and used to populate variables local to the event handler.&amp;nbsp;A string builder is used to build the URL and query string.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;Once the string builder is initialized, the first part of the URL is appended to it.&amp;nbsp;As each additional section of the address is conditioned for use in the query string, it too is appended to the query string.&amp;nbsp;Once the string is defined, it is passed to the web browser control as its navigate URL.&amp;nbsp;At that point, the web browser will display the address if it can be found or will summon Goggle Maps with optional selections used to narrow down to a single address.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;The next bit of code in the application performs a similar function with Latitudes and Longitudes; the click event handler for the button is used to evoke the map based upon the user supplied lat/long values.&amp;nbsp;That code is as follows:&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;color: green; font-family: Verdana; font-size: 10pt;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: green; font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39; Map a location by latitude and longitude&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/summary&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;param name=&quot;sender&quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;param name=&quot;e&quot;&amp;gt;&amp;lt;/param&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;&#39;&#39;&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&amp;nbsp;btnMapLatLong_Click(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;&amp;nbsp;sender&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;System.Object,&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;&amp;nbsp;e&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;System.EventArgs)&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt;&amp;nbsp;btnMapLatLong.Click&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&amp;nbsp;txtLat.Text =&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Or&lt;/span&gt;&amp;nbsp;txtLong.Text =&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MessageBox.Show(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Supply a latitude and longitude value.&quot;&lt;/span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Missing Data&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;lat&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;lon&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;&amp;nbsp;=&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;&amp;nbsp;queryAddress&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;&amp;nbsp;StringBuilder()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;queryAddress.Append(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;http://maps.google.com/maps?q=&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;&#39; build latitude part of query string&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&amp;nbsp;txtLat.Text &amp;lt;&amp;gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lat = txtLat.Text&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;queryAddress.Append(lat +&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;%2C&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: green;&quot;&gt;&#39; build longitude part of query string&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&amp;nbsp;txtLong.Text &amp;lt;&amp;gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Then&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lon = txtLong.Text&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;queryAddress.Append(lon)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;If&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;webBrowser1.Navigate(queryAddress.ToString())&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Catch&lt;/span&gt;&amp;nbsp;ex&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;&amp;nbsp;Exception&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MessageBox.Show(ex.Message.ToString(),&amp;nbsp;&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Error&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-family: verdana; font-size: small; margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana; font-size: 10pt; line-height: 14px;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://visualstudiosource.blogspot.com/feeds/6590104711092903561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://visualstudiosource.blogspot.com/2012/03/add-google-map-to-vb-desktop.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4331087195124137128/posts/default/6590104711092903561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4331087195124137128/posts/default/6590104711092903561'/><link rel='alternate' type='text/html' href='http://visualstudiosource.blogspot.com/2012/03/add-google-map-to-vb-desktop.html' title='Add a Google Map to a VB Desktop Application'/><author><name>A$@d</name><uri>http://www.blogger.com/profile/10812762256163940257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0XauT1O234RVZcuODgfKbE_-dMdsM-gW4qnEu1n6B5GAN7toxDnVF-H74Q0ZxXVk8D84yMDabHJFpBL0py5RauyX4yrHtzXUkw-fHYnUiKorjYC5bRLIkM4ODFekYVAS10QWqYBXkBar5/s72-c/Image1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4331087195124137128.post-6059843314098606807</id><published>2012-03-11T13:49:00.003-07:00</published><updated>2012-03-11T13:49:23.675-07:00</updated><title type='text'>A simple calculator</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh73tfVkqtAZMKuv-t1QVEW6C-DAP7PXqGxg7ZoKv1wKKgYWzBkRGuRFy8QJHFWFUL6mz4ZtQwbMlJ5Gw8gM5YWR6MDBSeu5ajK8POY8RoKZ4eXeMVfDpzonD2bwVEyAxnpTmL_qQj0oeqC/s1600/image001.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;246&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh73tfVkqtAZMKuv-t1QVEW6C-DAP7PXqGxg7ZoKv1wKKgYWzBkRGuRFy8QJHFWFUL6mz4ZtQwbMlJ5Gw8gM5YWR6MDBSeu5ajK8POY8RoKZ4eXeMVfDpzonD2bwVEyAxnpTmL_qQj0oeqC/s320/image001.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
please help me to finish this calc.&lt;br /&gt;
this calc.&#39;s work, but when i do this &amp;lt; 1 + 1 * 2 &amp;gt; or i should say when using other operations it stops working. here&#39;s my code:&lt;br /&gt;
Public Class Form1&lt;br /&gt;
Dim num1, num2 As Integer&lt;br /&gt;
Dim opr As String&lt;br /&gt;
&lt;br /&gt;
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn0.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;0&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn1.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;1&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn2.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;2&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn3.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;3&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btn4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn4.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;4&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btn5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn5.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;5&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btn6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn6.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;6&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btn7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn7.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;7&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btn8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn8.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;8&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btn9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn9.Click&lt;br /&gt;
lbl1.Text = lbl1.Text &amp;amp; &quot;9&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btnclear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnclear.Click&lt;br /&gt;
lbl1.Text = &quot;&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btnadd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnadd.Click&lt;br /&gt;
num1 = Val(lbl1.Text)&lt;br /&gt;
opr = &quot;+&quot;&lt;br /&gt;
lbl1.Text = &quot;&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btnsubtract_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsubtract.Click&lt;br /&gt;
num1 = Val(lbl1.Text)&lt;br /&gt;
opr = &quot;-&quot;&lt;br /&gt;
lbl1.Text = &quot;&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btnmultiply_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnmultiply.Click&lt;br /&gt;
num1 = Val(lbl1.Text)&lt;br /&gt;
opr = &quot;*&quot;&lt;br /&gt;
lbl1.Text = &quot;&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btndivide_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btndivide.Click&lt;br /&gt;
num1 = Val(lbl1.Text)&lt;br /&gt;
opr = &quot;/&quot;&lt;br /&gt;
lbl1.Text = &quot;&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub btnequals_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnequals.Click&lt;br /&gt;
num2 = Val(lbl1.Text)&lt;br /&gt;
Select Case opr&lt;br /&gt;
Case &quot;+&quot; : lbl1.Text = num1 + num2&lt;br /&gt;
Case &quot;-&quot; : lbl1.Text = num1 - num2&lt;br /&gt;
Case &quot;*&quot; : lbl1.Text = num1 * num2&lt;br /&gt;
Case &quot;/&quot; : lbl1.Text = num1 / num2&lt;br /&gt;
End Select&lt;br /&gt;
&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub lbl1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lbl1.Click&lt;br /&gt;
lbl1.Text = &quot;&quot;&lt;br /&gt;
End Sub&lt;br /&gt;
End Class&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://visualstudiosource.blogspot.com/feeds/6059843314098606807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://visualstudiosource.blogspot.com/2012/03/simple-calculator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4331087195124137128/posts/default/6059843314098606807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4331087195124137128/posts/default/6059843314098606807'/><link rel='alternate' type='text/html' href='http://visualstudiosource.blogspot.com/2012/03/simple-calculator.html' title='A simple calculator'/><author><name>A$@d</name><uri>http://www.blogger.com/profile/10812762256163940257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh73tfVkqtAZMKuv-t1QVEW6C-DAP7PXqGxg7ZoKv1wKKgYWzBkRGuRFy8QJHFWFUL6mz4ZtQwbMlJ5Gw8gM5YWR6MDBSeu5ajK8POY8RoKZ4eXeMVfDpzonD2bwVEyAxnpTmL_qQj0oeqC/s72-c/image001.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4331087195124137128.post-5136415669726446470</id><published>2012-03-11T13:39:00.000-07:00</published><updated>2012-03-11T13:39:25.368-07:00</updated><title type='text'>auto complete combobox control</title><content type='html'>Option Strict On&lt;br /&gt;
Option Explicit On &lt;br /&gt;
&lt;br /&gt;
Imports System.Windows.Forms&lt;br /&gt;
Public Class AutoCompleteCombo&lt;br /&gt;
    Inherits ComboBox&lt;br /&gt;
    Private mResetOnClear As Boolean = False&lt;br /&gt;
&lt;br /&gt;
    Protected Overrides Sub RefreshItem(ByVal index As Integer)&lt;br /&gt;
        MyBase.RefreshItem(index)&lt;br /&gt;
    End Sub&lt;br /&gt;
&lt;br /&gt;
    Protected Overrides Sub SetItemsCore(ByVal items As System.Collections.IList)&lt;br /&gt;
        MyBase.SetItemsCore(items)&lt;br /&gt;
    End Sub&lt;br /&gt;
&lt;br /&gt;
    Public Shadows Sub KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles MyBase.KeyPress&lt;br /&gt;
        Dim intIndex As Integer&lt;br /&gt;
        Dim strEntry As String&lt;br /&gt;
&lt;br /&gt;
        If Char.IsControl(e.KeyChar) Then&lt;br /&gt;
            If MyBase.SelectionStart &lt;= 1 Then
                If mResetOnClear Then
                    MyBase.SelectedIndex = 0
                    MyBase.SelectAll()
                Else
                    MyBase.Text = String.Empty
                    MyBase.SelectedIndex = -1
                End If
                e.Handled = True
                Exit Sub
            End If
            If MyBase.SelectionLength = 0 Then
                strEntry = MyBase.Text.Substring(0, MyBase.Text.Length - 1)
            Else
                strEntry = MyBase.Text.Substring(0, MyBase.SelectionStart - 1)
            End If
        ElseIf (Not Char.IsLetterOrDigit(e.KeyChar)) And (Not Char.IsWhiteSpace(e.KeyChar)) Then  &#39;&lt; 32 Or KeyAscii &gt; 127 Then&lt;br /&gt;
            Exit Sub&lt;br /&gt;
        Else&lt;br /&gt;
            If MyBase.SelectionLength = 0 Then&lt;br /&gt;
                strEntry = UCase(MyBase.Text &amp; e.KeyChar)&lt;br /&gt;
            Else&lt;br /&gt;
                strEntry = MyBase.Text.Substring(0, MyBase.SelectionStart) &amp; e.KeyChar&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
&lt;br /&gt;
        intIndex = MyBase.FindString(strEntry)&lt;br /&gt;
&lt;br /&gt;
        If intIndex &lt;&gt; -1 Then&lt;br /&gt;
            MyBase.SelectedIndex = intIndex&lt;br /&gt;
            MyBase.SelectionStart = strEntry.Length&lt;br /&gt;
            MyBase.SelectionLength = MyBase.Text.Length - MyBase.SelectionStart&lt;br /&gt;
        End If&lt;br /&gt;
        e.Handled = True&lt;br /&gt;
        Exit Sub&lt;br /&gt;
    End Sub&lt;br /&gt;
&lt;br /&gt;
    Public Property ResetOnClear() As Boolean&lt;br /&gt;
        Get&lt;br /&gt;
            Return mResetOnClear&lt;br /&gt;
        End Get&lt;br /&gt;
        Set(ByVal Value As Boolean)&lt;br /&gt;
            mResetOnClear = Value&lt;br /&gt;
        End Set&lt;br /&gt;
    End Property&lt;br /&gt;
End Class</content><link rel='replies' type='application/atom+xml' href='http://visualstudiosource.blogspot.com/feeds/5136415669726446470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://visualstudiosource.blogspot.com/2012/03/auto-complete-combobox-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4331087195124137128/posts/default/5136415669726446470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4331087195124137128/posts/default/5136415669726446470'/><link rel='alternate' type='text/html' href='http://visualstudiosource.blogspot.com/2012/03/auto-complete-combobox-control.html' title='auto complete combobox control'/><author><name>A$@d</name><uri>http://www.blogger.com/profile/10812762256163940257</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>