<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Removing layer before map closes or preventing map save in ArcPad Questions</title>
    <link>https://community.esri.com/t5/arcpad-questions/removing-layer-before-map-closes-or-preventing-map/m-p/555797#M4010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Application.Properties("SavePrompt") = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;should take care of that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rolf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 07:17:37 GMT</pubDate>
    <dc:creator>RolfBroch</dc:creator>
    <dc:date>2011-05-31T07:17:37Z</dc:date>
    <item>
      <title>Removing layer before map closes or preventing map save</title>
      <link>https://community.esri.com/t5/arcpad-questions/removing-layer-before-map-closes-or-preventing-map/m-p/555796#M4009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have code that adds images to a map as needed because I can't have them all in the map at the same time without memory issues.&amp;nbsp; The user will only need one per session anyway based on the site they are visiting.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is figuring out an event to use to remove the added image before closing the map, or just prevent the map from being saved.&amp;nbsp; I have not had any luck finding a way to do either.&amp;nbsp; I tried the OnClose event of the map, but the save dialog comes up before that.&amp;nbsp; I have not tried the OnSave event, but I'm guessing that will be too late also.&amp;nbsp; Ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 19:57:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/removing-layer-before-map-closes-or-preventing-map/m-p/555796#M4009</guid>
      <dc:creator>JaneOnorati</dc:creator>
      <dc:date>2011-05-27T19:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Removing layer before map closes or preventing map save</title>
      <link>https://community.esri.com/t5/arcpad-questions/removing-layer-before-map-closes-or-preventing-map/m-p/555797#M4010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Application.Properties("SavePrompt") = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;should take care of that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rolf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 07:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/removing-layer-before-map-closes-or-preventing-map/m-p/555797#M4010</guid>
      <dc:creator>RolfBroch</dc:creator>
      <dc:date>2011-05-31T07:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Removing layer before map closes or preventing map save</title>
      <link>https://community.esri.com/t5/arcpad-questions/removing-layer-before-map-closes-or-preventing-map/m-p/555798#M4011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rolf,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did find that and am using it.&amp;nbsp; However, I may have run into a bug in ArcPad 10.0 R2.&amp;nbsp; I saved the map by clicking on the save button before exiting, and now every time I exit ArcPad I get an error message.&amp;nbsp; Other than that, it works fine.&amp;nbsp; The only thing I can think of to fix this is to reinstall ArcPad, try it again and see if the problem reoccurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Jane&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 15:44:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/removing-layer-before-map-closes-or-preventing-map/m-p/555798#M4011</guid>
      <dc:creator>JaneOnorati</dc:creator>
      <dc:date>2011-06-08T15:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Removing layer before map closes or preventing map save</title>
      <link>https://community.esri.com/t5/arcpad-questions/removing-layer-before-map-closes-or-preventing-map/m-p/555799#M4012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well I'm not getting the error message today.&amp;nbsp; A restart of my PC must have fixed it.&amp;nbsp; Hopefully the problem does not happen again if a user decides to save the map in ArcPad.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 17:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcpad-questions/removing-layer-before-map-closes-or-preventing-map/m-p/555799#M4012</guid>
      <dc:creator>JaneOnorati</dc:creator>
      <dc:date>2011-06-08T17:39:15Z</dc:date>
    </item>
  </channel>
</rss>

