<?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: IActiveViewEvents are not working while new document / Open Document in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveviewevents-are-not-working-while-new/m-p/399422#M10648</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally I am able to fix this issue by changing the .NET framework from 4.0 to 3.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So we can use .NET framework 4.0 for the functionality which do not depend on ArcMap events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Venkat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Jan 2014 13:08:01 GMT</pubDate>
    <dc:creator>VenkatKondepati</dc:creator>
    <dc:date>2014-01-11T13:08:01Z</dc:date>
    <item>
      <title>IActiveViewEvents are not working while new document / Open Document</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveviewevents-are-not-working-while-new/m-p/399421#M10647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have created an extension and wiring IDocumentEvents_Event, IActiveViewEvents on start-up event. We used code snippet IActiveViewEvents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our objective is to track the layers added or removed and populate into DropdownList in Toolbar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is working fine until we click on New / Open Documents commands.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We tried to call the SetupActiveViewEvents methods on New / Open documents with Focus Map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it is not working all the times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the code for your reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS 10.1 with SP1, VS.NET 2010 C#, .NET Framework 4.0, ArcSDE 10.1 Layer files and Windows 7 64-bit O/S, Oracle 11g&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks lot for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Venkat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 16:09:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveviewevents-are-not-working-while-new/m-p/399421#M10647</guid>
      <dc:creator>VenkatKondepati</dc:creator>
      <dc:date>2013-12-12T16:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveViewEvents are not working while new document / Open Document</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveviewevents-are-not-working-while-new/m-p/399422#M10648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally I am able to fix this issue by changing the .NET framework from 4.0 to 3.5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So we can use .NET framework 4.0 for the functionality which do not depend on ArcMap events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Venkat&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jan 2014 13:08:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveviewevents-are-not-working-while-new/m-p/399422#M10648</guid>
      <dc:creator>VenkatKondepati</dc:creator>
      <dc:date>2014-01-11T13:08:01Z</dc:date>
    </item>
  </channel>
</rss>

