Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: Dotspatial.Plugins.MapwindowProjectFileCompatibility

$
0
0
I think it will be very difficult, beacause when I wrote the code below :

OpenProjectMwprj mwprjOpener = new OpenProjectMwprj();
mwprjOpener.App = appManager1;
            try
            {
               mwprjOpener.Open(ProjectName);
            }
            catch (IOException exIO)
            {
                MessageBox.Show(this, "Could not open the specified map file " + ProjectName + Environment.NewLine + Environment.NewLine + exIO.Message, "Error",
                                MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
I always got this error : RuntimeBinderException: Cannot apply indexing with [] to an expression of type 'DotSpatial.Plugins.MapWindowProjectFileCompatibility.DynamicXMLNode'

Which I didn't find the solution .

Anyway Thanks for your explanation vatavian.

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>