<?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: ArcObjects: Determine if an mxd file is loaded or currently open in ArcMap in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-determine-if-an-mxd-file-is-loaded-or/m-p/234292#M6085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jamari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way you can know if document is completely loaded is to listen IActiveViewEvents after opening a mxd document. For example, a map load event will be followed by a &lt;A name="IActiveViewEvents.FocusMapChanged"&gt;&lt;/A&gt;IActiveViewEvents.FocusMapChanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/FocusMapChanged_Event/00120000019z000000/" title="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/FocusMapChanged_Event/00120000019z000000/"&gt;ArcObjects 10 .NET SDK Help&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 20:35:55 GMT</pubDate>
    <dc:creator>ShriramBhutada1</dc:creator>
    <dc:date>2014-10-07T20:35:55Z</dc:date>
    <item>
      <title>ArcObjects: Determine if an mxd file is loaded or currently open in ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-determine-if-an-mxd-file-is-loaded-or/m-p/234289#M6082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working with C# and ArcObjects. I am having trouble determining if an .mxd file is loaded or currently open. I have been looking at the IMapDocument and IMxDocument objects, as well as the IMapDocument.IsMapDocument property but I am not following. I am not able to mimic its functionality. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I am trying to accomplish is a function that returns a boolean value or even a message saying 'Yes' if there is a map document loaded/opened and 'No' if a map document is not loaded/opened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this topic would be greatly appreciated. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 19:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-determine-if-an-mxd-file-is-loaded-or/m-p/234289#M6082</guid>
      <dc:creator>JamariPowers</dc:creator>
      <dc:date>2014-10-02T19:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: ArcObjects: Determine if an mxd file is loaded or currently open in ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-determine-if-an-mxd-file-is-loaded-or/m-p/234290#M6083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to check if the IApplication.Document property is null. If it is not null, a file is open. I haven't checked if this works, but this would be my approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 08:13:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-determine-if-an-mxd-file-is-loaded-or/m-p/234290#M6083</guid>
      <dc:creator>StefanOffermann</dc:creator>
      <dc:date>2014-10-07T08:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcObjects: Determine if an mxd file is loaded or currently open in ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-determine-if-an-mxd-file-is-loaded-or/m-p/234291#M6084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see. Thanks for your input. I'll take a look and experiment with this and see what I can come up with. Should be able to create and test a simple boolean function to see if it suits my needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 16:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-determine-if-an-mxd-file-is-loaded-or/m-p/234291#M6084</guid>
      <dc:creator>JamariPowers</dc:creator>
      <dc:date>2014-10-07T16:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: ArcObjects: Determine if an mxd file is loaded or currently open in ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-determine-if-an-mxd-file-is-loaded-or/m-p/234292#M6085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jamari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way you can know if document is completely loaded is to listen IActiveViewEvents after opening a mxd document. For example, a map load event will be followed by a &lt;A name="IActiveViewEvents.FocusMapChanged"&gt;&lt;/A&gt;IActiveViewEvents.FocusMapChanged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/FocusMapChanged_Event/00120000019z000000/" title="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/FocusMapChanged_Event/00120000019z000000/"&gt;ArcObjects 10 .NET SDK Help&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shriram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 20:35:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arcobjects-determine-if-an-mxd-file-is-loaded-or/m-p/234292#M6085</guid>
      <dc:creator>ShriramBhutada1</dc:creator>
      <dc:date>2014-10-07T20:35:55Z</dc:date>
    </item>
  </channel>
</rss>

