<?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-3170632418156363353</id><updated>2025-04-29T04:46:42.084-07:00</updated><title type='text'>GIS 101</title><subtitle type='html'>Writting GIS and Mapping software in VB.net and using MapWindow ActiveX Controls.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hilary-mushonga.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3170632418156363353/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hilary-mushonga.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Hilary Takudzwa Mushonga</name><uri>http://www.blogger.com/profile/09130857424955211654</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmRfthfKKDO7hKlKad03kB_F-neFGR-2CEw46WSbO7l7Hbt7aOWVbnKgxVDqctVW-EDwzbH5ccDkewoKb2GWFakVZlN59fK_X-1jegtgAn2nd6wUxw-4bFi5b-CKaHABc/s113/hilary.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3170632418156363353.post-2091641485260944813</id><published>2011-02-18T02:59:00.000-08:00</published><updated>2012-11-08T03:45:00.126-08:00</updated><title type='text'>Build a Desktop GIS Application Using MapWinGIS and vb.net - Part 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;u&gt;This tutorial seeks to introduce beginners to the development of desktop applications using MapWinGIS and vb.net&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
The MapWindow ActiveX controls setup file can be downloaded from the&amp;nbsp;&lt;a href=&quot;http://www.mapwindow.org/downloads/index.php?show_details=2&quot;&gt;MapWindow download page&lt;/a&gt;&amp;nbsp;. After installation of the ActiveX controls you should now add the controls to the visual studio toolbox, to add the map control to the the visual studio tool box you right click on you tool box and select the &quot;Choose items&quot; from the pop up menu strip, click on the&amp;nbsp;COM components tab from the dialog box that appears. then select &quot;map control from the list of&amp;nbsp;COM components&amp;nbsp;and add it. the map&amp;nbsp;control now appears on your tool box and can be added to your forms as any other control.&lt;br /&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/AVvXsEj-9L6nIzBMy88IdQgc1BdPFTeds7uwUgWvgG9qzCoeN8_EOPTOd6NqL7BrhoBeF3bZ90xuM4HfD2CNPKPfwT9LscMH8N4Ud04MKAjM7OcLD2sj2pn-dgFcnNQAFe4XASMxrGfhEv0M07g/s1600/map.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; j6=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-9L6nIzBMy88IdQgc1BdPFTeds7uwUgWvgG9qzCoeN8_EOPTOd6NqL7BrhoBeF3bZ90xuM4HfD2CNPKPfwT9LscMH8N4Ud04MKAjM7OcLD2sj2pn-dgFcnNQAFe4XASMxrGfhEv0M07g/s1600/map.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
The application can then be created by following these steps&lt;br /&gt;
1.&amp;nbsp;Add the the map control to a form and name it appropriately (e.g mapMain)&lt;br /&gt;
2. Add five buttons to your form and name them as btnZoomIn, btnZoomOut, btnPan, btnZoomFullExtent and btnAdd, as shown below&lt;br /&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/AVvXsEhCzdoq9zkauj3mUbAue2Ho24E0QZIkcNmWmOw6U5VUutaFIVXgFY4IDSoRdEdA9eh5S3qNG3_3W5qLGcB9PEG_qONpYtO09TDGNigoDs9Pf7qfrYnA73XGkAB9zWCE2bx8GMgw_n7sDS8/s1600/viewer.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;199&quot; j6=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCzdoq9zkauj3mUbAue2Ho24E0QZIkcNmWmOw6U5VUutaFIVXgFY4IDSoRdEdA9eh5S3qNG3_3W5qLGcB9PEG_qONpYtO09TDGNigoDs9Pf7qfrYnA73XGkAB9zWCE2bx8GMgw_n7sDS8/s320/viewer.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
3. You now have to add code to the click events of each Button and these are as follows&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;*for the add layer Button the code is as follows&lt;/u&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/AVvXsEhJlea8YIfE4hHgwoGb10uQSqB3txcLIi9QXL1r-z9eAUn7zB35WGmZGYqqeZfK0oenoIuZlK2OXNkj7U8NHFD0VaIM5L_IBUZBo3riBhuzCQI6gXguLBdHnKptha5Dv8cBxyd7NbgCVQI/s1600/add.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/AVvXsEhJlea8YIfE4hHgwoGb10uQSqB3txcLIi9QXL1r-z9eAUn7zB35WGmZGYqqeZfK0oenoIuZlK2OXNkj7U8NHFD0VaIM5L_IBUZBo3riBhuzCQI6gXguLBdHnKptha5Dv8cBxyd7NbgCVQI/s1600/add.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;u&gt;*for the zoom to full extent the code is as follows&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNh4SypxnBS-0sNNLJ156AGzg9RL7yVhX-EKwDbGtQ5sINm_JvN-3YNvtCZItq8AdyGHh93ZTNCecMb21PrdnCcOMV9HY-oQ4QIC6JS83Aoryo0lgCVIs61cdC6ZGi7BXTx2srRTTTPLg/s1600/full.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; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNh4SypxnBS-0sNNLJ156AGzg9RL7yVhX-EKwDbGtQ5sINm_JvN-3YNvtCZItq8AdyGHh93ZTNCecMb21PrdnCcOMV9HY-oQ4QIC6JS83Aoryo0lgCVIs61cdC6ZGi7BXTx2srRTTTPLg/s1600/full.JPG&quot; /&gt;&lt;/a&gt; &lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;*for the zoom&amp;nbsp;out the code is as follows&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&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/AVvXsEjxF4qV1CXKO1PaYiedbjEXUi0SxdtEq-NIo53Vullp0tQVnt4EnnD_RiXb4I09990sm-5CitV1yQXbJ7nmMTJgjrIS7f7mGJOiKynSYYBGVLpCrjTfKrx6Qg7i1hfrWkSJlWgmX92KwR0/s1600/zoom+in.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/AVvXsEjxF4qV1CXKO1PaYiedbjEXUi0SxdtEq-NIo53Vullp0tQVnt4EnnD_RiXb4I09990sm-5CitV1yQXbJ7nmMTJgjrIS7f7mGJOiKynSYYBGVLpCrjTfKrx6Qg7i1hfrWkSJlWgmX92KwR0/s1600/zoom+in.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;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;font-size: small;&quot;&gt;*for the&amp;nbsp;zoom in &amp;nbsp;the code is as follows&lt;/span&gt;&lt;/u&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/AVvXsEgpDozxQNaz8fU-5IRZMAtrOTaPunEJGr7eKlMLEyw6BHRgtfe7QxfFqQELy84vloMeK437PVKuri8cRHvTQrRc-8ggEB4Ct1E4nD6IS-o3SkrAQW3I0m4-6DUFg1616qqpQ5miLcUwWzQ/s1600/zoom+out.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/AVvXsEgpDozxQNaz8fU-5IRZMAtrOTaPunEJGr7eKlMLEyw6BHRgtfe7QxfFqQELy84vloMeK437PVKuri8cRHvTQrRc-8ggEB4Ct1E4nD6IS-o3SkrAQW3I0m4-6DUFg1616qqpQ5miLcUwWzQ/s1600/zoom+out.JPG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;The final application interface is as follows:&lt;br /&gt;
&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;u&gt;&lt;/u&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7u6gMzb-WYG6S8XyW1dDRMNxQ4p4Bkpx9n1Ahlr3dC3_TkMNdk5hgx93uthC1iH_2vGEy7b-dZ-U_gCmyj6DqepqhgRhHMxOlx9fihpVEmJp4pEb579DQqEgW08idDRZtyF8k0PJ5N0Y/s1600/appli.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;197&quot; j6=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7u6gMzb-WYG6S8XyW1dDRMNxQ4p4Bkpx9n1Ahlr3dC3_TkMNdk5hgx93uthC1iH_2vGEy7b-dZ-U_gCmyj6DqepqhgRhHMxOlx9fihpVEmJp4pEb579DQqEgW08idDRZtyF8k0PJ5N0Y/s320/appli.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hilary-mushonga.blogspot.com/feeds/2091641485260944813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hilary-mushonga.blogspot.com/2011/02/creating-application-with-basic-gis.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3170632418156363353/posts/default/2091641485260944813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3170632418156363353/posts/default/2091641485260944813'/><link rel='alternate' type='text/html' href='http://hilary-mushonga.blogspot.com/2011/02/creating-application-with-basic-gis.html' title='Build a Desktop GIS Application Using MapWinGIS and vb.net - Part 1'/><author><name>Hilary Takudzwa Mushonga</name><uri>http://www.blogger.com/profile/09130857424955211654</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmRfthfKKDO7hKlKad03kB_F-neFGR-2CEw46WSbO7l7Hbt7aOWVbnKgxVDqctVW-EDwzbH5ccDkewoKb2GWFakVZlN59fK_X-1jegtgAn2nd6wUxw-4bFi5b-CKaHABc/s113/hilary.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-9L6nIzBMy88IdQgc1BdPFTeds7uwUgWvgG9qzCoeN8_EOPTOd6NqL7BrhoBeF3bZ90xuM4HfD2CNPKPfwT9LscMH8N4Ud04MKAjM7OcLD2sj2pn-dgFcnNQAFe4XASMxrGfhEv0M07g/s72-c/map.JPG" height="72" width="72"/><thr:total>9</thr:total></entry></feed>