<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>mapwindow6 Discussions Rss Feed</title><link>http://mapwindow6.codeplex.com/Thread/List.aspx</link><description>mapwindow6 Discussions Rss Description</description><item><title>New Post: combining MW6 and DotSpatial</title><link>http://mapwindow6.codeplex.com/discussions/444393</link><description>&lt;div style="line-height: normal;"&gt;I have tried to combine the latest MapWindow 6 source (mapwindow6-81799) to work with the latest DotSpatial source (dotspatial-72007) &lt;br /&gt;
but no success. I am using  Windows 8, VS2012, fw4.0 client, anycpu. I read &amp;quot;How to Build.txt&amp;quot;.&lt;br /&gt;
Builds with no errors but when launching MW6 app the followings errors keep occurring:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Skipping extension DotSpatila.Plugins.Ribbon, Version=1.0.0, Culture=neutral, PublicKeyToken=null. Could not load file or assembly 'DotSpatila.Data, Version=6.11.9.6, Culture=neutral, PublicKeyToken=c29dbf30e059ca9d' or one of its dependencies. The system cannot find the file specified.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Please for any suggestion.&lt;br /&gt;
&lt;br /&gt;
regards, vzavec&lt;br /&gt;
&lt;/div&gt;</description><author>vzavec</author><pubDate>Tue, 21 May 2013 09:58:30 GMT</pubDate><guid isPermaLink="false">New Post: combining MW6 and DotSpatial 20130521095830A</guid></item><item><title>New Post: create a plugin with VB.net</title><link>http://mapwindow6.codeplex.com/discussions/444149</link><description>&lt;div style="line-height: normal;"&gt;Hi all,&lt;br /&gt;
a month ago I started to use MapWindow and I appreciated much for its simplicity and speed, now I want to create some plugins, help me please because I tried codes and tutorials existing on the forum but it did not work&lt;br /&gt;
&lt;/div&gt;</description><author>achraf0A1</author><pubDate>Sat, 18 May 2013 17:03:29 GMT</pubDate><guid isPermaLink="false">New Post: create a plugin with VB.net 20130518050329P</guid></item><item><title>New Post: Error with mapwindow 6.dll components</title><link>http://mapwindow6.codeplex.com/discussions/441124</link><description>&lt;div style="line-height: normal;"&gt;Hi &lt;br /&gt;
&lt;br /&gt;
I'm trying to use mapwindow6.dll in my visual studio gis application and each time I want to run my application , the following error shows up &lt;br /&gt;
&lt;br /&gt;
&amp;quot;Could not load file or assembly 'MapWindow, Version=6.0.0.0, Culture=neutral, PublicKeyToken=ca60e6823c3a6ee5' or one of its dependencies. Le fichier spécifié est introuvable.&amp;quot; I have no idea about how to solve this especially that I need this work in my studies.&lt;br /&gt;
&lt;br /&gt;
Thank you&lt;br /&gt;
&lt;/div&gt;</description><author>Luffy16</author><pubDate>Mon, 22 Apr 2013 09:47:34 GMT</pubDate><guid isPermaLink="false">New Post: Error with mapwindow 6.dll components 20130422094734A</guid></item><item><title>New Post: RIBBON EXTENSION ISSUES</title><link>http://mapwindow6.codeplex.com/discussions/432051</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Dear Sirs,&lt;/p&gt;
&lt;p&gt;I have issues with my developments. I am using a user control as a view (via CWinFormsView) in my MFC program and I want to load Ribbon extensions. I have tried to follow the examples but The followings errors keep occurring.&lt;br /&gt;
Downloading a Ribbon extension...&lt;br /&gt;
Downloading a Dockmanager extension...&lt;br /&gt;
Downloading a Menubar extension...&lt;br /&gt;
Then&lt;br /&gt;
A IDockManager extension must be included because a UI plugin was found. See &lt;a href="http://wp.me/Svy5A-2v" rel="nofollow"&gt;http://wp.me/Svy5A-2v&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A IHeaderControl extension must be included because a UI plugin was found. See &lt;a href="http://wp.me/Svy5A" rel="nofollow"&gt;http://wp.me/Svy5A&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A IStatusControl extension must be included because a UI plugin was found. See &lt;a href="http://wp.me/Svy5A-2v-2v" rel="nofollow"&gt;http://wp.me/Svy5A-2v-2v&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have gone through the tutorials in the above link.&lt;/p&gt;
&lt;p&gt;The map loads normally afterwards but no ribbons and no menu. I am finding it hard so I will appreciate help from you.&lt;/p&gt;
&lt;p&gt;I have these in my c# map module:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    [Export(&amp;quot;Shell&amp;quot;, typeof(ContainerControl))]
    private static ContainerControl Shell;

    public UserControl1()
    {
        InitializeComponent();
        Shell = this;
        appManager1.LoadExtensions();
    }&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Kehinde Isijola&lt;/p&gt;
&lt;/div&gt;</description><author>Kehindeoaisijola</author><pubDate>Tue, 05 Feb 2013 15:41:34 GMT</pubDate><guid isPermaLink="false">New Post: RIBBON EXTENSION ISSUES 20130205034134P</guid></item><item><title>New Post: Crash using API when loading multiple layers</title><link>http://mapwindow6.codeplex.com/discussions/429403</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I have tried to use the API and integrates in my application the &amp;quot;.AddLayer()&amp;quot; functionnality.&lt;/p&gt;
&lt;p&gt;Sometimes, when loading two or more layers, I have crash of the application.&lt;/p&gt;
&lt;/div&gt;</description><author>jjmonot</author><pubDate>Sat, 12 Jan 2013 19:03:55 GMT</pubDate><guid isPermaLink="false">New Post: Crash using API when loading multiple layers 20130112070355P</guid></item><item><title>New Post: Crash when launching Mapwindow 6 </title><link>http://mapwindow6.codeplex.com/discussions/429402</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I have downloaded MapWindow 6 from http://mapwindow6.codeplex.com/releases/view/87874.&lt;/p&gt;
&lt;p&gt;With the two types of download (61.2. zip or installer), I have the same problem : it crashes at startup on my W7 PC.&lt;/p&gt;
&lt;p&gt;The problem occurs in the &amp;quot;Loading extensions ....&amp;quot; phase.&lt;/p&gt;
&lt;p&gt;I have tried also the 6.1.1 zip file, but I have the same problem....&lt;/p&gt;
&lt;/div&gt;</description><author>jjmonot</author><pubDate>Sat, 12 Jan 2013 19:00:54 GMT</pubDate><guid isPermaLink="false">New Post: Crash when launching Mapwindow 6  20130112070054P</guid></item><item><title>New Post: Fetching attribute values</title><link>http://mapwindow6.codeplex.com/discussions/428342</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am developing an application with C# as code , here I am using Dotspatial map for display of S-57 data set.&lt;/p&gt;
&lt;p&gt;It is working fine but when i click on map selection change I need to get the attribute values .&lt;/p&gt;
&lt;p&gt;If any one did similar&amp;nbsp;functionality&amp;nbsp;do share me some sample code...&lt;/p&gt;
&lt;/div&gt;</description><author>nkhl3059</author><pubDate>Thu, 03 Jan 2013 06:24:03 GMT</pubDate><guid isPermaLink="false">New Post: Fetching attribute values 20130103062403A</guid></item><item><title>New Post: Rotate labels to follow lines</title><link>http://mapwindow6.codeplex.com/discussions/405082</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Disclaminer: I just downloaded this program yesterday!&lt;br&gt;
Question: is there a way to rotate labels to align with lines?&amp;nbsp; I'm used to ESRI where I can place one label that curves, or is at least parallel to&amp;nbsp;a road centerline and I can remove duplicate labels.&amp;nbsp; Any such thing in MapWindow 6?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;/div&gt;</description><author>ngouk</author><pubDate>Fri, 30 Nov 2012 00:44:49 GMT</pubDate><guid isPermaLink="false">New Post: Rotate labels to follow lines 20121130124449A</guid></item><item><title>New Post: Windows 8 - not running</title><link>http://mapwindow6.codeplex.com/discussions/401796</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;&lt;span lang="EN-AU"&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;FYI: I just installed and ran &amp;quot;MapWindow 6.1.2&amp;quot; on Win8 Pro (64bit) without a hitch.&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>Neverlyn</author><pubDate>Tue, 20 Nov 2012 05:12:07 GMT</pubDate><guid isPermaLink="false">New Post: Windows 8 - not running 20121120051207A</guid></item><item><title>New Post: Windows 8 - not running</title><link>http://mapwindow6.codeplex.com/discussions/401796</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I tried to install MapWindow in Windows 8 Home - 64bit and it will not run.&lt;/p&gt;
&lt;p&gt;I also tried to run it under Windows 7 compatibility mode and it still wont run.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thought I would post :)&lt;/p&gt;
&lt;/div&gt;</description><author>cgishack</author><pubDate>Sun, 04 Nov 2012 01:15:56 GMT</pubDate><guid isPermaLink="false">New Post: Windows 8 - not running 20121104011556A</guid></item><item><title>New Post: How to retrieve all fieldnames of a shape into a combobox..?</title><link>http://mapwindow6.codeplex.com/discussions/395679</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Well found the solution .... &amp;nbsp;I would have posted it here but better go to the dotspatial site... &amp;nbsp;forum&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thx..&lt;/p&gt;&lt;/div&gt;</description><author>Joska</author><pubDate>Wed, 19 Sep 2012 03:27:40 GMT</pubDate><guid isPermaLink="false">New Post: How to retrieve all fieldnames of a shape into a combobox..? 20120919032740A</guid></item><item><title>New Post: How to retrieve all fieldnames of a shape into a combobox..?</title><link>http://mapwindow6.codeplex.com/discussions/395679</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hellor readers, this is my question&lt;/p&gt;
&lt;p&gt;How to retrieve all fieldnames of a shape into a combobox..?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I found a possible solution at the 7th tutorial doc&amp;nbsp;Shape file label operations~ Tutorial (7)&lt;/p&gt;
&lt;p&gt;But&lt;/p&gt;
&lt;p&gt;I used the code and did the NET4.0 instruction, but this isnt working yet, it generates 2 errors, one in each sub.... 1) Access..... through qualifying expression will not be evaluated AND 2) data is not a member of Dotspatial.Data.Featureset....&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any ideas to give me some direction......... i will first try to solve the 2nd one..... It feels it may have to do with most examples available being outdated but even that I am not sure of....&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;Private&lt;/span&gt; &lt;span style="color:blue"&gt;Sub&lt;/span&gt; CheckedListBoxGEBOUWENshape_SelectedIndexChanged(&lt;span style="color:blue"&gt;ByVal&lt;/span&gt; sender &lt;span style="color:blue"&gt;As&lt;/span&gt; System.Object, &lt;span style="color:blue"&gt;ByVal&lt;/span&gt; e &lt;span style="color:blue"&gt;As&lt;/span&gt; System.EventArgs) &lt;span style="color:blue"&gt;Handles&lt;/span&gt; CheckedListBoxGEBOUWENshape.SelectedIndexChanged

        &lt;span style="color:green"&gt;'Clear the existing layers from the map control&lt;/span&gt;
        &lt;span style="color:blue"&gt;If&lt;/span&gt; (myVenster.Layers.&lt;span style="color:blue"&gt;Count&lt;/span&gt; &amp;gt; 0) &lt;span style="color:blue"&gt;Then&lt;/span&gt;
            myVenster.Layers.Clear()
        &lt;span style="color:blue"&gt;End&lt;/span&gt; &lt;span style="color:blue"&gt;If&lt;/span&gt;
        &lt;span style="color:green"&gt;'Clear the exisiting items from the combobox&lt;/span&gt;
        ComboBoxAdressenAttributen.Items.Clear()

        &lt;span style="color:blue"&gt;Dim&lt;/span&gt; fileDialog &lt;span style="color:blue"&gt;As&lt;/span&gt; &lt;span style="color:blue"&gt;New&lt;/span&gt; OpenFileDialog()
        FileDialog.Filter = &lt;span style="color:#a31515"&gt;&amp;quot;Shapefiles|*.shp&amp;quot;&lt;/span&gt;
        &lt;span style="color:blue"&gt;If&lt;/span&gt; fileDialog.ShowDialog = DialogResult.OK &lt;span style="color:blue"&gt;Then&lt;/span&gt;
            &lt;span style="color:green"&gt;'add layer to first map&lt;/span&gt;

            &lt;span style="color:blue"&gt;Dim&lt;/span&gt; featureSet1 &lt;span style="color:blue"&gt;As&lt;/span&gt; &lt;span style="color:blue"&gt;New&lt;/span&gt; FeatureSet
            featureSet1.Open(fileDialog.FileName)

            &lt;span style="color:green"&gt;'FillColumnNames method is used to get all the attribute column names &lt;/span&gt;
            &lt;span style="color:green"&gt;'Based on the names combobox will be populated&lt;/span&gt;
            Fillcolumnnames(featureSet1)
            featureSet1.Reproject(myVenster.Projection)
            myVenster.Layers.Add(featureSet1)
            myVenster.ZoomToMaxExtent()
        &lt;span style="color:blue"&gt;End&lt;/span&gt; &lt;span style="color:blue"&gt;If&lt;/span&gt;
    &lt;span style="color:blue"&gt;End&lt;/span&gt; &lt;span style="color:blue"&gt;Sub&lt;/span&gt;

    &lt;span style="color:blue"&gt;Private&lt;/span&gt; &lt;span style="color:blue"&gt;Sub&lt;/span&gt; FillColumnNames(&lt;span style="color:blue"&gt;ByVal&lt;/span&gt; ByValfeatureSet &lt;span style="color:blue"&gt;As&lt;/span&gt; IFeatureSet)
        &lt;span style="color:blue"&gt;For&lt;/span&gt; &lt;span style="color:blue"&gt;Each&lt;/span&gt; column &lt;span style="color:blue"&gt;As&lt;/span&gt; DataColumn &lt;span style="color:blue"&gt;In&lt;/span&gt; FeatureSet.DataTable.Columns
            cmbFiledName.Items.Add(column.ColumnName)
        &lt;span style="color:blue"&gt;Next&lt;/span&gt;
    &lt;span style="color:blue"&gt;End&lt;/span&gt; &lt;span style="color:blue"&gt;Sub&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>Joska</author><pubDate>Sat, 15 Sep 2012 19:25:33 GMT</pubDate><guid isPermaLink="false">New Post: How to retrieve all fieldnames of a shape into a combobox..? 20120915072533P</guid></item><item><title>New Post: Creating a polyline shape without making it a multipart polyline, where does it goes wrong?</title><link>http://mapwindow6.codeplex.com/discussions/395678</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I have a small dotspatial thingy which could is probably related to mapwingis as well...&lt;/p&gt;
&lt;p&gt;My question is, how to generate a shape with ploylines and not one multipart polyline....?&lt;/p&gt;
&lt;p&gt;What the code does is....generate a set of loose polylines into one shape where its coordinates is based on coordinates from a list... BakjesLijst...&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The red/pink part must be 2 coordinates as 1 only generates errors... (ofcourse)... but in this code it generates two lines at the same spot.... &amp;nbsp;Any idea how to generate loose -1line-polylines into 1 shapefile....?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;Private&lt;/span&gt; &lt;span style="color:blue"&gt;Sub&lt;/span&gt; Maak_BakjesShape(&lt;span style="color:blue"&gt;ByVal&lt;/span&gt; sFilename)
        &lt;span style="color:green"&gt;REM ***************************************************************&lt;/span&gt;
        &lt;span style="color:green"&gt;REM * Maak van de as een shapefile en voeg hem toe aan de layers&lt;/span&gt;
        &lt;span style="color:green"&gt;REM ***************************************************************&lt;/span&gt;
        &lt;span style="color:blue"&gt;Try&lt;/span&gt;
            &lt;span style="color:blue"&gt;Dim&lt;/span&gt; &lt;span style="color:blue"&gt;count&lt;/span&gt; &lt;span style="color:blue"&gt;As&lt;/span&gt; &lt;span style="color:blue"&gt;Long&lt;/span&gt;
            &lt;span style="color:blue"&gt;Dim&lt;/span&gt; filename &lt;span style="color:blue"&gt;As&lt;/span&gt; &lt;span style="color:blue"&gt;String&lt;/span&gt; = Form1.txtPadFileNaam.Text &amp;amp; sFilename &amp;amp; &lt;span style="color:#a31515"&gt;&amp;quot;_DMC_bakjes.shp&amp;quot;&lt;/span&gt;
            &lt;span style="color:blue"&gt;Dim&lt;/span&gt; f &lt;span style="color:blue"&gt;As&lt;/span&gt; &lt;span style="color:blue"&gt;New&lt;/span&gt; Feature()
            &lt;span style="color:blue"&gt;Dim&lt;/span&gt; fs &lt;span style="color:blue"&gt;As&lt;/span&gt; &lt;span style="color:blue"&gt;New&lt;/span&gt; FeatureSet(f.FeatureType)
            &lt;span style="color:green"&gt;'Voeg kolommen toe&lt;/span&gt;
            fs.DataTable.Columns.Add(&lt;span style="color:blue"&gt;New&lt;/span&gt; DataColumn(&lt;span style="color:#a31515"&gt;&amp;quot;ID&amp;quot;&lt;/span&gt;, &lt;span style="color:blue"&gt;GetType&lt;/span&gt;(System.Int32)))
            fs.DataTable.Columns.Add(&lt;span style="color:blue"&gt;New&lt;/span&gt; DataColumn(&lt;span style="color:#a31515"&gt;&amp;quot;REDlinks&amp;quot;&lt;/span&gt;, &lt;span style="color:blue"&gt;GetType&lt;/span&gt;(System.Int32)))
            fs.DataTable.Columns.Add(&lt;span style="color:blue"&gt;New&lt;/span&gt; DataColumn(&lt;span style="color:#a31515"&gt;&amp;quot;REDrechts&amp;quot;&lt;/span&gt;, &lt;span style="color:blue"&gt;GetType&lt;/span&gt;(System.Int32)))
            &lt;span style="color:green"&gt;'Set projection&lt;/span&gt;
            fs.Projection = Form1.myVenster.Projection
            &lt;span style="color:green"&gt;'FOr all polylines&lt;/span&gt;
            &lt;span style="color:blue"&gt;For&lt;/span&gt; &lt;span style="color:blue"&gt;count&lt;/span&gt; = 0 &lt;span style="color:blue"&gt;To&lt;/span&gt; BakjesLijst.&lt;span style="color:blue"&gt;Count&lt;/span&gt; - 1
                &lt;span style="color:blue"&gt;Dim&lt;/span&gt; coord &lt;span style="color:blue"&gt;As&lt;/span&gt; Coordinate() = &lt;span style="color:blue"&gt;New&lt;/span&gt; Coordinate(1) {}
                &lt;span style="color:green"&gt;'Per polyline&lt;/span&gt;
&lt;strong&gt;&lt;span style="color:#ff00ff"&gt;                For i As Integer = 0 To 0
                    coord(i) = New Coordinate(BakjesLijst(count).X1bakje, BakjesLijst(count).Y1bakje)
                    coord(i &amp;#43; 1) = New Coordinate(BakjesLijst(count).X2bakje, BakjesLijst(count).Y2bakje)
                Next&lt;/span&gt;&lt;/strong&gt;
                &lt;span style="color:blue"&gt;Dim&lt;/span&gt; ls &lt;span style="color:blue"&gt;As&lt;/span&gt; &lt;span style="color:blue"&gt;New&lt;/span&gt; LineString(coord)
                f = &lt;span style="color:blue"&gt;New&lt;/span&gt; Feature(ls)
                fs.Features.Add(f)
                &lt;span style="color:green"&gt;' now the resulting features knows what columns it has&lt;/span&gt;
                &lt;span style="color:green"&gt;' add values for the columns&lt;/span&gt;
                &lt;span style="color:blue"&gt;Dim&lt;/span&gt; feature &lt;span style="color:blue"&gt;As&lt;/span&gt; IFeature = fs.AddFeature(ls)
                Feature.DataRow.BeginEdit()
                Feature.DataRow(&lt;span style="color:#a31515"&gt;&amp;quot;ID&amp;quot;&lt;/span&gt;) = 1
                feature.DataRow(&lt;span style="color:#a31515"&gt;&amp;quot;REDlinks&amp;quot;&lt;/span&gt;) = 200
                feature.DataRow(&lt;span style="color:#a31515"&gt;&amp;quot;REDrechts&amp;quot;&lt;/span&gt;) = 23000
                Feature.DataRow.EndEdit()
            &lt;span style="color:blue"&gt;Next&lt;/span&gt;
            fs.SaveAs(filename, &lt;span style="color:blue"&gt;True&lt;/span&gt;)
            Form1.myVenster.AddLayer(filename)
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>Joska</author><pubDate>Sat, 15 Sep 2012 19:20:16 GMT</pubDate><guid isPermaLink="false">New Post: Creating a polyline shape without making it a multipart polyline, where does it goes wrong? 20120915072016P</guid></item><item><title>New Post: Is it mapwindow 6 support vs2010?</title><link>http://mapwindow6.codeplex.com/discussions/259495</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;M2 and it works &amp;nbsp;but many samples are sadly outdated.... there is only one solution and thats to help each other small steps further....&lt;/p&gt;&lt;/div&gt;</description><author>joska</author><pubDate>Sat, 15 Sep 2012 19:15:00 GMT</pubDate><guid isPermaLink="false">New Post: Is it mapwindow 6 support vs2010? 20120915071500P</guid></item><item><title>New Post: More than 1 label</title><link>http://mapwindow6.codeplex.com/discussions/392596</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i am new to mapwindow,i wanna know how to display more than 1 label if i have a shapefile&lt;/p&gt;
&lt;p&gt;i am using vb.net,my code is as below.&lt;/p&gt;
&lt;p&gt;Dim shp As New MapWinGIS.Shapefile&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shp.Open(&amp;quot;C:\VillageProfile\DistrictBoundry.shp&amp;quot;)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_MapWin.Layers.Add(shp, &amp;quot;District&amp;quot;)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_MapWin.Layers(g_MapWin.Layers.CurrentLayer).OutlineColor = Drawing.Color.Black&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_MapWin.Layers(g_MapWin.Layers.CurrentLayer).Color = Drawing.Color.Transparent&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim worldSF As New MapWinGIS.Shapefile&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim sf As New MapWinGIS.Shapefile&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For a As Integer = 0 To worldSF.NumShapes&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim layerno As Integer&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerno = g_MapWin.Layers.CurrentLayer&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim text As String&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim x As Double, y As Double&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sf = g_MapWin.Layers(layerno).GetObject()&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = 0&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y = 0&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text = sf.CellValue(0, a)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = ((sf.Shape(a).Extents.xMax &amp;#43; sf.Shape(a).Extents.xMin) / 2)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y = ((sf.Shape(a).Extents.yMax &amp;#43; sf.Shape(a).Extents.yMin) / 2)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g_MapWin.Layers(layerno).AddLabel(text, Drawing.Color.Black, x, y, tkHJustification.hjCenter)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/p&gt;
&lt;p&gt;now i wanna add 26 labels to different layers.Now i have a database and i want to loop it,so that when the program initializes it shows the labels in ma shapefile.my sf.cellvalue(0,a) gets the name from the database and stores it in text,i want to increment
 some variable into the database using loop.&lt;/p&gt;
&lt;p&gt;please help.&lt;/p&gt;
&lt;/div&gt;</description><author>Cutesurd1</author><pubDate>Wed, 22 Aug 2012 11:54:01 GMT</pubDate><guid isPermaLink="false">New Post: More than 1 label 20120822115401A</guid></item><item><title>New Post: I can not find the Legend window</title><link>http://mapwindow6.codeplex.com/discussions/361822</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Mudnug,&lt;/p&gt;
&lt;p&gt;Today (25 July 2012), I just have MapWindow 6.1.2 installed by&amp;nbsp;my Computer Administrator in my PC that is housed in Microsoft NT4 LAN System.&amp;nbsp; The MapWindow 6.1.2 program in my PC runs OK, but I cannot get legend appeared either.&amp;nbsp; I clicked on&amp;nbsp;&amp;nbsp;File-&amp;gt; Reset Window Layout and nothing happened.&amp;nbsp; Please kindly&amp;nbsp;help and tell me/new users&amp;nbsp;what is wrong in the MapWindow 6.1.2 with legend.zip (updated by you on 3 July 2012) and how&amp;nbsp;to resolve this problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Scott Chang&lt;/p&gt;&lt;/div&gt;</description><author>Scott_H_Chang</author><pubDate>Wed, 25 Jul 2012 17:05:07 GMT</pubDate><guid isPermaLink="false">New Post: I can not find the Legend window 20120725050507P</guid></item><item><title>New Post: MapWindow 6.1.2: Download, Installation and Usage in Visual C# 2010 Express?</title><link>http://mapwindow6.codeplex.com/discussions/387954</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;By the way, the ClickOnce installer works for most people using Firefox and IE to install the app without Admin rights.&lt;/p&gt;
&lt;p&gt;Take note of the rest of downloads page as well:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;MapWindow 6 Desktop GIS is an open source desktop GIS for Microsoft Windows that is built upon the DotSpatial Library.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;This release requires&amp;nbsp;&lt;/span&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=17851"&gt;.Net 4 (Client Profile)&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Instead of downloading MapWindow for development purposes, get started with with &lt;a href="http://dotspatial.codeplex.com/releases/"&gt;DotSpatial&lt;/a&gt;&amp;nbsp;if you are a developer.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><author>mudnug</author><pubDate>Tue, 24 Jul 2012 21:57:04 GMT</pubDate><guid isPermaLink="false">New Post: MapWindow 6.1.2: Download, Installation and Usage in Visual C# 2010 Express? 20120724095704P</guid></item><item><title>New Post: MapWindow 6.1.2: Download, Installation and Usage in Visual C# 2010 Express?</title><link>http://mapwindow6.codeplex.com/discussions/387954</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;If you're running NT 4 (from 1996) it probably is time to get a new computer. Otherwise, you should be able to install the .NET 4 Framework at&amp;nbsp;&lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=17851"&gt;http://www.microsoft.com/en-us/download/details.aspx?id=17851&lt;/a&gt;&amp;nbsp;and then use the &lt;a href="http://mapwindow6.codeplex.com/downloads/get/421595"&gt;zip&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Be aware that your browser may add an identifier to downloaded files which results in "blocked" dll files. You can follow the following link to learn how to "Unblock" files. Right click on the zip file before unzipping, choose properties, go to the general tab and click the unblock button.&amp;nbsp;&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ee890038.aspx"&gt;http://msdn.microsoft.com/en-us/library/ee890038.aspx&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><author>mudnug</author><pubDate>Tue, 24 Jul 2012 19:10:17 GMT</pubDate><guid isPermaLink="false">New Post: MapWindow 6.1.2: Download, Installation and Usage in Visual C# 2010 Express? 20120724071017P</guid></item><item><title>New Post: MapWindow 6.1.2: Download, Installation and Usage in Visual C# 2010 Express?</title><link>http://mapwindow6.codeplex.com/discussions/387954</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi Mudnug,&lt;/p&gt;
&lt;p&gt;I used MapWindow 6.0 (Orlando) and DotSpatial 12-15-2010 DLL Library (developed by Ted Dunsford) to learn the MapWindow 6 and DotSpatial programming 1.5 years ago. &amp;nbsp;I&amp;nbsp;tried to&amp;nbsp;resume my&amp;nbsp;MapWindow 6 and DotSpatial programming with some
 difficulties for several weeks: (1) I just realize conclusively that the NuGET Package Manager does not support the&amp;nbsp;Microsoft Visual 2010 Express of .NET 4 Framework in my doing the DotSpatial programming via your way of using the DotSpatial Plugin Template
 (Online Template in VC# 2010 EXpress). I don't have the regular version of Visual C# 2010 software&amp;nbsp;in my office. Thus, I give up&amp;nbsp;this approach completely.&amp;nbsp;&amp;nbsp;(2) Recently, I checked my old MapWindow 6.0 (Orlando) and found out that it does
 not work in creating the Point, Line and Polygon features/shapfiles in my VC# 2010 Express&amp;nbsp;for me.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am thinking to use MapWindow 6.1.2 to do the Open-Source GIS programming in&amp;nbsp;my PC that is housed in the Microsoft NT 4 LAN System in&amp;nbsp;my office - I&amp;nbsp;need an approval from my Computer System Administrator to install the MapWindow 6.1.2.&amp;nbsp;If
 I&amp;nbsp;download and save the MapWindow 6.1.2 to&amp;nbsp;the PC in my office and then I ask&amp;nbsp;our office Computer Team to install it for me, I don't know to get the MapWindow 6.1.2 downloaded and installed in my PC, because you have 2 different ways of doanloading
 in &lt;a href="http://mapwindow6.codeplex.com/doanloads"&gt;http://mapwindow6.codeplex.com/doanloads&lt;/a&gt;: (a) RECOMMENDED DOWNLOAD: ClickOnce Installer and (b) OTHER AVAILABLE DOWNLOADS: MapWindow6.1.2 with legend.zip.&amp;nbsp; Please help me and tell me how I can
 get the MapWindow6.1.2 with legend.zip downloaded and installed into my my PC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Scott Chang&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>Scott_H_Chang</author><pubDate>Tue, 24 Jul 2012 14:28:25 GMT</pubDate><guid isPermaLink="false">New Post: MapWindow 6.1.2: Download, Installation and Usage in Visual C# 2010 Express? 20120724022825P</guid></item><item><title>New Post: MapWindow 6.0 (Orlando):  How can I bring a .jpg file to a Map Layer  and a new Map?</title><link>http://mapwindow6.codeplex.com/discussions/387794</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have brought&amp;nbsp;a 8-Point shapfile to a Map Layer of MapWindow 6.0 (Orlando).&amp;nbsp; I used Google Earth Pro to create a .jpg file that covers the 8-Point area.&amp;nbsp; How can I bring this .jpg file to&amp;nbsp;a new&amp;nbsp;Map Layer (under the 8-Point in the
 left-pane)&amp;nbsp;and the actual Map (in the right-pane)&amp;nbsp;of MapWindow 6.0 (Orlando)?&amp;nbsp;&amp;nbsp; Please kindly help and advise me how to bring this .jpg file to&amp;nbsp;to a new&amp;nbsp;Map Layer&amp;nbsp;and the actual Map of MapWindow 6.0 (Orlando).&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Scott Chang&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;</description><author>Scott_H_Chang</author><pubDate>Mon, 23 Jul 2012 15:23:03 GMT</pubDate><guid isPermaLink="false">New Post: MapWindow 6.0 (Orlando):  How can I bring a .jpg file to a Map Layer  and a new Map? 20120723032303P</guid></item></channel></rss>